Extended vs Formatted Table Properties – Hive

When it comes to verifying the table information, Hive offers two choices for checking its specifics. One is “Extended,” and the other is “Formatted.” Both do the same thing and provide almost identical results, but ‘Formatted’ is better because it delivers the information in a properly formatted manner.

Let’s check it out.
DESCRIBE EXTENDED <TableName>
DESCRIBE FORMATTED <TableName>

Example:
DESCRIBE EXTENDED StatePop
DESCRIBE FORMATTED StatePop

Review the results:

This slideshow requires JavaScript.

Hope you find this article helpful.

One comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s