Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Parquet Reader: only read strings as fixed length strings if the type is FIXED_LEN_BYTE_ARRAY#17723

Merged
Mytherin merged 2 commits intoduckdb:v1.3-ossivalisfrom
Mytherin:parquetfixedlen
May 30, 2025
Merged

Parquet Reader: only read strings as fixed length strings if the type is FIXED_LEN_BYTE_ARRAY#17723
Mytherin merged 2 commits intoduckdb:v1.3-ossivalisfrom
Mytherin:parquetfixedlen

Conversation

@Mytherin
Copy link
Collaborator

Fixes a regression introduced in #16161

Type length may also be set for variable-length byte arrays (in which case it should be ignored).

Copy link
Contributor

@ywelsch ywelsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is similar code in ParquetDecimalUtils::CreateReader
Does that need adjustment too?

@Mytherin
Copy link
Collaborator Author

Yes, good point - that should indeed follow the same logic.

@duckdb-draftbot duckdb-draftbot marked this pull request as draft May 30, 2025 15:04
@Mytherin Mytherin marked this pull request as ready for review May 30, 2025 15:17
@Mytherin Mytherin merged commit bca5bdd into duckdb:v1.3-ossivalis May 30, 2025
48 of 50 checks passed
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Jun 2, 2025
Parquet Reader: only read strings as fixed length strings if the type is FIXED_LEN_BYTE_ARRAY (duckdb/duckdb#17723)
[SQLLogicTester] Replace keywords in `<FILE>:pattern` result for the `query` statement (duckdb/duckdb#17710)
@Mytherin Mytherin deleted the parquetfixedlen branch June 12, 2025 15:27
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.

2 participants

Comments