Sai Hemanth Gantasala created HIVE-28349:
--------------------------------------------

             Summary: 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
             Fix For: 4.0.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)

Reply via email to