DRILL-8424: Accommodate RexBuilder changes made for SAFE_CAST
Description
Resolves the current CI test failues affecting decimal and empty-literal-to-null casting. Also incorporates upstream syntax additions in Drill's Parser.jj which can only be dropped when CALCITE-5579 is resolved.
Incorporate method signature changes in RexBuilder made by CALCITE-5557.
Fix float rounding error in TestCastFunctions.testCastFloatDecimalOverflow.
Incorporate Calcite parser changes.
[CALCITE-5557] Add SAFE_CAST function (enabled in BigQuery library)
[CALCITE-5548] Add MSSQL-style CONVERT function (enabled in MSSql library)
[CALCITE-5554] In EXTRACT function, add DAYOFWEEK and DAYOFYEAR as synonyms for DOW, DOY
Ignore .mvn/maven.config.
Upgrade Apache RAT plugin.
Upgrade os-maven-plugin.
Move distro tarball to the Maven install phase.
Documentation
SAFE_CAST to be documented and relevant syntax additions to be documented.
I botched the "Move distro tarball to the Maven install phase" commit but that's a one-liner and unrelated to any unit tests so I'll let the test tuns here complete before pushing its fix.
DRILL-8424: Accommodate RexBuilder changes made for SAFE_CAST
Description
Resolves the current CI test failues affecting decimal and empty-literal-to-null casting. Also incorporates upstream syntax additions in Drill's Parser.jj which can only be dropped when CALCITE-5579 is resolved.
Documentation
SAFE_CAST to be documented and relevant syntax additions to be documented.
Testing
Failing tests now pass.