Comments on: Script to delete all tables in Hive http://blog.kylemulka.com/2012/04/script-to-delete-all-tables-in-hive/ Thu, 02 Mar 2017 22:34:44 +0000 hourly 1 http://wordpress.org/?v=4.2.2 By: cse http://blog.kylemulka.com/2012/04/script-to-delete-all-tables-in-hive/comment-page-1/#comment-312529 Thu, 24 Mar 2016 13:56:21 +0000 http://blog.kylemulka.com/?p=543#comment-312529 Thanks, exactly what I was looking for.

Christophe

]]>
By: Rob Cranfill http://blog.kylemulka.com/2012/04/script-to-delete-all-tables-in-hive/comment-page-1/#comment-93393 Wed, 03 Apr 2013 16:21:42 +0000 http://blog.kylemulka.com/?p=543#comment-93393 I might suggest you specify the database being used, if needed:
hive -e ‘use XXX;show tables’ | xargs -I ‘{}’ hive -e ‘use XXX;drop table {}’

/rob

]]>