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
{{ message }}
Repository navigation
Broken feature: appending linearly partitioned segments into a hash partitioned datasource #9352
This feature was broken in #7547 and it is supposed to be a bug. However, I'm wondering we really want to support this in the future because of the below reasons.
Allowing mixed partitioning methods for one datasource is confusing and not very useful.
This feature introduces an ambiguous concept of the "core partitions". Only the hash partitioned datasource has the core partitions which is the set of segments created by the initial task. All segments in the core partitions should have the same HashBasedNumberedShardSpec, but other segments should have the NumberedShardSpec. In the timeline management, a hash partitioned datasource is regarded as visible in brokers if and only if all segments in the core partitions become available in historicals no matter how many segments are left in the non-core partitions. I think this concept is not that useful but makes things complicated.
This feature allows you to append only linearly partitioned segments to a hash partitioned datasource. Other combinations or directions are not allowed.
Thinking more about mixed partitioning schemes in a time chunk, I found a promising use case for it and believe we should support it. Raised #10045 to address it.
Activity
jihoonson commentedon Jun 23, 2020
Thinking more about mixed partitioning schemes in a time chunk, I found a promising use case for it and believe we should support it. Raised #10045 to address it.