drill
DRILL-8136: Overload existing Math UDFs to allow for VARCHAR input
#2461
Closed

Commits
  • Overloaded existing Math UDFs to allow for VARCHAR input. Also added related unit tests.
    cgivre committed 2 years ago
  • Added a validateInput() method in MathFunctionsVarcharUtils class to be used for each of the Math functions with VarChar input
    cgivre committed 2 years ago
  • Modified mod and cbrt methods to use MathFunctionsVarCharUtils to validate their input. Added related tests. WIP.
    cgivre committed 2 years ago
  • Added Apache license headers
    cgivre committed 2 years ago
  • Modified pow() function to deal with invalid input. Added related tests.
    cgivre committed 2 years ago
  • WIP. Modified mod() function to return a VARCHAR so that the default output would be NULL
    cgivre committed 2 years ago
  • WIP. Modified test mod() function to expect VARCHAR. Fixed VARCHAR.toString() error
    cgivre committed 2 years ago
  • Removed unnecessary code
    cgivre committed 2 years ago
  • Reset to previous state where methods return Float8Holder
    cgivre committed 2 years ago
  • Fixed license headers
    cgivre committed 2 years ago
  • Working with nulls and license fix
    cgivre committed 2 years ago
  • Fixed UT
    cgivre committed 2 years ago
  • Remoted print statement
    cgivre committed 2 years ago
Loading