I am a newbie in Hadoop.
We have issue in hive - data in our staging tables(external tables) and that data we are inserting in target table which is partitioned by month(managed table).
But after some time, when we do count(*) - can check the total count but select * from target table limit 2; shows no data.
Ran Analyze target table compute statistics command and describe the table that found number of rows: 0 ...
But unable to find how data got truncated.
Earlier thought it is metadata got corrupted. Don't know if same issue still exists. Has someone faced similar issue? Can someone help, as how table ddl exists but it contains no data
SHOW CREATE TABLE <table_name>
for better understanding! - Gomz