Repository navigation
Cherry pick #109185 to 26.5: Do not infer Nullable(Tuple) in Arrow, ArrowStream, ORC, Parquet and Avro schema inference unless the type is enabled - #109505
Conversation
…uet unless enabled
…_tuple_type in schema cache info
… in the Arrow readers
… schema inference cache key
…erence Do not infer `Nullable(Tuple)` in Arrow, ArrowStream, ORC, Parquet and Avro schema inference unless the type is enabled
|
@copilot resolve the merge conflicts in this pull request |
Resolve unrelated histories: take backport/26.5/109185 content for all format-related files. File tests/queries/0_stateless/04262_skip_first_lines_with_names_schema_cache.reference does not exist in 26.5 (number taken by another test).
…d Avro schema inference unless the type is enabled Cherry-pick of #109185 to 26.5. Without `allow_experimental_nullable_tuple_type`, schema inference for Arrow, ArrowStream, ORC, Parquet, and Avro formats must not infer `Nullable(Tuple)` for nullable struct/record columns, because `CREATE TABLE` rejects that type by default. Instead, the struct null map is propagated into the tuple elements as it worked before `Nullable(Tuple)` was supported. Also adds `schema_inference_allow_nullable_tuple_type` to the schema inference cache keys for all row-based formats, Arrow, ArrowStream, ORC, and Avro/AvroConfluent.
Resolved. The branch Fixed by merging |
|
|
Original pull-request #109185
Do not merge this PR manually
This pull-request is a first step of an automated backporting.
It contains changes similar to calling
git cherry-picklocally.If you intend to continue backporting the changes, then resolve all conflicts if any.
Otherwise, if you do not want to backport them, then just close this pull-request.
The check results does not matter at this step - you can safely ignore them.
Troubleshooting
If the conflicts were resolved in a wrong way
If this cherry-pick PR is completely screwed by a wrong conflicts resolution, and you want to recreate it:
pr-cherrypicklabel from the PRYou also need to check the Original pull-request for
pr-backports-createdlabel, and delete if it's presented thereThe PR source
The PR is created in the CI job