Skip to content

feat[expr-common]: add REE arithmetic coercion for numeric and decimal#21179

Open
asubiotto wants to merge 1 commit intoapache:mainfrom
polarsignals:asubiott/reecoercion
Open

feat[expr-common]: add REE arithmetic coercion for numeric and decimal#21179
asubiotto wants to merge 1 commit intoapache:mainfrom
polarsignals:asubiott/reecoercion

Conversation

@asubiotto
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

Fix planning error

What changes are included in this PR?

Match arms for REE types

Are these changes tested?

Yes

Are there any user-facing changes?

Queries that would previously return an error on REE columns now pass.

@asubiotto
Copy link
Copy Markdown
Contributor Author

cc @vegarsti @alamb

@github-actions github-actions bot added the logical-expr Logical plan and expressions label Mar 26, 2026
Copy link
Copy Markdown
Contributor

@vegarsti vegarsti left a comment

Choose a reason for hiding this comment

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

Excellent!

@asubiotto
Copy link
Copy Markdown
Contributor Author

Friendly ping for a review or triage @alamb

Copy link
Copy Markdown
Contributor

@Jefffrey Jefffrey left a comment

Choose a reason for hiding this comment

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

Do we have an end to end (e.g. SQL in SLT) test that can confirm this behaviour? Or is it blocked by missing support for REE elsewhere in the codebase?

@asubiotto
Copy link
Copy Markdown
Contributor Author

Not sure, happy to take a look and add one if not!

Signed-off-by: Alfonso Subiotto Marques <alfonso.subiotto@polarsignals.com>
@asubiotto asubiotto force-pushed the asubiott/reecoercion branch from df80898 to 28afc1a Compare April 16, 2026 12:40
@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Apr 16, 2026
@asubiotto
Copy link
Copy Markdown
Contributor Author

Added, thanks for the suggestion.

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

Labels

logical-expr Logical plan and expressions sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Arithmetic type coercion fails for RunEndEncoded columns

3 participants