[ https://issues.apache.org/jira/browse/HIVE-20509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16609831#comment-16609831 ]
Hive QA commented on HIVE-20509: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12939138/HIVE-20509.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 14932 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.ql.TestTxnCommands.testMergeOnTezEdges (batchId=315) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/13704/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/13704/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-13704/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12939138 - PreCommit-HIVE-Build > Plan: fix wasted memory in plans with large partition counts > ------------------------------------------------------------ > > Key: HIVE-20509 > URL: https://issues.apache.org/jira/browse/HIVE-20509 > Project: Hive > Issue Type: Bug > Components: Query Planning > Reporter: Gopal V > Assignee: Barnabas Maidics > Priority: Minor > Labels: newbie > Attachments: HIVE-20509.patch, after.png, before.png > > > {code} > public void addPathToAlias(Path path, String newAlias){ > ArrayList<String> aliases = pathToAliases.get(path); > if (aliases == null) { > aliases = new ArrayList<>(); > StringInternUtils.internUriStringsInPath(path); > pathToAliases.put(path, aliases); > } > aliases.add(newAlias.intern()); > } > {code} > ArrayList::DEFAULT_CAPACITY is 10, so this wastes 500 bytes of memory due to > the {{new ArrayList<>();}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)