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

Hive does not honor type for partition columns when altering column type

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0
    • Component/s: CLI
    • Labels:
      None

      Description

      Followup for HIVE-5297. If partition column of type string is changed to int, the data is not verified. The values for partition columns are all in metastore db, so it's easy to check and fail the type change.
      alter_partition_coltype.q (or some other test?) checks this behavior right now.

        Attachments

        1. HIVE-5376.3.patch
          90 kB
          Hari Sankar Sivarama Subramaniyan
        2. HIVE-5376.2.patch
          86 kB
          Hari Sankar Sivarama Subramaniyan
        3. HIVE-5376.1.patch
          68 kB
          Hari Sankar Sivarama Subramaniyan

          Issue Links

            Activity

              People

              • Assignee:
                hsubramaniyan Hari Sankar Sivarama Subramaniyan
                Reporter:
                sershe Sergey Shelukhin
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: