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

replace columns should prohibit using partition column names.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      create table src_part_w(key int , value string) partitioned by (ds string, hr int);
      alter table src_part_w replace columns (key int, ds string, hr int, value string);

      should not be allowed. Once the "alter table replace columns ..." is done, all commands on this table will fail. And not able to change the schema back.

      Attachments

        Activity

          People

            Unassigned Unassigned
            he yongqiang He Yongqiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: