[ 
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: Decimal precision not correctly in 
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)

Reply via email to