Skip to content

Conversation

@yuancu
Copy link

@yuancu yuancu commented Mar 11, 2025

Description

[Describe what this change achieves]

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

yuancu added 6 commits March 11, 2025 09:49
- Rename UserDefineFunctionUtils to UserDefinedFunctionUtils

Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>
- enforce uniform parameter number check
- comment on differences from calcite's implementation if necessary

Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>
Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>
- return null with invalid (zero, negative) arguments
- return wider type for mod

Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>
- edge cases for UDF
- combine operations or clauses

Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>
…uble.NaN and Float.NaN to null

Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>
@yuancu yuancu changed the title Add math udf Update UTs & ITs for Math Functions Mar 11, 2025
@yuancu yuancu changed the title Update UTs & ITs for Math Functions Handle Edge Cases & Update UT/ITs for Math Functions Mar 11, 2025
@xinyual xinyual merged commit 0515377 into xinyual:addMathUDF Mar 11, 2025
3 of 11 checks passed
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