61yao commented on PR #10650:
URL: https://github.com/apache/pinot/pull/10650#issuecomment-1548599927

   > 1. Before [1], the behavior was: a thrift (long, 1) -> a literal (long, 1) 
-> a literal transform function (int, 1)
   > 2. After [1], the behavior is: a thrift (long, 1) -> a literal (long, 1) 
-> a literal transform function (long, 1)
   > 3. In this PR, the behavior is: a thrift (long, 1) -> a literal (int, 1) 
-> a literal transform function (int, 1)
   > 
   > * To me behavior 2 is correct and behavior 1 is incorrect.
   > * If we want to keep behavior 1 for backward compatibility, then the 
behavior 3 is different from behavior 1, will this cause any issues?
   > 
   > [1] #10380
   
   So before [1], 
   A. literal (long, 1), literal(int, 1) => thrift(string, 1) => number => 
literal(int, 1)
   B. literal (long, INT_MAX+1), => thrift(string, INT_MAX+1) => number => 
literal(long, 1)
   Same for floating point.
   After [1]
   Behavior A changes, literal(long, 1), literal(int, 1)=> 
thrift(long,1)=>literal(int,1)
   Behavior B stays the same. 
   
   
   
   


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