Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Hive CAST( ... AS BOOLEAN) gives true for anything 'not zero' (eg. CAST(1 as BOOLEAN) is true) while Calcite uses strict Java Boolean.valueOf(...) which yields true only for the string 'true'.
Attachments
Issue Links
- Blocked
-
HIVE-15708 Upgrade calcite version to 1.12
- Closed
- is duplicated by
-
CALCITE-1653 Pass an expression executor to RexUtil.simplify for constant reduction
- Closed
- is related to
-
CALCITE-1653 Pass an expression executor to RexUtil.simplify for constant reduction
- Closed