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

Hive schema broken on postgres

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • Metastore
    • None

    Description

      Hive metastore schema on postgres is broken after the commit for HIVE-17954. Basicaly the following file metastore/scripts/upgrade/postgres/hive-schema-3.0.0.postgres.sql incorrectly defines WM_POOL with column ALLOC_FRACTION with DOUBLE data type, it should be double precision.

      CREATE TABLE "WM_POOL" (
          "POOL_ID" bigint NOT NULL,
          "RP_ID" bigint NOT NULL,
          "PATH" character varying(1024) NOT NULL,
          "ALLOC_FRACTION" DOUBLE,
          "QUERY_PARALLELISM" integer,
          "SCHEDULING_POLICY" character varying(1024)
      );
      

      Attachments

        1. HIVE-18195.patch
          2 kB
          Deepesh Khandelwal

        Activity

          People

            deepesh Deepesh Khandelwal
            deepesh Deepesh Khandelwal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: