kishoreg opened a new pull request #4346: Adding support for udfs in Selection
URL: https://github.com/apache/incubator-pinot/pull/4346
 
 
   We currently support expressions and udf's in aggregation and group by but 
not in selection and filters. This PR adds support for expressions in selection.
   
   Now we can run queries as follows
   
   ```
   SELECT DaysSinceEpoch, timeConvert(DaysSinceEpoch,'DAYS','SECONDS') FROM 
mytable
   
   SELECT DaysSinceEpoch, timeConvert(DaysSinceEpoch,'DAYS','SECONDS') FROM 
mytable order by DaysSinceEpoch limit 10000
   
   SELECT DaysSinceEpoch, timeConvert(DaysSinceEpoch,'DAYS','SECONDS') FROM 
mytable order by timeConvert(DaysSinceEpoch,'DAYS','SECONDS') DESC limit 10000
   ```
   I haven't deleted the old SelectionOnlyOperator and SelectionOrderByOperator 
yet. 
   
   
   

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


With regards,
Apache Git Services

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

Reply via email to