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

hive 1.1.0 rename column fails: Invalid method name: 'alter_table_with_cascade'

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Invalid
    • Affects Version/s: 1.1.0
    • Fix Version/s: None
    • Component/s: Database/Schema
    • Labels:
      None
    • Environment:

      centos 6.6, cloudera 5.3.3

    • Flags:
      Important

      Description

      Hi,

      we're trying out hive 1.1.0 with cloudera 5.3.3 and since hive 1.0.0 there's (what appears to be) a regression.

      This ALTER command that renames a table column used to work fine in older versions but in hive 1.1.0 it does throws this error:

      hive> CREATE TABLE test_change (a int, b int, c int);
      OK
      Time taken: 2.303 seconds
      hive> ALTER TABLE test_change CHANGE a a1 INT;
      FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Unable to alter table. Invalid method name: 'alter_table_with_cascade'

        Attachments

          Activity

            People

            • Assignee:
              ctang Chaoyu Tang
              Reporter:
              dwatzke David Watzke
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: