Member since
08-08-2017
2
Posts
0
Kudos Received
0
Solutions
08-09-2017
07:29 AM
Thanks @bpreachuk for the update. I am looking at a solution, which should automatically create table structure in Hive based on parquet files from cloudera. I.e I want a solution in Hortonworks which can perform like Impala
... View more
08-08-2017
12:58 PM
I transfered parquet file with snappy compression from cloudera system to hortonworks system. I want to load this file into Hive path /test/kpi
Command using from Hive 2.0
CREATE EXTERNAL TABLE tbl_test like PARQUET '/test/kpi/part-r-00000-0c9d846a-c636-435d-990f-96f06af19cee.snappy.parquet' STORED AS PARQUET LOCATION '/test/kpi';
ERROR:
× org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: ParseException line 1:44 cannot recognize input near 'PARQUET' ''/test/kpi/part-r-00000-0c9d846a-c636-435d-990f-96f06af19cee.snappy.parquet'' 'STORED' in table name
... View more
Labels:
- Labels:
-
Apache Hive