DRILL-1384: Part 1 - Rebase on Calcite. Change code due to Calcite package renaming/re-structure. Optiq changed to use DATETIME_PLUS. Have t…
DRILL-1384: Part 1 - Rebase on Calcite. Change code due to Calcite package renaming/re-structure.Optiq changed to use DATETIME_PLUS. Have to handle it in Drill.PushFilterPastJoinRule has some issue. Temp fix for that.Failed unit tests: 1) TestFlatten 2) TestConvertFunctions / TestComplexTypeWriter : "Concat" 3) TPCH Q16 : CanNotPlanExceptionFeed a RelDataTypeSystem into planner, to support decimal with precision/scale up to 38.Remove assertion in DrillFilterRel. Optiq/Calcite could create a TRUE AND TRUE for query like WHERE col1 in (select ...) and col2 in (select ...) .Rebase on calcite-1.1.0-drill-test-r1. Change code due to Calcite package renaming/re-structure.Rebase on calcite : remaing with perl script. Part 1reverse change to jdbc test.Renaming for rebasing calcite. Part 2Renaming for calcite rebasing. Part 3Renaming for calcite rebasing. Part 4Reverse change to testcase in jdbc.Renaming for calcite rebasing. Part 5Renaming for calcite rebasing. Part 6remove 1.shWindowRel change related.Renaming for calcite rebase. Part 7PreprocessLogical and AggPrelBaseRenaming for calcite rebasing. Part 8. More manual changeRebasing Calcite. Part 9Rebasing calcite. Part 10Rebasing API change from Calcite.SQL parser change, due to Calcite rebasing.Renaming change for calcite rebasing.Renaming package due to Calcite rebasing.Renaming package due to Calicte Rebase.Work in progress for calcite rebasing.Change import package names due to Calcite rebase.Code refactor due to Calcite rebasing.Fix bug in DistributionTraitDef.Resolve compiler error, due to Calcite Rebasing.Resolve compiler error after Calcite Rebasing.minor change.