amrishlal commented on issue #6814:
URL: 
https://github.com/apache/incubator-pinot/issues/6814#issuecomment-822989275


   From what I saw server is converting a string literal that appears in the 
predicate at least twice to an integer value and this is after Broker/Calcite 
has already parsed the string as number and possibly operated on (plus/minus 
scalar functions). So while it works, there is a bit of cost associated with 
it. There are also potential correctness issues. For example long to double 
conversion (which is happening in ScalarFunction.java on the Broker side due to 
ScalarFunctions.java) is a lossy conversion. None of these issues by themselves 
are major, but combined together they seem to indicate that some cleanup with 
type handling would be useful.


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

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