问题
I have a parquet file location which has data. using HUE , i created a hive table as below
create external table parq_test (
A int,
B int,
C int
)
STORED AS PARQUET
LOCATION '/data/parq_test';
when I say
select * from parq_test;
It is returning 0 rows.
I tried this
MSCK REPAIR TABLE parq_test;
still no luck
below i tried but it is not supporting in my HUE console
ALTER TABLE parq_test RECOVER PARTITIONS;
Infact i test in my notebook , there is data available in my parquet file. So what is wrong here , why my table does not show any data ?
来源:https://stackoverflow.com/questions/60989869/hive-table-created-from-parquet-file-not-showing-any-data-even-though-data-is-t