[
https://issues.apache.org/jira/browse/CALCITE-5809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Massé updated CALCITE-5809:
-------------------------------------
Description:
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/3.4.1/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/3.4.1/api/sql/#to_timestamp
[https://github.com/apache/calcite/blob/50f0e185896a4afb7c77bb6fb4efe41c1531dcfe/core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java#L1271-L1276]
was:
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
> enable already available functions in Apache Spark Library
> ----------------------------------------------------------
>
> Key: CALCITE-5809
> URL: https://issues.apache.org/jira/browse/CALCITE-5809
> Project: Calcite
> Issue Type: Improvement
> Reporter: Guillaume Massé
> Priority: Minor
> Labels: pull-request-available
>
> 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/3.4.1/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/3.4.1/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)
