You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Praveen Kumar Desabandu (JIRA)" <ji...@apache.org> on 2019/06/19 12:25:00 UTC
[jira] [Created] (CALCITE-3135) Calcite decimal literal validation
Praveen Kumar Desabandu created CALCITE-3135:
------------------------------------------------
Summary: Calcite decimal literal validation
Key: CALCITE-3135
URL: https://issues.apache.org/jira/browse/CALCITE-3135
Project: Calcite
Issue Type: Bug
Components: core
Reporter: Praveen Kumar Desabandu
Hi Team,
Thanks for the great product. I had a question while using the framework.
I am not sure why we restrict decimal literals to 64 bit precision here - [https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorImpl.java#L2952]
BigDecimal is unbounded precision, so can someone please explain why we restrict literals to fit in long values?
Thx.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)