[
https://issues.apache.org/jira/browse/HIVE-20100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16535989#comment-16535989
]
Hive QA commented on HIVE-20100:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12930655/HIVE-20100.4.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 13 failed/errored test(s), 14628 tests
executed
*Failed tests:*
{noformat}
TestAutoPurgeTables - did not produce a TEST-*.xml file (likely timed out)
(batchId=240)
TestLocationQueries - did not produce a TEST-*.xml file (likely timed out)
(batchId=240)
TestSemanticAnalyzerHookLoading - did not produce a TEST-*.xml file (likely
timed out) (batchId=240)
TestSparkStatistics - did not produce a TEST-*.xml file (likely timed out)
(batchId=240)
org.apache.hadoop.hive.metastore.client.TestNotNullConstraint.addNoSuchTable[Remote]
(batchId=218)
org.apache.hadoop.hive.metastore.client.TestNotNullConstraint.createGetDrop[Remote]
(batchId=218)
org.apache.hadoop.hive.metastore.client.TestNotNullConstraint.createTableWithConstraintsPkInOtherCatalog[Remote]
(batchId=218)
org.apache.hadoop.hive.metastore.client.TestNotNullConstraint.createTableWithConstraintsPk[Remote]
(batchId=218)
org.apache.hadoop.hive.metastore.client.TestNotNullConstraint.doubleAddNotNullConstraint[Remote]
(batchId=218)
org.apache.hadoop.hive.metastore.client.TestNotNullConstraint.getNoSuchCatalog[Remote]
(batchId=218)
org.apache.hadoop.hive.metastore.client.TestNotNullConstraint.getNoSuchDb[Remote]
(batchId=218)
org.apache.hadoop.hive.metastore.client.TestNotNullConstraint.getNoSuchTable[Remote]
(batchId=218)
org.apache.hadoop.hive.metastore.client.TestNotNullConstraint.inOtherCatalog[Remote]
(batchId=218)
{noformat}
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/12461/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/12461/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-12461/
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: 13 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12930655 - PreCommit-HIVE-Build
> OpTraits : Select Optraits should stop when a mismatch is detected
> ------------------------------------------------------------------
>
> Key: HIVE-20100
> URL: https://issues.apache.org/jira/browse/HIVE-20100
> Project: Hive
> Issue Type: Bug
> Reporter: Deepak Jaiswal
> Assignee: Deepak Jaiswal
> Priority: Major
> Attachments: HIVE-20100.1.patch, HIVE-20100.2.patch,
> HIVE-20100.3.patch, HIVE-20100.4.patch
>
>
> The select operator's optraits logic as stated in the comment is,
> // For bucket columns
> // If all the columns match to the parent, put them in the bucket cols
> // else, add empty list.
> // For sort columns
> // Keep the subset of all the columns as long as order is maintained.
>
> However, this is not happening due to a bug. The bool found is never reset,
> so if a single match is found, the value remains true and allows the optraits
> get populated with partial list of columns for bucket col which is incorrect.
> This may lead to creation of SMB join which should not happen.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)