Created
November 21, 2015 03:18
-
-
Save nsabharwal/ae2317e1bec173f6cdb6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql -u hive -p -e " select concat( 'show create table ' , TBL_NAME,';') from TBLS" hive > file.sql | |
hive -f /tmp/file.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment