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
[Parquet] Support querying sharded parquet files #7174
Is your feature request related to a problem? Please describe.
The underlying parquet library we are using supports sharded parquet files recently. Instead of a single TSDB block converted to a single parquet file, now it supports converting 1 TSDB block to multiple sharded parquet files for better conversion performance.
Today, existing parquet reader only supports 1 shard and we hardcoded it. In order to support querying sharded parquet files, we need to avoid hardcoding the shard and try to read the block total shard size somewhere.
Activity
sandy2008 commentedon Oct 28, 2026
This was implemented by #7610, which is in the 1.22 release candidates: the querier now reads each block's Parquet shard count and opens every shard (
cortex/pkg/querier/parquet_queryable.go
Lines 227 to 252 in df49fe6
cortex/pkg/storegateway/parquet_bucket_store.go
Lines 82 to 108 in df49fe6