Guillaume Massé created SPARK-45976:
---------------------------------------
Summary: EPOCH extract field is not supported
Key: SPARK-45976
URL: https://issues.apache.org/jira/browse/SPARK-45976
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 3.5.0
Reporter: Guillaume Massé
{code:java}
spark.sql("""SELECT EXTRACT(EPOCH FROM "2017-06-15")""").show()
org.apache.spark.sql.AnalysisException: [INVALID_EXTRACT_FIELD] Cannot extract
`EPOCH` from "2017-06-15".; line 1 pos 7 {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]