You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Krisztian Kasa (Jira)" <ji...@apache.org> on 2020/01/03 08:20:00 UTC
[jira] [Work started] (HIVE-22692) Use only
fixDecimalDataTypePhysicalVariations when vectorizing TopNKey operator
[ https://issues.apache.org/jira/browse/HIVE-22692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on HIVE-22692 started by Krisztian Kasa.
---------------------------------------------
> Use only fixDecimalDataTypePhysicalVariations when vectorizing TopNKey operator
> -------------------------------------------------------------------------------
>
> Key: HIVE-22692
> URL: https://issues.apache.org/jira/browse/HIVE-22692
> Project: Hive
> Issue Type: Improvement
> Reporter: Krisztian Kasa
> Assignee: Krisztian Kasa
> Priority: Minor
> Fix For: 4.0.0
>
>
> 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)