updated impala_tables_metadata.sh

pull/2/head
Hari Sekhon 4 years ago
parent 592d840cf5
commit 26e4926b5b

@ -25,8 +25,14 @@ srcdir="$(dirname "${BASH_SOURCE[0]}")"
usage_description=" usage_description="
Print each table's DDL metadata field eg. Location Print each table's DDL metadata field eg. Location
Output Format:
<db>.<table> <field>
FILTER environment variable will restrict to matching fully qualified tables (<db>.<table>) FILTER environment variable will restrict to matching fully qualified tables (<db>.<table>)
Caveats: Caveats:
Hive is more reliable as Impala breaks on some table metadata definitions where Hive doesn't Hive is more reliable as Impala breaks on some table metadata definitions where Hive doesn't
@ -34,8 +40,10 @@ Caveats:
Impala is faster than Hive for the first ~1000 tables but then slows down Impala is faster than Hive for the first ~1000 tables but then slows down
so if you have a lot of tables I recommend you use the Hive version of this instead so if you have a lot of tables I recommend you use the Hive version of this instead
Tested on Impala 2.7.0, 2.12.0 on CDH 5.10, 5.16 with Kerberos and SSL Tested on Impala 2.7.0, 2.12.0 on CDH 5.10, 5.16 with Kerberos and SSL
For more documentation see the comments at the top of impala_shell.sh For more documentation see the comments at the top of impala_shell.sh
For a better version written in Python see DevOps Python tools repo: For a better version written in Python see DevOps Python tools repo:

Loading…
Cancel
Save