-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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(ingest/snowflake): allow shares config without platform instance #8803
feat(ingest/snowflake): allow shares config without platform instance #8803
Conversation
config = SnowflakeV2Config( | ||
account_id="abc12345", | ||
shares={ | ||
"share1": SnowflakeShareConfig( |
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.
"db1" (primary, included in share) and "db2"(secondary, created from share) are present in this account, as present in snowflake_databases
.
"It is required to use `platform_instance` when ingesting from multiple snowflake accounts." | ||
) | ||
if current_platform_instance is None: | ||
logger.warning( |
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.
I'd make this an INFO, and perhaps explain what setting platform instance provides (i.e. no conflict for entities with the same name in each instance). I think there are valid use cases for not setting platform instance, e.g. you don't expect overlap or you're looking at different slices of the same data
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.
done
Looks like you have a 3.7 lint failure -- missing type annotation. I'm confused how this passed 3.10 |
Checklist