[
https://issues.apache.org/jira/browse/CALCITE-3282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Danny Chan resolved CALCITE-3282.
---------------------------------
Fix Version/s: 1.22.0
Assignee: Danny Chan
Resolution: Fixed
Fixed in
[148bfd3|https://github.com/apache/calcite/commit/148bfd329413c0272395cc0b7c322b3c5a34b667],
thanks for your PR, [~ffmax] !
> HiveSqlDialect unparse Interger type as Int in order to be compatible with
> Hive1.x
> ----------------------------------------------------------------------------------
>
> Key: CALCITE-3282
> URL: https://issues.apache.org/jira/browse/CALCITE-3282
> Project: Calcite
> Issue Type: Bug
> Components: core
> Reporter: feng huang
> Assignee: Danny Chan
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.22.0
>
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> Every database might have different type or same type but different type
> name, therefore making every SqlDialect unparse their own data type is a
> suitable way.
> For example, there is a sql “select cast(col as int) from table” change to
> hive sql "select cast(col as integer) from table", but "integer" is not
> allowed in hive.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)