Skip to content

Commit 7063f2b

Browse files
authored
feat(parquet): add schema projection to parquet (#159)
1 parent a13eed2 commit 7063f2b

File tree

6 files changed

+990
-28
lines changed

6 files changed

+990
-28
lines changed

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ jobs:
3030
steps:
3131
- uses: actions/checkout@v4
3232
- uses: actions/setup-python@v5
33-
- uses: pre-commit/[email protected]
33+
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

src/iceberg/parquet/parquet_reader.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ class ParquetReader::Impl {
218218
}
219219

220220
// Create the record batch reader
221-
ICEBERG_ASSIGN_OR_RAISE(auto column_indices, SelectedColumnIndices(projection_));
221+
auto column_indices = SelectedColumnIndices(projection_);
222222
ICEBERG_ARROW_ASSIGN_OR_RETURN(
223223
context_->record_batch_reader_,
224224
reader_->GetRecordBatchReader(row_group_indices, column_indices));

0 commit comments

Comments
 (0)