How to drop hive partitions with setting limit -


i have drop alter query , want set limit it.

query :

alter table dim_known_hosts drop if exists partition (dimensional_partition_folder<'2016_01_04_00_30'); 

it drops partition less 2016_01_04_00_30. want delete first 10.


Comments

Popular posts from this blog

Sass watch command compiles .scss files before full sftp upload -

filehandler - java open files not cleaned, even when the process is killed -

How to read bytes line by line in Java using NIO or apache commons IO? Whichever is more efficent -