Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-2874

HIVE2: can't get the table list if using other than default database

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.7
    • 8.7
    • Connector API
    • Hide

      Setup other than default database in Hive2Server.

      And put a few tables in this non-default database.

      try to connect to this non-default database and retrieve the table list. It always return the list of table from DEFAULT database instead.

      Show
      Setup other than default database in Hive2Server. And put a few tables in this non-default database. try to connect to this non-default database and retrieve the table list. It always return the list of table from DEFAULT database instead.

      I am not able to retrieve the table list other than default database.

      I have create a database other than default. And I named it as "Testing".

      And I put the database name in the URL:

      jdbc:hive2://machine_name:port/testing

      And it always returns a list of tables from default database. Nothing from "Testing" database

              rhn-engineering-rareddy Ramesh Reddy
              mchantibco Ivan Chan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: