You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a requirement to create ID partition and sub-partitions.
If I partition the top level using list partitioning with an interval of 1 (each partition will represent a customer), I am unable to create a sub-partition on a different column which also has interval of 1.
The error I receive is: Sub-partition interval cannot be greater than or equal to the given parent interval
I'd like to understand the reasoning behind this, are there any foot guns I'm not seeing?
The text was updated successfully, but these errors were encountered:
Good point. As long as the columns are different, should be able to have different intervals. I'll have to see about fixing that.
This has generally been considered that the subpartition would be on the same column as the parent. In that case it wouldn't make any sense.
Aah, thank you. I hadn't considered sub-partitioning on the same column as the parent.
The limitation makes perfect sense in that context.
I assume this would be a matter of adding an additional check in the conditionals in create_sub_parent() to make sure the control columns are the same before enforcing the limitation?
I have a requirement to create ID partition and sub-partitions.
If I partition the top level using
list
partitioning with an interval of1
(each partition will represent a customer), I am unable to create a sub-partition on a different column which also has interval of1
.The error I receive is:
Sub-partition interval cannot be greater than or equal to the given parent interval
I'd like to understand the reasoning behind this, are there any foot guns I'm not seeing?
The text was updated successfully, but these errors were encountered: