You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Alessandro Solimando (Jira)" <ji...@apache.org> on 2025/05/16 13:41:00 UTC
[jira] [Updated] (CALCITE-6926) ClickHouse Float type should not be converted to Double type
[ https://issues.apache.org/jira/browse/CALCITE-6926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alessandro Solimando updated CALCITE-6926:
------------------------------------------
Fix Version/s: (was: 1.40.0)
> ClickHouse Float type should not be converted to Double type
> ------------------------------------------------------------
>
> Key: CALCITE-6926
> URL: https://issues.apache.org/jira/browse/CALCITE-6926
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.39.0
> Reporter: Yu Xu
> Assignee: Yu Xu
> Priority: Major
> Labels: pull-request-available
>
> In ClickHouse float should to be Float32, double to be Float64, this can refer to document:
> [https://clickhouse.com/docs/sql-reference/data-types/float]
>
> The equivalent types in ClickHouse and in C are given below:
> * {{Float32}} — {{{}float{}}}.
> * {{Float64}} — {{{}double{}}}.
>
> Float types in ClickHouse have the following aliases:
> * {{Float32}} — {{{}FLOAT{}}}, {{{}REAL{}}}, {{{}SINGLE{}}}.
> * {{Float64}} — {{{}DOUBLE{}}}, {{{}DOUBLE PRECISION{}}}.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)