[ https://issues.apache.org/jira/browse/HIVE-28349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhihua Deng updated HIVE-28349: ------------------------------- Labels: hive-4.0.1-merged hive-4.0.1-must pull-request-available (was: hive-4.0.1-must pull-request-available) > SHOW TABLES with invalid connector, giving 0 results, instead of failing > ------------------------------------------------------------------------ > > Key: HIVE-28349 > URL: https://issues.apache.org/jira/browse/HIVE-28349 > Project: Hive > Issue Type: Sub-task > Components: Hive, Standalone Metastore > Reporter: Sai Hemanth Gantasala > Assignee: Sai Hemanth Gantasala > Priority: Major > Labels: hive-4.0.1-merged, hive-4.0.1-must, > pull-request-available > Fix For: 4.1.0 > > > SHOW TABLES with invalid connector, giving 0 results, instead of failing > Steps to repro: > {code:java} > drop connector postgres_connector; > create connector postgres_connector type 'postgres' url > 'jdbc:postgresql://1.1.1.1:31462' with DCPROPERTIES > ("hive.sql.dbcp.username"="root", "hive.sql.dbcp.password"="cloudera"); > drop database pg_hive_testing; > create remote database pg_hive_testing using postgres_connector with > DBPROPERTIES ("connector.remoteDbName"="postgres"); > show tables in pg_hive_testing; {code} > The last query gives 0 rows (not a failure). -- This message was sent by Atlassian Jira (v8.20.10#820010)