[ https://issues.apache.org/jira/browse/CALCITE-4001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17107571#comment-17107571 ]
Julian Hyde commented on CALCITE-4001: -------------------------------------- Are you aware of the work done in CALCITE-3534, adding {{SqlAlienSystemTypeNameSpec}}? > 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 > Priority: Minor > > SqlBasicTypeNameSpec cannot cover all data types of other sql's engine, when > doing SqlNode To SqlString, > such as cast(id as bigint), but 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)