Yu Xu created CALCITE-6974:
------------------------------
Summary: Decimal precision not correctly in 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
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)