You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Xurenhe (Jira)" <ji...@apache.org> on 2020/05/14 06:15:00 UTC
[jira] [Created] (CALCITE-4001) Should support dialect when
unparsing SqlDataTypeSpec
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)