You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2019/11/07 10:00:49 UTC

[GitHub] [incubator-doris] HangyuanLiu opened a new pull request #2154: Add date_add/sub in fe to support partition prune

HangyuanLiu opened a new pull request #2154: Add date_add/sub in fe to support partition prune
URL: https://github.com/apache/incubator-doris/pull/2154
 
 
   #2153
   Currently in the date_add/date_sub functions (_DATE_ADD(DATETIME date,INTERVAL expr type_)),  the expr parameter is the interval you want to add. 
   Doris will convert these functions to xxx_sub/xxx_add. However, there is only the days_add function in fe, which causes other date_add formats, such as select date_add('2010-11-30 23:59:59', INTERVAL 2 DAY), cannot be pruned.
   
   So I've added other functions to support fe partition prune

----------------------------------------------------------------
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@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org