[ https://issues.apache.org/jira/browse/SPARK-20403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Li resolved SPARK-20403. ----------------------------- Resolution: Fixed Assignee: liuxian Fix Version/s: 2.2.0 > 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 > Assignee: liuxian > Priority: Minor > Fix For: 2.2.0 > > > 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