-
Notifications
You must be signed in to change notification settings - Fork 732
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
rfc: Idempotent Copy #7541
rfc: Idempotent Copy #7541
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
docs/doc/60-contributing/03-rfcs/20220909-avoid-duplicate-when-copy-into-table.md
Outdated
Show resolved
Hide resolved
docs/doc/60-contributing/03-rfcs/20220909-avoid-duplicate-when-copy-into-table.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clear 👍
is not same as:
|
Another question: |
docs/doc/60-contributing/03-rfcs/20220909-avoid-duplicate-when-copy-into-table.md
Outdated
Show resolved
Hide resolved
emm, yes, this situation has not been considered before... |
no, the key of |
Can we just construct the key the specific way instead of storing For example:
We just need to check whether this key exists or not without reading its content. |
…efactor the doc by comment
since meta now has no mechanism to recycle the expire data, so if the key is |
In an edge case, what will happen if users copy from different stages: copy from @gcs_stage into mytable;
copy from @aws_stage into mytable; |
it depends on |
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
docs: add Idempotent-Copy rfc
Fixes #issue