kangkaisen opened a new pull request #255: Simplify constant Expr
URL: https://github.com/apache/incubator-doris/pull/255
 
 
   Simplify constant Expr could improve Partition Pruning.   The examples for 
constant Expr Simplifing:
   ```
   1 + 1 + 1 --> 3
   date_add('2018-08-08', 1) --> 2018-08-09
   year('2018-07-24')*12 + month('2018-07-24') -> 24223
   ```
   
   This implementation VS Impala implementation:
   
   The prons:
   
   **No RPC, the performance is better.**
   
   The cons:
   
   **Need to implement these functions in FE again, which need a lot of work, 
but we could implement these functions one by one and according to the users 
need like String functions.**
   
   
   
   

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org
For additional commands, e-mail: dev-h...@doris.apache.org

Reply via email to