Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: incorrect mapping of floating point + and - ops #131

Merged
merged 11 commits into from
Mar 2, 2023

Conversation

vbarua
Copy link
Member

@vbarua vbarua commented Feb 16, 2023

  • Fixes an issue preventing conversion of floating point + and - ops from Substrait to Calcite.
  • Adds additional arithmetic operators available in the SqlStdOperatorTable.
  • Adds tests for the above.
  • Refactors PlanTestBase utils to allow for custom schema usage.

Copy link
Contributor

@JamesRTaylor JamesRTaylor left a comment

Choose a reason for hiding this comment

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

Looks great. Nice tests!

@JamesRTaylor JamesRTaylor merged commit 963c72f into substrait-io:main Mar 2, 2023
ajegou pushed a commit to ajegou/substrait-java that referenced this pull request Mar 29, 2024
* refactor: allow for custom schema creates in tests

* test: mapping of arithmetic operations to Substrait

* fix: incorrect mapping of fp + and - ops

* feat: map numeric negation

* feat: map mod

* feat: map power

* feat: map exp

* feat: map trigonometric functions

* feat: map abs

* feat: map sign

* refactor: simplify arithmetic tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants