Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22995 Add support for location for managed tables on database
  3. HIVE-24076

MetastoreDirectSql.getDatabase() needs a space in the query

    XMLWordPrintableJSON

Details

    Description

      String queryTextDbSelector= "select "
      + "\"DB_ID\", \"NAME\", \"DB_LOCATION_URI\", \"DESC\", "
      + "\"OWNER_NAME\", \"OWNER_TYPE\", \"CTLG_NAME\" , \"CREATE_TIME\", \"DB_MANAGED_LOCATION_URI\""
      + "FROM "+ DBS

      There needs to be a space before FROM so the query is right. Currently it falls back to JDO, so not lapse in functionality.

      Attachments

        Issue Links

          Activity

            People

              ngangam Naveen Gangam
              ngangam Naveen Gangam
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 0.5h
                  0.5h