Hive
  1. Hive
  2. HIVE-5376

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Issue Links

          Activity

          Sergey Shelukhin created issue -
          Sergey Shelukhin made changes -
          Field Original Value New Value
          Description Followup for HBASE-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.
          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.
          Vikram Dixit K made changes -
          Assignee Vikram Dixit K [ vikram.dixit ]
          Sergey Shelukhin made changes -
          Link This issue is duplicated by HIVE-6775 [ HIVE-6775 ]
          Hari Sankar Sivarama Subramaniyan made changes -
          Assignee Vikram Dixit K [ vikram.dixit ] Hari Sankar Sivarama Subramaniyan [ hsubramaniyan ]
          Hari Sankar Sivarama Subramaniyan made changes -
          Attachment HIVE-5376.1.patch [ 12638360 ]
          Hari Sankar Sivarama Subramaniyan made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hari Sankar Sivarama Subramaniyan made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Hari Sankar Sivarama Subramaniyan made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hari Sankar Sivarama Subramaniyan made changes -
          Attachment HIVE-5376.2.patch [ 12639448 ]
          Hari Sankar Sivarama Subramaniyan made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Hari Sankar Sivarama Subramaniyan made changes -
          Attachment HIVE-5376.3.patch [ 12640531 ]
          Hari Sankar Sivarama Subramaniyan made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Lefty Leverenz made changes -
          Link This issue is related to HIVE-6934 [ HIVE-6934 ]
          Hari Sankar Sivarama Subramaniyan made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Hari Sankar Sivarama Subramaniyan made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Harish Butani made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ashutosh Chauhan made changes -
          Fix Version/s 0.14.0 [ 12326450 ]
          Thejas M Nair made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development