-
Notifications
You must be signed in to change notification settings - Fork 761
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
refactor: do not upsert copied-files set if both purge and force are enabled #10855
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
seems result of https://github.com/datafuselabs/databend/blob/main/tests/suites/1_stateful/00_copy/00_0004_copy_with_max_files.sh should be updated |
thanks for reminding |
rest lgtm as long as the results of this tests is expected |
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
during the execution of
copy-into
, if both purge and force are enabled, do not upsert the table's copied-files set in meta server.NOTE:
since the table's copied-files set will NOT be upsert in meta service, if both
purge
andforce
are enabled.later/parallel executions of
copy-into
are taking the risk of data duplication.Closes #10854