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

feat: add PURGE option to COPY command #7443

Closed
BohuTANG opened this issue Sep 2, 2022 · 0 comments · Fixed by #7518
Closed

feat: add PURGE option to COPY command #7443

BohuTANG opened this issue Sep 2, 2022 · 0 comments · Fixed by #7518
Assignees
Labels
A-query Area: databend query C-feature Category: feature

Comments

@BohuTANG
Copy link
Member

BohuTANG commented Sep 2, 2022

Summary

https://databend.rs/doc/reference/sql/dml/dml-copy-into-table#copyoptions

Add new option PURGE

copyOptions ::=
  [ SIZE_LIMIT = <num> ]
  PURGE = TRUE | FALSE

Remove the data files from the stage/locations automatically after the data is loaded successfully.

@BohuTANG BohuTANG added C-feature Category: feature A-query Area: databend query good first issue Category: good first issue labels Sep 2, 2022
@sundy-li sundy-li self-assigned this Sep 5, 2022
@sundy-li sundy-li removed the good first issue Category: good first issue label Sep 5, 2022
@mergify mergify bot closed this as completed in #7518 Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-query Area: databend query C-feature Category: feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants