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

Schema changes in HIVE-12274 for Oracle may not work for upgrade

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 2.3.0, 3.0.0
    • Component/s: Metastore
    • Labels:
      None

      Description

      According to https://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1770086700346491686 (reported in HIVE-12274)
      The alter table command to change the column datatype from VARCHAR to CLOB may not work. So the correct way to accomplish this is to add a new temp column, copy the value from the current column, drop the current column and rename the new column to old column.

        Attachments

        1. HIVE-17333.patch
          1 kB
          Naveen Gangam
        2. HIVE-17333.1.patch
          2 kB
          Naveen Gangam

          Activity

            People

            • Assignee:
              ngangam Naveen Gangam
              Reporter:
              ngangam Naveen Gangam
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: