Xurenhe created CALCITE-4001:
--------------------------------

             Summary: Should support dialect when unparsing SqlDataTypeSpec
                 Key: CALCITE-4001
                 URL: https://issues.apache.org/jira/browse/CALCITE-4001
             Project: Calcite
          Issue Type: Improvement
          Components: core
            Reporter: Xurenhe


SqlBasicTypeNameSpec cannot cover all data types of other sql's engine, when 
doing SqlNode To SqlString,
such as cast(id as bigint), but in some sql engine only support cast(id as 
long).
I think there should be based on dialect, just like 
org.apache.calcite.sql.SqlDialect#unparseOffsetFetch.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to