Add batch index support to parquet_metadata and friends to allow it to be executed in parallel also with order preservation by Mytherin · Pull Request #21314 · duckdb/duckdb · GitHub
Skip to content

Add batch index support to parquet_metadata and friends to allow it to be executed in parallel also with order preservation - #21314

Merged
Mytherin merged 1 commit into
duckdb:v1.5-variegatafrom
Mytherin:parquetbatchindex
Mar 12, 2026
Merged

Mytherin merged 1 commit into
duckdb:v1.5-variegatafrom
Mytherin:parquetbatchindex

Conversation

@Mytherin

Copy link
Copy Markdown
Member

parquet_metadata has been extended to allow for parallel processing, but due to a missing get_partition_data function it often does not run in parallel (unless SET preserve_insertion_order=false is set). This PR adds the missing function which allows the various parquet metadata functions to run in parallel in all cases.

…o be executed in parallel also with order preservation
@Mytherin
Mytherin merged commit f56a389 into duckdb:v1.5-variegata Mar 12, 2026
59 checks passed
github-actions Bot pushed a commit to duckdb/duckdb-r that referenced this pull request Mar 18, 2026
Date: 2026-03-12 09:43:16 +0100

Add batch index support to parquet_metadata and friends to allow it to be executed in parallel also with order preservation (duckdb/duckdb#21314)
Fix duckdb/duckdb#21248: correctly expand type count in CSV header detection (duckdb/duckdb#21292)
Fix Terminal::TryGetBackgroundColor when stdin is reading from a pipe but stdout is still writing to the terminal (duckdb/duckdb#21288)
github-actions Bot added a commit to duckdb/duckdb-r that referenced this pull request Mar 18, 2026
Date: 2026-03-12 09:43:16 +0100

Add batch index support to parquet_metadata and friends to allow it to be executed in parallel also with order preservation (duckdb/duckdb#21314)
Fix duckdb/duckdb#21248: correctly expand type count in CSV header detection (duckdb/duckdb#21292)
Fix Terminal::TryGetBackgroundColor when stdin is reading from a pipe but stdout is still writing to the terminal (duckdb/duckdb#21288)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Mar 22, 2026
Date: 2026-03-12 09:43:16 +0100

Add batch index support to parquet_metadata and friends to allow it to be executed in parallel also with order preservation (duckdb/duckdb#21314)
Fix duckdb/duckdb#21248: correctly expand type count in CSV header detection (duckdb/duckdb#21292)
Fix Terminal::TryGetBackgroundColor when stdin is reading from a pipe but stdout is still writing to the terminal (duckdb/duckdb#21288)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
krlmlr added a commit to krlmlr/duckdb-r-old that referenced this pull request Mar 22, 2026
Date: 2026-03-12 09:43:16 +0100

Add batch index support to parquet_metadata and friends to allow it to be executed in parallel also with order preservation (duckdb/duckdb#21314)
Fix duckdb/duckdb#21248: correctly expand type count in CSV header detection (duckdb/duckdb#21292)
Fix Terminal::TryGetBackgroundColor when stdin is reading from a pipe but stdout is still writing to the terminal (duckdb/duckdb#21288)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
krlmlr added a commit to krlmlr/duckdb-r-old that referenced this pull request Mar 22, 2026
Date: 2026-03-12 09:43:16 +0100

Add batch index support to parquet_metadata and friends to allow it to be executed in parallel also with order preservation (duckdb/duckdb#21314)
Fix duckdb/duckdb#21248: correctly expand type count in CSV header detection (duckdb/duckdb#21292)
Fix Terminal::TryGetBackgroundColor when stdin is reading from a pipe but stdout is still writing to the terminal (duckdb/duckdb#21288)

Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
@Mytherin
Mytherin deleted the parquetbatchindex branch April 28, 2026 07:50
kaka11chen pushed a commit to AstroVela/vane that referenced this pull request Aug 14, 2026
…o be executed in parallel also with order preservation (duckdb/duckdb#21314)

`parquet_metadata` has been extended to allow for parallel processing,
but due to a missing `get_partition_data` function it often does not run
in parallel (unless `SET preserve_insertion_order=false` is set). This
PR adds the missing function which allows the various parquet metadata
functions to run in parallel in all cases.

Upstream-Commit: duckdb/duckdb@f56a389
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant