[
https://issues.apache.org/jira/browse/HIVE-26246?focusedWorklogId=778972&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-778972
]
ASF GitHub Bot logged work on HIVE-26246:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 07/Jun/22 10:20
Start Date: 07/Jun/22 10:20
Worklog Time Spent: 10m
Work Description: saihemanth-cloudera commented on code in PR #3304:
URL: https://github.com/apache/hive/pull/3304#discussion_r891041982
##########
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/TestFilterHooks.java:
##########
@@ -210,6 +225,12 @@ protected void creatEnv(Configuration conf) throws
Exception {
client.dropDatabase(DBNAME1, true, true, true);
client.dropDatabase(DBNAME2, true, true, true);
+ try {
+ client.dropDataConnector(DCNAME1, true, true);
+ client.dropDataConnector(DCNAME2, true, true);
+ } catch (NoSuchObjectException e) {
+ // no op
Review Comment:
Yeah, I think this is a bug and needs fixing. Because
`drop connector if exists unexisting_connector;`
shouldn't throw an error if the connector doesn't exist.
Issue Time Tracking
-------------------
Worklog Id: (was: 778972)
Time Spent: 1h 20m (was: 1h 10m)
> Filter out results 'show connectors' on HMS client-side
> ---------------------------------------------------------
>
> Key: HIVE-26246
> URL: https://issues.apache.org/jira/browse/HIVE-26246
> Project: Hive
> Issue Type: Sub-task
> Affects Versions: 4.0.0-alpha-1, 4.0.0-alpha-2
> Reporter: zhangbutao
> Assignee: zhangbutao
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)