-
Notifications
You must be signed in to change notification settings - Fork 179
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
[SPIKE] Investigate treating dynamic tables as RelationType.Table
#1040
Comments
RelationType.Table
the framing here makes me think of a hypothetical third option based on work done to abstract away relation-specific details from This work was done to support Dynamic Tables, but rolling this out globally for the other materializations might serve addressing option 2. By that I mean we might have options available immediately to remove some of the cases, without removing the for example, the lowest-hanging fruit here is that purportedly, a Dynamic Table can be dropped with a We can either:
the
|
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days. |
Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers. |
Is this your first time submitting a feature request?
Describe the feature
spin off of @jtcohen6's #1038
Investigate treating dynamic tables as
RelationType.Table
instead ofSnowflakeRelationType.DynamicTable
with the understanding that we need to run an additionaldescribe
query at the start of thedynamic_table
materialization to figure out if it's actually a dynamic or a static table (among other configs).Similar to the workaround described here: #1016 (comment)
This should only be done in the event that #1038 does not pan out, performance-wise
Pros
create or replace
when switching between tables and dynamics tables. (The team is looking into this, it may be feasible but it may not be.)Cons
describe
statement per DT, until we can re-plumb the materialization logic (or start caching more relation attributes) to avoid rerunning.create or replace table
for DT → table, this will have a known edge case where switchingmaterialized: 'dynamic_table'
tomaterialized: table
does not work.Describe alternatives you've considered
if #1038 works, we don't need to do this
Who will this benefit?
No response
Are you interested in contributing this feature?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: