Skip to content

[9.0] Skip type mapping inference for already-mapped unnest inputs - #3944

Merged
roji merged 1 commit into
hotfix/9.0.5from
roji-unnest-mapping-backport-9
Oct 14, 2026
Merged

roji merged 1 commit into
hotfix/9.0.5from
roji-unnest-mapping-backport-9

Conversation

@roji

@roji roji commented Oct 14, 2026

Copy link
Copy Markdown
Member

Backport of #3943 to hotfix/9.0.5.

Only infer type mappings for unmapped unnest inputs, preserving model mappings for array columns. Ports the Union/Except regression coverage, checking returned rows and exact SQL, with the existing 9.0 test initialization APIs.

Confirmed the regression fails before the guard with Conflicting type mappings were inferred for column 'value'. After the fix, all 29 targeted functional tests pass, including parameter and inline collection type inference.

Refs #3940

Skip inferred type mapping for already-mapped unnest inputs and add regression coverage for Union and Except over differently mapped array columns.

Backport of #3943.

Refs #3940

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: f08e1d6b-0bde-43ff-ab6f-0896aa0f2845
@roji
roji merged commit d29e6ad into hotfix/9.0.5 Oct 14, 2026
10 of 14 checks passed
@roji
roji deleted the roji-unnest-mapping-backport-9 branch October 14, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant