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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Invalid
    • 1.1.0
    • None
    • Database/Schema
    • None
    • centos 6.6, cloudera 5.3.3

    • 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

            ctang Chaoyu Tang
            dwatzke David Watzke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: