I have created a table in hive, I would like to know which directory my table is created in? I would like to know the path...
相关问题
-
hive: cast array
> into map - Find function in HIVE
- Hive Tez reducers are running super slow
- Set parquet snappy output file size is hive?
- Hive 'cannot alter table' error
相关文章
- 在hive sql里怎么把"2020-10-26T08:41:19.000Z"这个字符串转换成年月日
- SQL query Frequency Distribution matrix for produc
- Cloudera 5.6: Parquet does not support date. See H
- converting to timestamp with time zone failed on A
- Hive error: parseexception missing EOF
- ClassNotFoundException: org.apache.spark.SparkConf
- How to get previous day date in Hive
- Hive's hour() function returns 12 hour clock v
To see the structure of table (using create statement)-
or
I prefer formatted because it is more human readable format
in hive 0.1 you can use
SHOW CREATE TABLE
to find the path where hive store data.in other versions, there is no good way to do this.
upadted:
thanks Joe K
use
DESCRIBE FORMATTED <table>
to show table information.ps: database.tablename is not supported here.
in the 'default' directory if you have not specifically mentioned your location.
you can use describe and describe extended to know about the table structure.
Further to pensz answer you can get more info using:
or
DESCRIBE FORMATTED my_table;
or
DESCRIBE FORMATTED my_table PARTITION (my_column='my_value');