Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-576 complete jdbc driver
  3. HIVE-2320

Implement setCatalog() and allow setting active database to a database other than "default"

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.7.1
    • None
    • JDBC

    Description

      Currently, the JDBC driver always use "default" as the schema/database. We should allow setting the active schema to another schema.

      1. implement the setCatalog() method
      2. modify HiveConnection constructor to take the schema from the URL and call setCatalog
      3. change configureConnection() and execute "use <schema>;" statement

      See https://issues.apache.org/jira/browse/HIVE-675

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              orenlederman Oren Lederman
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified