[ https://issues.apache.org/jira/browse/HIVE-12011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14942418#comment-14942418 ]
Hive QA commented on HIVE-12011: -------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12764699/HIVE-12011.01.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 9643 tests executed *Failed tests:* {noformat} org.apache.hive.hcatalog.api.TestHCatClient.testTableSchemaPropagation {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5515/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5515/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-5515/ 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: 1 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12764699 - PreCommit-HIVE-TRUNK-Build > unable to create temporary table using CTAS if regular table with that name > already exists > ------------------------------------------------------------------------------------------ > > Key: HIVE-12011 > URL: https://issues.apache.org/jira/browse/HIVE-12011 > Project: Hive > Issue Type: Bug > Reporter: Pengcheng Xiong > Assignee: Pengcheng Xiong > Attachments: HIVE-12011.01.patch > > > CTAS temporary table query fails if regular table with the same name already > exists. > Steps to reproduce the issue: > {noformat} > hive> use dbtemptable; > OK > Time taken: 0.273 seconds > hive> create table a(i int); > OK > Time taken: 0.297 seconds > hive> create temporary table a(i int); > OK > Time taken: 0.165 seconds > hive> create table b(i int); > OK > Time taken: 0.212 seconds > hive> create temporary table b as select * from a; > FAILED: SemanticException org.apache.hadoop.hive.ql.parse.SemanticException: > Table already exists: dbtemptable.b > hive> create table c(i int); > OK > Time taken: 0.264 seconds > hive> create temporary table b as select * from c; > FAILED: SemanticException org.apache.hadoop.hive.ql.parse.SemanticException: > Table already exists: dbtemptable.b > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)