Oracle 视图 ALL_HIVE_TAB_PARTITIONS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图ALL_HIVE_TAB_PARTITIONS用于查看Hive表上存在的分区信息,开发者可以使用该视图来获取Hive表上对应分区的分区值,包括分区名、列类型、列值等。
例如:
SELECT
*
FROM
all_hive_tab_partitions;
此查询可以获取所有Hive表上存在的分区信息,以此暴露出Hive分区设置情况。
官方英文解释
ALL_HIVE_TAB_PARTITIONS
provides information about all Hive table partitions accessible to the current user in the database.
Related Views
-
DBA_HIVE_TAB_PARTITIONS
provides information about all Hive table partitions in the database. -
USER_HIVE_TAB_PARTITIONS
provides information about all Hive table partitions owned by the current user in the database.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Hadoop cluster name |
|
|
|
Hive database where the Hive table resides |
|
|
|
Hive table name |
|
|
|
Physical location of the Hive partition |
|
|
|
Owner of the Hive table |
|
|
|
The current Hive partition specification |
|
|
|
Partition size in bytes |
|
|
|
Time that the partition was created |
See Also:
-
“DBA_HIVE_TAB_PARTITIONS”
-
“USER_HIVE_TAB_PARTITIONS”