agrawaldevesh commented on issue #3539: PQL Support for generalized expressions 
in selection and aggregation
URL: 
https://github.com/apache/incubator-pinot/issues/3539#issuecomment-440861025
 
 
   Doing expressions on the client side (in the select statement) can be done 
on the client but it is essentially an involved operation: 
   
   Consider a contrived query like this: Select mul(foo, 2), div(foo, bar) from 
Table where mul(baz, 4) = 10. 
   
   If this query is generated in an adhoc manner, the client would have to have 
support for parsing this query and figuring out that the foo, bar need to 
multiplied like so and that baz has to be ignored. That's a lot to ask from a 
client and it is something that would be easier to implement in the database 
itself. 
   
   Can you help me understand how much work would it be to implement such 
features ? I am happy implementing if they won't require a lot of architectural 
changes :-)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to