Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Currently calcite not support bin functions for Hive and Spark Library, need to support it.
related Hive links: https://hive.apache.org/docs/latest/hive-udfs_282102277/#mathematical-functions
Spark:https://spark.apache.org/docs/latest/api/sql/index.html#bin
usage: select bin(long type)
return binary array string.
example:
hive> select bin(12);
OK
1100
Time taken: 2.857 seconds, Fetched: 1 row(s)
arg type is long type and return a string type.
Attachments
Issue Links
- links to