-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.0.0
-
Component/s: Physical Optimizer
-
Labels:None
TopNKeyOperator.KeyWrapperComparator uses separate comparators for each field of the keys. Every time when TopNKeyOperator.KeyWrapperComparator.compare is called a new instance of the field operators are created.
The field comparators should be created prior any comparison. Probably in the constructor of KeyWrapperComparator or during initializeOp.
- is related to
-
HIVE-17896 TopNKey: Create a standalone vectorizable TopNKey operator
-
- Resolved
-
- links to