Skip to content

Add struct-backed extension type cases for CASE in metadata.slt - #186

Open
raghuvanshraj wants to merge 1 commit into
Embucket:upstream-case-field-metadatafrom
raghuvanshraj:slt-26145-struct
Open

raghuvanshraj wants to merge 1 commit into
Embucket:upstream-case-field-metadatafrom
raghuvanshraj:slt-26145-struct

Conversation

@raghuvanshraj

Copy link
Copy Markdown

Adds the struct-backed extension type cases for CASE to metadata.slt, as discussed on apache#26145.

The branches are named_struct(...) values tagged with ARROW:extension:name, the shape Parquet Variant has. arrow_metadata() on a CASE only sees the executed field, so the logical field is observed through the planning error of an outer coalesce, the same way the existing coalesce cases do it.

All cases pass on this branch. On main the three statement error cases succeed instead, because the tag is dropped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant