Chaoyu Tang created HIVE-12218:
----------------------------------
Summary: 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
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)