[ https://issues.apache.org/jira/browse/HIVE-25192?focusedWorklogId=628422&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-628422 ]
ASF GitHub Bot logged work on HIVE-25192: ----------------------------------------- Author: ASF GitHub Bot Created on: 27/Jul/21 13:03 Start Date: 27/Jul/21 13:03 Worklog Time Spent: 10m Work Description: pvary commented on a change in pull request #2473: URL: https://github.com/apache/hive/pull/2473#discussion_r677428063 ########## File path: ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java ########## @@ -2680,9 +2683,9 @@ public void run() { total += estimator.estimate(jobConf, scanOp, -1).getTotalLength(); } recordSummary(path, new ContentSummary(total, -1, -1)); - } else { - // todo: should nullify summary for non-native tables, - // not to be selected as a mapjoin target + } else if (handler == null) { Review comment: If the handler is not null (we have some specific handler which is not an `InputEstimator`), then we do not add the file sizes of data size, but we still have a `totalLength`, `totalFileCount`, `totalDirectoryCount` as 0? Do I miss something? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 628422) Time Spent: 2h 50m (was: 2h 40m) > Nullify summary for non-native tables > ------------------------------------- > > Key: HIVE-25192 > URL: https://issues.apache.org/jira/browse/HIVE-25192 > Project: Hive > Issue Type: Bug > Reporter: Zhihua Deng > Assignee: Zhihua Deng > Priority: Major > Labels: pull-request-available > Time Spent: 2h 50m > Remaining Estimate: 0h > > When creating non-native tables like kudu, hbase and so on, we create a > warehouse location for these tables, though these tables may not use the > location to store data or for job plan, we should skip getting the input > summary of non-native tables when optimising joins, as which may cause oom > problem when the non-native table is on the build side. -- This message was sent by Atlassian Jira (v8.3.4#803005)