I have data saved as parquet files in Azure blob storage. Data is partitioned by year, month, day and hour like:
cont/data/year=2017/month=02/day=01/
I want to create external table in Hive using following create statement, which I wrote using this reference.
CREATE EXTERNAL TABLE table_name (uid string, title string, value string)
PARTITIONED BY (year int, month int, day int) STORED AS PARQUET
LOCATION 'wasb://cont@storage_name.blob.core.windows.net/data';
This creates table but has no rows when querying. I tried same create statement without PARTITIONED BY
clause and that seems to work. So looks like issue is with partitioning.
What am I missing?
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask
So looks like there is some other issue. – Pauperism