[
https://issues.apache.org/jira/browse/HIVE-22956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17049434#comment-17049434
]
Hive QA commented on HIVE-22956:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12995269/HIVE-22956.01.patch
{color:green}SUCCESS:{color} +1 due to 2 test(s) being added or modified.
{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 18097 tests
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[drop_table_used_by_mv]
(batchId=106)
{noformat}
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/20913/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/20913/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-20913/
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: 1 tests failed
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12995269 - PreCommit-HIVE-Build
> Fix checking if a table is used by a materialized view before dropping
> ----------------------------------------------------------------------
>
> Key: HIVE-22956
> URL: https://issues.apache.org/jira/browse/HIVE-22956
> Project: Hive
> Issue Type: Bug
> Components: Hive
> Reporter: Miklos Gergely
> Assignee: Miklos Gergely
> Priority: Major
> Fix For: 4.0.0
>
> Attachments: HIVE-22956.01.patch
>
>
> Currently when a table is dropped we are deriving if it was used by any
> materialized views from the error message got from the Metastore. Instead of
> this we should check it in advance, from the HiveMaterializedViewsRegistry.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)