[
https://issues.apache.org/jira/browse/CALCITE-4240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17192739#comment-17192739
]
Jiatao Tao commented on CALCITE-4240:
-------------------------------------
Method getMaxPrecisionScaleDecimal occurs in type coercion, and it will create
a decimal with the same precision and scale, the default is *Decimal(19, 19).*
but this actually means that the integer place can only be 0 and the decimal
places can be 19. Seems not the design.
> SqlTypeUtil#getMaxPrecisionScaleDecimal will create decimal that has the same
> precision and scale
> -------------------------------------------------------------------------------------------------
>
> Key: CALCITE-4240
> URL: https://issues.apache.org/jira/browse/CALCITE-4240
> Project: Calcite
> Issue Type: Bug
> Reporter: Jiatao Tao
> Assignee: Jiatao Tao
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)