spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yin Huai (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-12454) Add ExpressionDescription to expressions are registered in FunctionRegistry
Date Mon, 21 Dec 2015 18:38:48 GMT

     [ 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


Mime
View raw message