[ https://issues.apache.org/jira/browse/HIVE-15065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15607364#comment-15607364 ]
Hive QA commented on HIVE-15065: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12835238/HIVE-15065.1.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 10622 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestHBaseCliDriver.testCliDriver[hbase_bulk] (batchId=89) org.apache.hive.beeline.TestBeelineArgParsing.testAddLocalJarWithoutAddDriverClazz[0] (batchId=164) org.apache.hive.beeline.TestBeelineArgParsing.testAddLocalJar[0] (batchId=164) org.apache.hive.beeline.TestBeelineArgParsing.testAddLocalJar[1] (batchId=164) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/1804/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/1804/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-1804/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 4 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12835238 - PreCommit-HIVE-Build > SimpleFetchOptimizer should decide based on metastore stats when available > -------------------------------------------------------------------------- > > Key: HIVE-15065 > URL: https://issues.apache.org/jira/browse/HIVE-15065 > Project: Hive > Issue Type: Bug > Components: Logical Optimizer > Affects Versions: 2.2.0 > Reporter: Prasanth Jayachandran > Assignee: Prasanth Jayachandran > Attachments: HIVE-15065.1.patch > > > Currently the decision to use fetch optimizer or not is based on scanning the > filesystem for file lengths and see if the aggregated size is less the fetch > task threshold. This can be very expensive for cloud environment. This issue > is mitigated to some extent by HIVE-14920 but still that requires file system > scan. We can make decision based on the stats from metastore and falling back > when stats is not available. Since fast stats (numRows and fileSize) is > always available this should work most of the time. -- This message was sent by Atlassian JIRA (v6.3.4#6332)