docs: Explain why this panic might happen

pull/24376/head
Carol (Nichols || Goulding) 2022-04-08 15:37:25 -04:00 committed by Carol (Nichols || Goulding)
parent 55fe3b8d50
commit b6253b8046
No known key found for this signature in database
GPG Key ID: E907EE5A736F87D4
1 changed files with 3 additions and 0 deletions

View File

@ -645,6 +645,9 @@ impl Compactor {
let merged_schema = QueryableParquetChunk::merge_schemas(&query_chunks);
let sort_key = sort_key_from_catalog
// This can happen for data in catalogs created in "the before times"
// we do not currently plan to provide an upgrade path (instead we will wipe
// old catalogs)
.expect("Partition sort key should have been available in the catalog");
// Identify split time