[ https://issues.apache.org/jira/browse/HIVE-20985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16705651#comment-16705651 ]
Gopal V commented on HIVE-20985: -------------------------------- This doesn't look to be a significant performance issue, however there's no comments to actually describe what it ends up doing when it does {code} + for (int i = 0; i < markedScratchColumns.length; i++) { + if (markedScratchColumns[i]) { + scratchColumnTrackWasUsed[i] = false; + } + } {code} The vectorizer state push/pop is not entirely clear, at least from a quick read. > If select operator inputs are temporary columns vectorization may reuse some > of them as output > ---------------------------------------------------------------------------------------------- > > Key: HIVE-20985 > URL: https://issues.apache.org/jira/browse/HIVE-20985 > Project: Hive > Issue Type: Bug > Components: Vectorization > Reporter: Zoltan Haindrich > Assignee: Zoltan Haindrich > Priority: Major > Attachments: HIVE-20985.01.patch, HIVE-20985.02.patch, > HIVE-20985.03.patch, HIVE-20985.03.patch, HIVE-20985.04.patch > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)