-
Notifications
You must be signed in to change notification settings - Fork 122
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
snowflake delta format #240
Conversation
It would be great if this PR is completed @jeremyyeo because at this moment external tables in delta can't be created using the package. |
{% set manual_refresh = (partitions and not auto_refresh) %} | ||
{% set manual_refresh = not auto_refresh %} |
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.
@danielefrigo explain why partitions
is removed here
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.
With this condition, only partitioned tables are refreshed by the package.
There are multiple situations (delta tables is one of them) in which you want to manually refresh an external tables (e.g. you cannot setup Snowflake automatic refresh for technical reasons on the cloud provider), so I'd prefer to link this feature only to the auto_refresh
flag
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.
thanks @danielefrigo!
Description & motivation
resolves: #198
Snowflake supports external tables on Delta format external stages, but they do not support automatic refresh.
When creating them, it's mandatory to specify
refresh_on_create = false
.Checklist