Krisztian Kasa created HIVE-22692:
-------------------------------------
Summary: Use only fixDecimalDataTypePhysicalVariations when
vectorizing TopNKey operator
Key: HIVE-22692
URL: https://issues.apache.org/jira/browse/HIVE-22692
Project: Hive
Issue Type: Task
Reporter: Krisztian Kasa
Assignee: Krisztian Kasa
Currently both 'fixDecimalDataTypePhysicalVariations' and
'getVectorExpressionsUpConvertDecimal64' are called when vectorizing TopNKey
operator in 'Vectorizer.java'
{code}
vContext.markActualScratchColumns();
try {
List<ExprNodeDesc> keyColumns = topNKeyDesc.getKeyColumns();
keyExpressions =
vContext.getVectorExpressionsUpConvertDecimal64(keyColumns);
fixDecimalDataTypePhysicalVariations(vContext, keyExpressions);
} finally {
vContext.freeMarkedScratchColumns();
}
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)