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.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Component/s: JDBC
    • Labels:
      None
    • Hadoop Flags:
      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-7.patch
          193 kB
          Bennie Schut
        2. HIVE-1126-6.patch
          192 kB
          Bennie Schut
        3. HIVE-1126-5.patch
          192 kB
          Bennie Schut
        4. HIVE-1126-4.patch
          244 kB
          Bennie Schut
        5. HIVE-1126-3.patch
          244 kB
          Bennie Schut
        6. HIVE-1126-2.patch
          50 kB
          Bennie Schut
        7. HIVE-1126-1.patch
          41 kB
          Bennie Schut
        8. HIVE-1126.patch
          39 kB
          Bennie Schut
        9. HIVE-1126_patch(0.5.0_source).patch
          76 kB
          Sunil Kumar

          Issue Links

            Activity

              People

              • Assignee:
                bennies Bennie Schut
                Reporter:
                bennies Bennie Schut
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: