Skip to content

Conversation

comphead
Copy link
Contributor

Which issue does this PR close?

  • Closes #.

Rationale for this change

Current type check in BinaryExpr is erroneous(it doesn't consider element names diff for nested types) and the error message is overly unclear.

Found working on apache/datafusion-comet#1978

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added the physical-expr Changes to the physical-expr crates label Jul 18, 2025
Copy link
Contributor

@adriangb adriangb left a comment

Choose a reason for hiding this comment

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

Makes sense. Could you add a test?

@comphead
Copy link
Contributor Author

Makes sense. Could you add a test?

Added

@comphead comphead merged commit acff1b6 into apache:main Jul 18, 2025
27 checks passed
comphead added a commit to comphead/arrow-datafusion that referenced this pull request Jul 21, 2025
* chore: use `equals_datatype` instead of direct type comparison for `BinaryExpr`

* chore: use `equals_datatype` instead of direct type comparison for `BinaryExpr`

(cherry picked from commit acff1b6)
alamb pushed a commit that referenced this pull request Jul 22, 2025
* chore: use `equals_datatype` instead of direct type comparison for `BinaryExpr`

* chore: use `equals_datatype` instead of direct type comparison for `BinaryExpr`

(cherry picked from commit acff1b6)
alamb added a commit that referenced this pull request Jul 23, 2025
* [branch-49] Update version to `49.0.0`, add changelog (#16822)

* Update version to 49.0.0

* Add 49.0.0 changelog

* prettier

* Update changelog and config

* chore: use `equals_datatype`  for `BinaryExpr` (#16813) (#16847)

* chore: use `equals_datatype` instead of direct type comparison for `BinaryExpr`

* chore: use `equals_datatype` instead of direct type comparison for `BinaryExpr`

(cherry picked from commit acff1b6)

* [branch-49] Final Changelog Tweaks (#16852)

---------

Co-authored-by: Oleks V <[email protected]>
adriangb pushed a commit to pydantic/datafusion that referenced this pull request Jul 28, 2025
* [branch-49] Update version to `49.0.0`, add changelog (apache#16822)

* Update version to 49.0.0

* Add 49.0.0 changelog

* prettier

* Update changelog and config

* chore: use `equals_datatype`  for `BinaryExpr` (apache#16813) (apache#16847)

* chore: use `equals_datatype` instead of direct type comparison for `BinaryExpr`

* chore: use `equals_datatype` instead of direct type comparison for `BinaryExpr`

(cherry picked from commit acff1b6)

* [branch-49] Final Changelog Tweaks (apache#16852)

---------

Co-authored-by: Oleks V <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
physical-expr Changes to the physical-expr crates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants