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

Missing some Jdbc functionality like getTables getColumns and HiveResultSet.get* methods based on column name.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • JDBC
    • None
    • Reviewed

    Description

      I've been using the hive jdbc driver more and more and was missing some functionality which I added

      HiveDatabaseMetaData.getTables
      Using "show tables" to get the info from hive.

      HiveDatabaseMetaData.getColumns
      Using "describe tablename" to get the columns.

      This makes using something like SQuirreL a lot nicer since you have the list of tables and just click on the content tab to see what's in the table.

      I also implemented
      HiveResultSet.getObject(String columnName) so you call most get* methods based on the column name.

      Attachments

        1. HIVE-1126_patch(0.5.0_source).patch
          76 kB
          Sunil Kumar
        2. HIVE-1126.patch
          39 kB
          Bennie Schut
        3. HIVE-1126-1.patch
          41 kB
          Bennie Schut
        4. HIVE-1126-2.patch
          50 kB
          Bennie Schut
        5. HIVE-1126-3.patch
          244 kB
          Bennie Schut
        6. HIVE-1126-4.patch
          244 kB
          Bennie Schut
        7. HIVE-1126-5.patch
          192 kB
          Bennie Schut
        8. HIVE-1126-6.patch
          192 kB
          Bennie Schut
        9. HIVE-1126-7.patch
          193 kB
          Bennie Schut

        Issue Links

          Activity

            People

              bennies Bennie Schut
              bennies Bennie Schut
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: