Replies: 2 comments
-
IMHO, we should not remove files while calling drop stage. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think snow does it well for
https://docs.snowflake.com/en/sql-reference/sql/drop-stage.html For databend internal stage, it's hard to check a stage file is in loading by another query, so we can force remove all. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Now we support the
list stage
to show files in the stage after #4472.Since
list stage
needsopendal
to call s3 API which is costable, we need to store some information in meta service and synchronize from stage periodically.Triggers to call list s3 when the following queries happened:
copy into stage
remove files from stage
create stage
(external stage may already have files)drop stage
Should we remove files in the stage when calling drop stage?
@BohuTANG @junnplus
Beta Was this translation helpful? Give feedback.
All reactions