Skip to content

feat[expr-common]: support REE in coalesce - #21919

Merged
Jefffrey merged 1 commit into
apache:mainfrom
polarsignals:asubiotto/coalesce
May 1, 2026
Merged

feat[expr-common]: support REE in coalesce#21919
Jefffrey merged 1 commit into
apache:mainfrom
polarsignals:asubiotto/coalesce

Conversation

@asubiotto

Copy link
Copy Markdown
Contributor

We were missing a couple of branches to unwrap REE in type_union_resolution_coercion.

Which issue does this PR close?

Rationale for this change

Fix an unexpected error

What changes are included in this PR?

Type coercion match arms for REE

Are these changes tested?

Yes, via sql logic tests

Are there any user-facing changes?

Queries that errored now complete successfully

@github-actionsgithub-actionsBot added logical-expr Logical plan and expressions sqllogictest SQL Logic Tests (.slt) labels Apr 29, 2026
@asubiotto

Copy link
Copy Markdown
ContributorAuthor

cc @Jefffrey@alamb , should be a quick review

@JefffreyJefffrey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Makes sense, thanks

@alamb

Copy link
Copy Markdown
Contributor

The failing CI check is new. I was added today. I posted an issue about this failure

@rluvaton

Copy link
Copy Markdown
Member

Hey, the fix for the detect breaking changes CI is now resolved, can you please align with main?
sorry for the trouble

We were missing a couple of branches to unwrap REE in
type_union_resolution_coercion.
Signed-off-by: Alfonso Subiotto Marques <alfonso.subiotto@polarsignals.com>
@asubiotto

Copy link
Copy Markdown
ContributorAuthor

Rebased, thanks!

@Jefffrey
Jefffrey added this pull request to the merge queueMay 1, 2026
@Jefffrey

Copy link
Copy Markdown
Contributor

Thanks @asubiotto

Merged via the queue into apache:main with commit 37dbdafMay 1, 2026
39 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

logical-exprLogical plan and expressionssqllogictestSQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

coalesce on RunEndEncoded column fails to plan

4 participants

@asubiotto@alamb@rluvaton@Jefffrey