[ https://issues.apache.org/jira/browse/HIVE-12218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14981236#comment-14981236 ]
Xuefu Zhang commented on HIVE-12218: ------------------------------------ +1. I don't see any imports were removed in DDLTask.java in patch #branch-1 though. > Unable to create a like table for an hbase backed table > ------------------------------------------------------- > > Key: HIVE-12218 > URL: https://issues.apache.org/jira/browse/HIVE-12218 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 1.2.1 > Reporter: Chaoyu Tang > Assignee: Chaoyu Tang > Fix For: 2.0.0 > > Attachments: HIVE-12218-branch-1.patch, HIVE-12218.patch > > > For an HBase backed table: > {code} > CREATE TABLE hbasetbl (key string, state string, country string, country_id > int) > STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler' > WITH SERDEPROPERTIES ( > "hbase.columns.mapping" = "info:state,info:country,info:country_id" > ); > {code} > Create its like table using query such as > create table hbasetbl_like like hbasetbl; > It fails with error: > FAILED: Execution Error, return code 1 from > org.apache.hadoop.hive.ql.exec.DDLTask. > org.apache.hadoop.hive.ql.metadata.HiveException: must specify an InputFormat > class -- This message was sent by Atlassian JIRA (v6.3.4#6332)