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

HMSHandler get_all_tables method can not retrieve tables from remote database

    XMLWordPrintableJSON

Details

    Description

      At present, get_all_tablesĀ  method in HMSHandler would not get table from remote database. However, other component like presto and some jobs we developed have used this api instead of get_tables which could retrieve all tables both native database and remote database .

      // get_all_tables only can get tables from native database
      public List<String> get_all_tables(final String dbname) throws MetaException {
      // get_tables can get tables from both native and remote database
      public List<String> get_tables(final String dbname, final String pattern)

      I think we shoud fix get_all_tables to make it retrive tables from remote database.

      Attachments

        Issue Links

          Activity

            People

              zhangbutao Butao Zhang
              zhangbutao Butao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m