Xiao Li created SPARK-27765: ------------------------------- Summary: 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
[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