You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Guillaume Massé (Jira)" <ji...@apache.org> on 2023/06/28 22:59:00 UTC
[jira] [Created] (CALCITE-5809) enable to_date and to_timestamp in Apache Spark Library
Guillaume Massé created CALCITE-5809:
----------------------------------------
Summary: enable to_date and to_timestamp in Apache Spark Library
Key: CALCITE-5809
URL: https://issues.apache.org/jira/browse/CALCITE-5809
Project: Calcite
Issue Type: Improvement
Reporter: Guillaume Massé
Those functions are available in Calcite but via different library, we simply need to add them to the libraries list.
[https://spark.apache.org/docs/2.3.0/api/sql/#to_date]
[https://github.com/apache/calcite/blob/50f0e185896a4afb7c77bb6fb4efe41c1531dcfe/core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java#L1262-L1267]
https://spark.apache.org/docs/2.3.0/api/sql/#to_timestamp
https://github.com/apache/calcite/blob/50f0e185896a4afb7c77bb6fb4efe41c1531dcfe/core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java#L1271-L1276
--
This message was sent by Atlassian Jira
(v8.20.10#820010)