hive table created from parquet file not showing any data, even though data is there in parquet file

↘锁芯ラ 提交于 2020-04-18 05:36:14

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!