-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Pattern parameter in S3ToSnowflakeOperator #24571
Conversation
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.
No expertise to judge whether pattern
needs special escaping (e.g. what if the pattern contains a '
?) but files
is also currently not escaped or validated, so perhaps not? And if there’s a bug, we need to fix them all anyway, and that should happen in a separate PR, not this one.
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
Doc build failure is unrelated (see #24575). |
This is real good question. About Never use option Anyway I will try to check on actual Snowflake during the day different cases |
Just check and found that files actually also quoted however not validated.
Single quote is a safe to use special character for S3 key/prefixes. That mean if user has |
CC @grzegorzb1990 since the issue was assigned to you. |
Test on real Snowflake: in COPY INTO instruction all |
5c94926
to
5be9f4b
Compare
closes: #24360