apache / drill

Apache Drill is a distributed MPP query layer for self describing data
https://drill.apache.org/
Apache License 2.0
1.93k stars 980 forks source link

DRILL-8424: Accommodate RexBuilder changes made for SAFE_CAST #2794

Closed jnturton closed 1 year ago

jnturton commented 1 year ago

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.

jnturton commented 1 year ago

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.