zhiyuan192shine opened a new issue, #545:
URL: https://github.com/apache/doris-flink-connector/issues/545

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Description
   
   When the Doris table contains a large volume of data, loading substantial 
amounts of data can be exceptionally slow and require a significant amount of 
memory. It is desirable to support the pushdown of time functions.
   For example, DATE_FORMAT(vtime, 'yyyy-MM-dd') >= 
DATE_FORMAT(TIMESTAMPADD(DAY, -7, NOW()), 'yyyy-MM-dd')
   
   ### Use case
   
   CREATE VIEW v_user_behavior AS
   SELECT `item_id`,
          `user_id`,
          `action`,
          `vtime`
     FROM ods_tmall_user_behavior
    WHERE DATE_FORMAT(vtime, 'yyyy-MM-dd') >= DATE_FORMAT(TIMESTAMPADD(DAY ,  
-3, NOW()), 'yyyy-MM-dd')
      AND `action` = 'alipay' 
   ;
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to