Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-24396 [New Feature] Add data connector support for remote datasources
  3. HIVE-28349

SHOW TABLES with invalid connector, giving 0 results, instead of failing

    XMLWordPrintableJSON

Details

    Description

      SHOW TABLES with invalid connector, giving 0 results, instead of failing

      Steps to repro:

      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; 

      The last query gives 0 rows (not a failure).

      Attachments

        Issue Links

          Activity

            People

              hemanth619 Sai Hemanth Gantasala
              hemanth619 Sai Hemanth Gantasala
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: