[CALCITE_1776] Implement CORR and REGR_* functions
The PRs provides the second part of REGR_* functions implementation (the first was done under CALCITE_2402). Here there are the rest functions
- CORR
- REGR_AVGX
- REGR_AVGY
- REGR_INTERCEPT
- REGR_R2
- REGR_SLOPE
- REGR_SXY
@snuyanzin Sorry it's taken so long for someone to look at this. Could you resolve the merge comment in the docs? Also, the JIRA in the commit message should have - not _.
@michaelmior , is it ok if I have a look at it this weekend?
Absolutely :)
I noticed that org.apache.calcite.rex.RexBuilder#constantNull became deprecated. So besides merging docs and fixing comments I did rebase to fix it also
Any updates on the status of this PR?
All updates are in comments for corresponding JIRA issue https://issues.apache.org/jira/browse/CALCITE-1776