Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for pushing down datetime query #545

Open
2 of 3 tasks
zhiyuan192shine opened this issue Jan 14, 2025 · 0 comments
Open
2 of 3 tasks

Support for pushing down datetime query #545

zhiyuan192shine opened this issue Jan 14, 2025 · 0 comments

Comments

@zhiyuan192shine
Copy link

zhiyuan192shine commented Jan 14, 2025

Search before asking

  • I had searched in the issues and found no similar issues.

Description

version:flink-doris-connector-1.16-24.1.0

Image

desc:
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, vtime >= DATE_FORMAT(TIMESTAMPADD(DAY , -7, NOW()), 'yyyy-MM-dd')

Use case

CREATE VIEW v_tmall_user_behavior AS
SELECT item_id,
user_id,
action,
vtime
FROM ods_tmall_user_behavior
WHERE vtime >= DATE_FORMAT(TIMESTAMPADD(DAY , -7, 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant