April 2016
Beginner
268 pages
5h 32m
English
In this recipe, you will learn how to list all the properties of a table in Hive.
This command lists the properties of a table. The general syntax for showing table properties is as follows:
SHOW TBLPROPERTIES tblname;
Use these commands to show table properties in Hive:
Sales table:
Show tblproperties Sales;
numFiles in the Sales table:
Show partitions Sales ('numFiles');