[ https://issues.apache.org/jira/browse/HIVE-10552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14521512#comment-14521512 ]
Chaoyu Tang commented on HIVE-10552: ------------------------------------ As I know, Cloudera 5.3.3 is Hive 13.1 and does not support alter_table_with_cascade. Alter table .. Cascade (HIVE-8839) is in Hive 1.1 and the alter_table_with_cascade is a new HMS API. I wonder if it is the problem from your mixing of the Cloudera5.3.3 with Hive 1.1? Could you detail more about how you did? > hive 1.1.0 rename column fails: Invalid method name: > 'alter_table_with_cascade' > ------------------------------------------------------------------------------- > > Key: HIVE-10552 > URL: https://issues.apache.org/jira/browse/HIVE-10552 > Project: Hive > Issue Type: Bug > Components: Database/Schema > Affects Versions: 1.1.0 > Environment: centos 6.6, cloudera 5.3.3 > Reporter: David Watzke > Priority: Blocker > > 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' -- This message was sent by Atlassian JIRA (v6.3.4#6332)