You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Yu Xu (Jira)" <ji...@apache.org> on 2025/04/22 03:09:00 UTC
[jira] [Updated] (CALCITE-6974) Default typesystem has incorrect limits for DECIMAL for Presto/MySQL/Phoenix
[ https://issues.apache.org/jira/browse/CALCITE-6974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yu Xu updated CALCITE-6974:
---------------------------
Summary: Default typesystem has incorrect limits for DECIMAL for Presto/MySQL/Phoenix (was: Default typesystem has incorrect limits for DECIMAL for Presto/MySql/Phoenix)
> Default typesystem has incorrect limits for DECIMAL for Presto/MySQL/Phoenix
> ----------------------------------------------------------------------------
>
> Key: CALCITE-6974
> URL: https://issues.apache.org/jira/browse/CALCITE-6974
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.39.0
> Reporter: Yu Xu
> Assignee: Yu Xu
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.40.0
>
>
> Decimal precision not correctly in Presto/Mysql/Phoenix
> we can refer to:
> Mysql: [https://dev.mysql.com/doc/refman/8.4/en/fixed-point-types.html]
> The maximum number of digits for {{DECIMAL}} is 65
>
> Presto: [https://prestodb.io/docs/current/language/types.html#fixed-precision]
> Precision up to 38 digits
>
> Phoenix: [https://phoenix.apache.org/language/datatypes.html#decimal_type]
> The maximum precision is 38 digits
>
> we need to fix it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)