[ https://issues.apache.org/jira/browse/CALCITE-5809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17738324#comment-17738324 ]
Guillaume Massé commented on CALCITE-5809: ------------------------------------------ It looks like there is more: split [https://github.com/apache/calcite/blob/50f0e185896a4afb7c77bb6fb4efe41c1531dcfe/core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java#L314-L325] [https://spark.apache.org/docs/2.3.0/api/sql/#split] I will compile a list of functions we simply need to enable. > 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é > Priority: Minor > > 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)