added CDB_Math_mode

This commit is contained in:
javi
2014-08-19 18:09:27 +02:00
parent 41a2c7363e
commit 723a08e814
5 changed files with 38 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
SELECT cdb_math_mode(a) from unnest(ARRAY[1,2,2,3]) a;
SELECT cdb_math_mode(a) from unnest(ARRAY[1,2,3]) a;
SELECT cdb_math_mode(a) from unnest(ARRAY[1]) a;
+3
View File
@@ -0,0 +1,3 @@
2
1
1