cgivre opened a new pull request, #2801: URL: https://github.com/apache/drill/pull/2801
# [DRILL-8433](https://issues.apache.org/jira/browse/DRILL-8433): Add Percent Change UDF to Drill ## Description Adds a new UDF, `percent_change(x,y)` which calculates the percent change between the two variables. While this is relatively easy to do in SQL, it also requires null and zero checks to prevent division by zero errors. This makes this calculation simpler. ## Documentation See README. ## Testing Added unit tests. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@drill.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org