Skip to content

Commit bc2bd1f

Browse files
committed
parquet-handler-stats-col
1 parent 87a9da6 commit bc2bd1f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

kernel/src/engine/default/parquet.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ impl<E: TaskExecutor> ParquetHandler for DefaultParquetHandler<E> {
294294
/// - `location` - The full URL path where the Parquet file should be written
295295
/// (e.g., `s3://bucket/path/file.parquet`, `file:///path/to/file.parquet`).
296296
/// - `data` - An iterator of engine data to be written to the Parquet file.
297+
/// - `stats_columns` - Column names for which statistics should be collected.
297298
///
298299
/// # Returns
299300
///
@@ -302,7 +303,7 @@ impl<E: TaskExecutor> ParquetHandler for DefaultParquetHandler<E> {
302303
&self,
303304
location: url::Url,
304305
mut data: Box<dyn Iterator<Item = DeltaResult<Box<dyn EngineData>>> + Send>,
305-
_stats_columns: &[String],
306+
stats_columns: &[String],
306307
) -> DeltaResult<()> {
307308
let store = self.store.clone();
308309

kernel/src/engine/sync/parquet.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ impl ParquetHandler for SyncParquetHandler {
7979
/// - `location` - The full URL path where the Parquet file should be written
8080
/// (e.g., `file:///path/to/file.parquet`).
8181
/// - `data` - An iterator of engine data to be written to the Parquet file.
82+
/// - `stats_columns` - Column names for which statistics should be collected.
8283
///
8384
/// # Returns
8485
///
@@ -87,7 +88,7 @@ impl ParquetHandler for SyncParquetHandler {
8788
&self,
8889
location: Url,
8990
mut data: Box<dyn Iterator<Item = DeltaResult<Box<dyn crate::EngineData>>> + Send>,
90-
_stats_columns: &[String],
91+
stats_columns: &[String],
9192
) -> DeltaResult<()> {
9293
// Convert URL to file path
9394
let path = location

0 commit comments

Comments
 (0)