Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-3506

Alter table add, drop, rename and datatype change fails with hive compatile property

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.1
    • Component/s: None
    • Labels:
      None

      Description

      1. Alter table add, drop, rename and datatype change fails on partition table with hive compatile property

      when hive.metastore.disallow.incompatible.col.type.changes is set true, add column or any alter fails on parition table in spark 2.2 and above

      2. when table has only two columns with one as partition column, if we allow dropping of non partition column, then it will like table with all the columns as partition column , which is invalid, and fails with above property as true. so block this operation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                akashrn5 Akash R Nilugal
                Reporter:
                akashrn5 Akash R Nilugal
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 6h
                  6h