commit | 181f24e59caf70645dbf1fa96a7af494c9d9a361 | [log] [tgz] |
---|---|---|
author | Avery Pennarun <apenwarr@gmail.com> | Fri Dec 14 05:40:24 2012 -0500 |
committer | Avery Pennarun <apenwarr@gmail.com> | Fri Dec 14 05:40:24 2012 -0500 |
tree | a8fe4b6f34786492ea537decee28d865ef1b7e1f | |
parent | ce5964f7cde3ef560f042bfa46c08d85e1456899 [diff] |
Forgot some return types for some aggregate functions.
diff --git a/render.js b/render.js index 5db9dcb..efb0e87 100644 --- a/render.js +++ b/render.js
@@ -348,7 +348,11 @@ } }; agg_funcs.count.return_type = T_NUM; + agg_funcs.count_nz.return_type = T_NUM; + agg_funcs.count_distinct.return_type = T_NUM; agg_funcs.sum.return_type = T_NUM; + agg_funcs.cat.return_type = T_STRING; + agg_funcs.color.return_type = T_NUM; function groupBy(ingrid, keys, values) {