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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to