Closed
Description
Describe the feature
Incremental materialization that breaks a single table up into multiple tables based on the value in a column.
Describe alternatives you've considered
Using multiple models for each value won't work, because if a new value gets added to the column, then it won't automatically create the partition
Additional context
Not specific to a given database, because it simply creates multiple tables for the values in the column.
I'm not sure how ref
would work. It's possible that a view could be created that unions the partition tables in a way that helps the query optimizer drop unused partitions. For example, union while hard coding the partition column values (untested).
Additionally, a strategy for table naming would be needed.
Who will this benefit?
Anyone who needs partitions.
Are you interested in contributing this feature?
Yes, but I need guidance.