Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Duplicate
-
Impala 1.1.1
-
None
Description
If I create an external parquet table pointing to an empty directory, it does not work:
[example.com:21000] > create external table foo (id integer) STORED AS PARQUETFILE LOCATION '/empty/directory'; Query: create external table foo (id integer) STORED AS PARQUETFILE LOCATION '/empty/directory' [example.com:21000] > select * from foo; ERROR: AnalysisException: Failed to load metadata for table: default.foo CAUSED BY: TableLoadingException: Failed to load metadata for table: foo CAUSED BY: MetaException: org.apache.hadoop.hive.serde2.SerDeException SerDe parquet.hive.serde.ParquetHiveSerDe does not exist
I am not even able to drop the table at this point.
So, how does one create a new external Parquet table that one can then insert data into?