[ https://issues.apache.org/jira/browse/SPARK-27765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16843286#comment-16843286 ]
Xiao Li commented on SPARK-27765: --------------------------------- {{::}} is historical PostgreSQL usage. Thus, we do not need to support it. > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org