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

Apache Spark commented on SPARK-20403:
--------------------------------------

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

> It is wrong to the instructions of some functions,such as  
> boolean,tinyint,smallint,int,bigint,float,double,decimal,date,timestamp,binary,string
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-20403
>                 URL: https://issues.apache.org/jira/browse/SPARK-20403
>             Project: Spark
>          Issue Type: Bug
>          Components: Documentation, SQL
>    Affects Versions: 2.1.0
>            Reporter: liuxian
>            Priority: Trivial
>
> spark-sql>desc function boolean;
> Function: boolean
> Class: org.apache.spark.sql.catalyst.expressions.Cast
> Usage: boolean(expr AS type) - Casts the value `expr` to the target data type 
> `type`.
> spark-sql>desc function int;
> Function: int
> Class: org.apache.spark.sql.catalyst.expressions.Cast
> Usage: int(expr AS type) - Casts the value `expr` to the target data type 
> `type`.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to