Fix to enable metadata load for functional tables.

We used mkdir without a -p to load a hive13 parquet table. This failed when trying to load
the metadata, which is necessary for changes that mutate the warehouse snapshot. With this
change, it now passes.

Change-Id: Id163643c55d44fe6a9503b54397f1f370b198554
This commit is contained in:
ishaan
2015-03-18 16:33:54 -07:00
parent 7101462eb0
commit daf9dfd6e1

View File

@@ -1297,7 +1297,7 @@ year int
month int
day int
---- LOAD
`hadoop fs -mkdir /test-warehouse/alltypesagg_hive_13_1_parquet && \
`hadoop fs -mkdir -p /test-warehouse/alltypesagg_hive_13_1_parquet && \
hadoop fs -put -f ${IMPALA_HOME}/testdata/data/alltypesagg_hive_13_1.parquet \
/test-warehouse/alltypesagg_hive_13_1_parquet/
====