Is there any way to skip Trash while dropping a partition using the command below from a Managed Table in Hive?
ALTER TABLE <table> DROP PARITION (<partition_name>)
Similar to what we do when removing files using hadoop fs command like
hadoop fs -rmr -skipTrash
Try this set.
SET hive.warehouse.data.skiptrash=true;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With