Aleksey Plekhanov created IGNITE-23684:
------------------------------------------

             Summary: Calcite engine. Lack of date/number formatting funtions
                 Key: IGNITE-23684
                 URL: https://issues.apache.org/jira/browse/IGNITE-23684
             Project: Ignite
          Issue Type: Improvement
            Reporter: Aleksey Plekhanov
            Assignee: Aleksey Plekhanov


In the Calcite SQL engine we don't have any date/time/number formating 
function, and date/time/number parsing functions with custom format.
H2 engine has TO_DATE, TO_CHAR, TO_NUMBER (Oracle compatible) and own 
FORMATDATETIME, PARSEDATETIME.
Apache Calcite has TO_DATE and TO_CHAR functions in internal library, but not 
exposed to our SQL engine now. Also it supports CAST(... AS DATE FORMAT ...), 
but we also don't support this syntax. 
Both TO_DATE and CAST-FORMAT are not part of SQL standard, but, perhaps it's 
better to implement TO_DATE (also TO_CHAR, TO_NUMBER) for compatibility with H2 
engine.    



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to