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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 2.3.0, 3.0.0
    • Metastore
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: