spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-21117) Built-in SQL Function Support - WIDTH_BUCKET
Date Fri, 16 Jun 2017 06:32:00 GMT

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

Apache Spark commented on SPARK-21117:
--------------------------------------

User 'wangyum' has created a pull request for this issue:
https://github.com/apache/spark/pull/18323

> Built-in SQL Function Support - WIDTH_BUCKET
> --------------------------------------------
>
>                 Key: SPARK-21117
>                 URL: https://issues.apache.org/jira/browse/SPARK-21117
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Yuming Wang
>
> For a given expression, the {{WIDTH_BUCKET}} function returns the bucket number into
which the value of this expression would fall after being evaluated.
> {code:sql}
> WIDTH_BUCKET (expr , min_value , max_value , num_buckets)
> {code}
> Ref: https://docs.oracle.com/cd/B28359_01/olap.111/b28126/dml_functions_2137.htm#OLADM717



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message