[
https://issues.apache.org/jira/browse/HIVE-22646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16996195#comment-16996195
]
Hive QA commented on HIVE-22646:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12988805/HIVE-22646.01.patch
{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 17780 tests
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[mm_bhif]
(batchId=165)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[mm_loaddata]
(batchId=175)
org.apache.hadoop.hive.ql.TestTxnAddPartition.addPartitionMM (batchId=352)
org.apache.hadoop.hive.ql.TestTxnAddPartition.addPartitionMMVectorized
(batchId=352)
org.apache.hadoop.hive.ql.parse.TestReplTableMigrationWithJsonFormat.testBootstrapLoadMigrationManagedToAcid
(batchId=269)
org.apache.hadoop.hive.ql.parse.TestReplicationScenariosIncrementalLoadAcidTables.testAcidTableIncrementalReplication
(batchId=274)
org.apache.hadoop.hive.ql.parse.TestReplicationWithTableMigration.testBootstrapLoadMigrationManagedToAcid
(batchId=258)
{noformat}
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/19930/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/19930/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-19930/
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: 7 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12988805 - PreCommit-HIVE-Build
> CTASing a dynamically partitioned MM table results in unreadable table
> ----------------------------------------------------------------------
>
> Key: HIVE-22646
> URL: https://issues.apache.org/jira/browse/HIVE-22646
> Project: Hive
> Issue Type: Bug
> Reporter: Karen Coppage
> Assignee: Karen Coppage
> Priority: Major
> Attachments: HIVE-22646.01.patch
>
>
> Repro steps:
> {code:java}
> create table plain (i int, j int, s string);
> insert into plain values (1,1,'1');
> create table ctas partitioned by (s) tblproperties ('transactional'='true',
> 'transactional_properties' = 'insert_only') as select * from plain;
> select * from ctas;
> {code}
>
> We get this error:
> {code:java}
> Error: java.io.IOException: java.io.IOException: Not a file:
> file:/Users/karencoppage/data/upstream/warehouse/ctas/s=1/delta_0000002_0000002_0000/delta_0000002_0000002_0000
> (state=,code=0){code}
> This also happens when CTASing from a dynamically partitioned table.
> As seen in the error message, the issue is that a new delta directory is
> created in the temp directory, and during MoveTask another delta dir is
> unnecessarily created, then the first delta dir is moved into the second. The
> table is unreadable since a file and not another delta dir is expected in the
> top delta dir.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)