Karman580 commented on PR #19209:
URL: https://github.com/apache/iotdb/pull/19209#issuecomment-6817119489

   @CritasWang Agreed, the bound now follows the type the `int` key maps to: 
FLOAT uses `±2^24`, INT32 the Integer range, and every other mapping the whole 
long range, so `-20000000` with `-ti int=long` stays INT64. The decimal FLOAT 
range check had the same issue (`1.0e39` with `-ti float=text` became DOUBLE) 
and now only applies when the `float` key maps to FLOAT. Both cases are covered 
in `testTypeInferWithInt32MappingTreatsBothSignsAlike` and the new 
`testTypeInferRespectsNonFloatMappings` (4a893e82d4).


-- 
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]

Reply via email to