Skip to content

Instantly share code, notes, and snippets.

@wyukawa
Created May 26, 2012 06:58
Show Gist options
  • Save wyukawa/2792659 to your computer and use it in GitHub Desktop.
Save wyukawa/2792659 to your computer and use it in GitHub Desktop.
hive.cli.print.header
hive> show tables;
OK
aaa
Time taken: 0.124 seconds
hive> desc aaa;
OK
a int
b int
Time taken: 0.096 seconds
hive> select * from aaa limit 1;
OK
1 1
Time taken: 0.4 seconds
hive> set hive.cli.print.header=true;
hive> select * from aaa limit 1;
OK
a b
1 1
Time taken: 0.072 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment