Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-182

Add database name parameter to getTable and dropTable in Hive.java

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.3.0
    • Query Processor
    • None
    • Reviewed
    • Hide
      HIVE-192. Add database name parameter to getTable and dropTable. (Johan Oskarsson via zshao)
      Show
      HIVE-192 . Add database name parameter to getTable and dropTable. (Johan Oskarsson via zshao)

    Description

      Currently the methods in the Hive class in the ql module look like this:

      public void dropTable(String tableName) throws HiveException
      public Table getTable(final String tableName) throws HiveException

      I'd like to be able to specify the database for the tests in HIVE-142 so I propose adding:
      public void dropTable(String dbName, String tableName) throws HiveException
      public Table getTable(final String dbName, final String tableName) throws HiveException

      Attachments

        1. HIVE-182.patch
          12 kB
          Johan Oskarsson
        2. HIVE-182.patch
          13 kB
          Johan Oskarsson

        Issue Links

          Activity

            People

              johanoskarsson Johan Oskarsson
              johanoskarsson Johan Oskarsson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: