0 votes
in Big Data | Hadoop by
How will you prevent data to be dropped or queried from a partition in Hive?

1 Answer

0 votes
by

We can use ALTER TABLE table_name ENABLE NO_DROP to prevent a table partition from being dropped.

We can use ALTER TABLE table_name ENABLE OFFLINE to prevent a table partition from

 

being queried. In offline mode, we can still access metadata of a table partition.

Related questions

0 votes
asked Apr 3, 2020 in Big Data | Hadoop by Tate
0 votes
asked Jan 12, 2020 in Big Data | Hadoop by sharadyadav1986
...