[ 
https://issues.apache.org/jira/browse/CALCITE-6815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17925485#comment-17925485
 ] 

Yu Xu commented on CALCITE-6815:
--------------------------------

Hi,[~julianhyde] this is a function for spark and hive.

Hive: 
[https://hive.apache.org/docs/latest/hive-udfs_282102277/#mathematical-functions]
  (can query bin)

Spark:[https://spark.apache.org/docs/latest/api/sql/index.html#bin]

usage: select bin(long) return binary array string.

> Support bin function for Spark and Hive Library
> -----------------------------------------------
>
>                 Key: CALCITE-6815
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6815
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Yu Xu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.39.0
>
>
> 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.htm]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to