You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2019/05/19 02:04:00 UTC

[jira] [Closed] (SPARK-27765) Type Casts: expression::type

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

Xiao Li closed SPARK-27765.
---------------------------

> Type Casts: expression::type 
> -----------------------------
>
>                 Key: SPARK-27765
>                 URL: https://issues.apache.org/jira/browse/SPARK-27765
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.0.0
>            Reporter: Xiao Li
>            Priority: Major
>
> [https://www.postgresql.org/docs/9.0/sql-expressions.html#SQL-SYNTAX-TYPE-CASTS]
>  * A type cast specifies a conversion from one data type to another. PostgreSQL accepts two equivalent syntaxes for type casts:
>  ** CAST ( expression AS type )
>  ** expression::type
>  * The {{CAST}} syntax conforms to SQL; the syntax with {{::}} is historical PostgreSQL usage.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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