-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: 1.18.0
-
Component/s: None
-
Labels:None
Currently not all sub-classes of RexNode override Object.equals and Object.hashCode methods, so they can't be used in java collections, e.g. as keys in maps.
To fix, override equals and hashCode in RexCall and maybe other sub-classes. See if there are workarounds (using digests instead of the RexNode themselves, using IdentityHashMap, using canonization) and if appropriate remove them.
- is duplicated by
-
CALCITE-2632 Add hashCode and equals implementations to RexNode
-
- Closed
-