Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Allow for custom RelOptPlanner.Executor in RexUtil.simplify. RexUtil.simplify (and derivatives) use a default EXECUTOR for evaluating literals and expression in simplifyCast. This causes value differences from Hive, triggering issues like CALCITE-1650, CALCITE-1651.
Attachments
Attachments
Issue Links
- duplicates
-
CALCITE-1650 Difference in BOOLEAN cast between Hive and Calcite
- Closed
-
CALCITE-1651 Difference in DATE cast between Hive and Calcite
- Closed
- is related to
-
CALCITE-1536 Initialize cluster before planner
- Open
- relates to
-
CALCITE-1439 Handle errors during constant reduction
- Closed
-
CALCITE-1620 CAST('<string>' AS BINARY) is supported by Hive, but not by Calcite
- Closed
-
CALCITE-1650 Difference in BOOLEAN cast between Hive and Calcite
- Closed
-
CALCITE-1651 Difference in DATE cast between Hive and Calcite
- Closed
-
CALCITE-1695 Not all RexUtil.simplifyXxx code paths carry the provided executor
- Closed