In our data model, a chunk always belongs to a partition[^1], so let's not make this attribute optional. The optional value only leads to -- mostly surprising -- conditional behavior, ranging from "do not equalize the partition sort key" (querier) to "always consider the chunk overlapping" (iox_query when dealing with ingester chunks). [^1]: This is even true when the chunk belongs to a parquet file that is not yet added to the catalog, contrary to what a comment in the ingester stated. The catalog and data model used by the querier are two totally different things. |
||
---|---|---|
.. | ||
cache | ||
chunk | ||
ingester | ||
namespace | ||
system_tables | ||
table | ||
database.rs | ||
handler.rs | ||
lib.rs | ||
poison.rs | ||
query_log.rs | ||
server.rs | ||
tombstone.rs |