You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2019/06/20 05:59:05 UTC

[GitHub] [incubator-pinot] kishoreg opened a new pull request #4346: Adding support for udfs in Selection

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org