Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Document HIVE-2909

...

SHOW INDEXES shows all of the indexes on a certain column, as well as information about them: index name, table name, names of the columns used as keys, index table name, index type, and comment. If the FORMATTED keyword is used, then column titles are printed for each column. Not available until 0.7 release.

Show Columns

Info
titleVersion information

As of Hive 0.10

Code Block

SHOW COLUMNS (FROM|IN) table_name [(FROM|IN db_name]

SHOW COLUMNS shows all the columns in a table including partition columns.

Describe Database

Code Block
DESCRIBE DATABASE db_name

...