zhtaoxiang opened a new pull request, #11518:
URL: https://github.com/apache/pinot/pull/11518

   Disable calcite float to double cast so that `select count(*) from table 
where aFloatColumn = 0.05` works correctly in multi-stage query engine.
   
   Without this PR, `select count(*) from table where aFloatColumn = 0.05` will 
be coverted to `select count(*) from table where CAST(aFloatColumn as "DOUBLE") 
= 0.05`. While cast from float to double does not always produce the same 
double value as the original float value, this leads to wrong query result.
   
   With this PR, the behavior in multi-stage query engine will be the same as 
the query in v1 query engine.


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