You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "gianm (via GitHub)" <gi...@apache.org> on 2026/09/30 07:25:32 UTC
[PR] fix: DECIMAL type coercion losing fractions. (druid)
gianm opened a new pull request, #20456:
URL: https://github.com/apache/druid/pull/20456
DECIMAL type coercion could lose fractions due to the least restrictive type of DECIMAL(19, 0) and DECIMAL(2, 1) being computed as DECIMAL(19, 0). This could arise with JSON_VALUE because JSON_VALUE with RETURNING DECIMAL uses the default precision of DECIMAL(19, 0).
The behavior seems new since #19370, so may be connected to an underlying Calcite change. At any rate, this type system change on our end avoids the problem.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
Re: [PR] fix: DECIMAL type coercion losing fractions. (druid)
Posted by "gianm (via GitHub)" <gi...@apache.org>.
gianm merged PR #20456:
URL: https://github.com/apache/druid/pull/20456
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org