You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2015/12/21 19:38:48 UTC

[jira] [Updated] (SPARK-12454) Add ExpressionDescription to expressions are registered in FunctionRegistry

     [ https://issues.apache.org/jira/browse/SPARK-12454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yin Huai updated SPARK-12454:
-----------------------------
    Description: 
ExpressionDescription is a annotation that contains doc of a function and when users use {{describe function}}, users can see the doc defined in this annotation. You can take a look at {{Upper}} as an example. 

However, we still have lots of expression that do not have ExpressionDescription. It will be great to take a look at expressions registered in FunctionRegistry and add ExpressionDescription to those expression that do not have it..

A list of expressions (and their categories) registered in function registry can be found at https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala#L117-L296.

  was:
ExpressionDescription is a annotation that contains doc of a function and when users use {{describe function}}, users can see the doc defined in this annotation. You can take a look at {{Upper}} as an example. 

However, we still have lots of expression that do not have ExpressionDescription. It will be great to take a look at expressions registered in FunctionRegistry and add ExpressionDescription to those expression that do not have it.. 


> Add ExpressionDescription to expressions are registered in FunctionRegistry
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-12454
>                 URL: https://issues.apache.org/jira/browse/SPARK-12454
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Yin Huai
>
> ExpressionDescription is a annotation that contains doc of a function and when users use {{describe function}}, users can see the doc defined in this annotation. You can take a look at {{Upper}} as an example. 
> However, we still have lots of expression that do not have ExpressionDescription. It will be great to take a look at expressions registered in FunctionRegistry and add ExpressionDescription to those expression that do not have it..
> A list of expressions (and their categories) registered in function registry can be found at https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/FunctionRegistry.scala#L117-L296.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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