[ https://issues.apache.org/jira/browse/HIVE-22209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16933997#comment-16933997 ]
Hive QA commented on HIVE-22209: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12980761/HIVE-22209.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:green}SUCCESS:{color} +1 due to 16833 tests passed Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/18657/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/18657/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-18657/ 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 {noformat} This message is automatically generated. ATTACHMENT ID: 12980761 - PreCommit-HIVE-Build > Creating a materialized view with no tables should be handled more gracefully > ----------------------------------------------------------------------------- > > Key: HIVE-22209 > URL: https://issues.apache.org/jira/browse/HIVE-22209 > Project: Hive > Issue Type: Bug > Components: Materialized views > Reporter: Jesus Camacho Rodriguez > Assignee: Steve Carlin > Priority: Minor > Attachments: HIVE-22209.patch > > > Currently, materialized views without a table reference are not supported. > However, instead of printing a clear message about it, when a materialized > view is created without a table reference, we fail with an unclear message. > {code} > > create materialized view mv_test1 as select 5; > (...) > ERROR : FAILED: Execution Error, return code 1 from > org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Add request > failed : > INSERT INTO MV_TABLES_USED (MV_CREATION_METADATA_ID,TBL_ID) VALUES (?,?) ) > INFO : Completed executing > command(queryId=hive_20190916203511_b609cccf-f5e3-45dd-abfd-6e869d94e39a); > Time taken: 10.469 seconds > Error: Error while processing statement: FAILED: Execution Error, return code > 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaExcep > tion(message:Add request failed : INSERT INTO MV_TABLES_USED > (MV_CREATION_METADATA_ID,TBL_ID) VALUES (?,?) ) (state=08S01,code=1) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)