Skip to content

Commit

Permalink
Update vendored DuckDB sources to 6dd213c
Browse files Browse the repository at this point in the history
  • Loading branch information
duckdblabs-bot committed Dec 4, 2024
1 parent 6dd213c commit 2c3845f
Show file tree
Hide file tree
Showing 58 changed files with 1,745 additions and 823 deletions.
3 changes: 2 additions & 1 deletion src/duckdb/extension/parquet/column_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -656,12 +656,13 @@ void ColumnReader::ApplyPendingSkips(idx_t num_values) {
dummy_repeat.zero();

// TODO this can be optimized, for example we dont actually have to bitunpack offsets
Vector dummy_result(type, nullptr);
Vector base_result(type, nullptr);

idx_t remaining = num_values;
idx_t read = 0;

while (remaining) {
Vector dummy_result(base_result);
idx_t to_read = MinValue<idx_t>(remaining, STANDARD_VECTOR_SIZE);
read += Read(to_read, none_filter, dummy_define.ptr, dummy_repeat.ptr, dummy_result);
remaining -= to_read;
Expand Down
Loading

0 comments on commit 2c3845f

Please sign in to comment.