[ https://issues.apache.org/jira/browse/HIVE-22639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16999416#comment-16999416 ]
Hive QA commented on HIVE-22639: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12989123/HIVE-22639.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 25 failed/errored test(s), 17780 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestTezPerfCliDriver.testCliDriver[cbo_query31] (batchId=301) org.apache.hive.beeline.cli.TestHiveCli.testCmd (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testCommentStripping (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testDatabaseOptions (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testErrOutput (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testHelp (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testInValidCmd (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testInvalidDatabaseOptions (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testInvalidOptions (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testInvalidOptions2 (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testNoErrorDB (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testSetHeaderValue (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testSetPromptValue (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testSourceCmd (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testSourceCmd2 (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testSourceCmd3 (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testSourceCmd4 (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testSqlFromCmd (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testSqlFromCmdWithDBName (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testUseCurrentDB1 (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testUseCurrentDB2 (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testUseCurrentDB3 (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testUseInvalidDB (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testVariables (batchId=206) org.apache.hive.beeline.cli.TestHiveCli.testVariablesForSource (batchId=206) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/19974/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/19974/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-19974/ 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: 25 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12989123 - PreCommit-HIVE-Build > Bucket file name does not match bucket id after query based major compaction > ---------------------------------------------------------------------------- > > Key: HIVE-22639 > URL: https://issues.apache.org/jira/browse/HIVE-22639 > Project: Hive > Issue Type: Bug > Components: Hive > Affects Versions: 3.0.0, 3.1.0 > Reporter: Aron Hamvas > Assignee: Aron Hamvas > Priority: Major > Attachments: HIVE-22639.patch > > > While debugging > {{TestCrudCompactorOnTez#testCompactionWithSchemaEvolutionAndBuckets()}}, it > has come to my attention, that even though before compaction, the file name > of the single bucket in the delta directories is {{bucket_00001}}, in the new > base, the name of the new single bucket file is {{bucket_00000}}. At the same > time, the bucket value in the ROW__ID of the records remain the same and > suggest that the bucket id is 1. > So the bucket id and the file name do not match. This could lead to problems. > The test itself does not reveal this issue, although I think that the tests > should check this, too. At the same time, the tests assume the exact bucket > id value in cases where it cannot be predicted and fail, even though the > bucket it does not change after the compaction, so the check should really > pass. -- This message was sent by Atlassian Jira (v8.3.4#803005)