[
https://issues.apache.org/jira/browse/CALCITE-6149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated CALCITE-6149:
------------------------------------
Labels: dialect pull-request-available (was: dialect)
> ClickHouseSqlDialect should support cast to Nullable
> ----------------------------------------------------
>
> Key: CALCITE-6149
> URL: https://issues.apache.org/jira/browse/CALCITE-6149
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.36.0
> Reporter: ChenLuyang
> Priority: Minor
> Labels: dialect, pull-request-available
>
> In ClickHouse, there is an issue with RelDataType of Nullable type when
> casting to a non-Nullable type. For example, {{SELECT CAST(NULL, 'Int32')}}
> will throw an error. In such cases, we should use {{SELECT CAST(NULL,
> 'Nullable(Int32)')}} instead.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)