fix: Remove shard_id from the catalog service Partition

pull/24376/head
Carol (Nichols || Goulding) 2023-02-16 13:39:50 -05:00
parent fb5aa25c5b
commit 20250d883e
No known key found for this signature in database
GPG Key ID: E907EE5A736F87D4
2 changed files with 2 additions and 3 deletions

View File

@ -33,11 +33,11 @@ message Partition {
reserved "sort_key";
reserved 2;
reserved "sequencer_id";
reserved 7;
reserved "shard_id";
// the partition id
int64 id = 1;
// the shard the partition is under
int64 shard_id = 7;
// the table id the partition is in
int64 table_id = 3;
// the partition key

View File

@ -190,7 +190,6 @@ fn to_parquet_file(p: data_types::ParquetFile) -> ParquetFile {
fn to_partition(p: data_types::Partition) -> Partition {
Partition {
id: p.id.get(),
shard_id: p.shard_id.get(),
key: p.partition_key.to_string(),
table_id: p.table_id.get(),
array_sort_key: p.sort_key,