Information about Hive Partitiions....
CREATE [TEMPORARY] [EXTERNAL] TABLE [IF NOT EXISTS] [db_name.]table_name -- (Note: TEMPORARY available in Hive
0.14
.
0
and later)
[(col_name data_type [COMMENT col_comment], ...)]
[COMMENT table_comment]
[PARTITIONED BY (col_name data_type [COMMENT col_comment], ...)]
[CLUSTERED BY (col_name, col_name, ...) [SORTED BY (col_name [ASC|DESC], ...)] INTO num_buckets BUCKETS]
[SKEWED BY (col_name, col_name, ...) -- (Note: Available in Hive
0.10
.
0
and later)]
ON ((col_value, col_value, ...), (col_value, col_value, ...), ...)
[STORED AS DIRECTORIES]
[.......
[LOCATION
'location1'
] partition_spec [LOCATION
'location2'
] ...;
partition_spec:
: (partition_column = partition_col_value, partition_column = partition_col_value, ...)
CREATE [TEMPORARY] [EXTERNAL] TABLE [IF NOT EXISTS] [db_name.]table_name -- (Note: TEMPORARY available in Hive
0.14
.
0
and later)
[(col_name data_type [COMMENT col_comment], ...)]
[COMMENT table_comment]
[PARTITIONED BY (col_name data_type [COMMENT col_comment], ...)]
[CLUSTERED BY (col_name, col_name, ...) [SORTED BY (col_name [ASC|DESC], ...)] INTO num_buckets BUCKETS]
[SKEWED BY (col_name, col_name, ...) -- (Note: Available in Hive
0.10
.
0
and later)]
ON ((col_value, col_value, ...), (col_value, col_value, ...), ...)
[STORED AS DIRECTORIES]
[.......
[LOCATION
'location1'
] partition_spec [LOCATION
'location2'
] ...;
partition_spec:
: (partition_column = partition_col_value, partition_column = partition_col_value, ...)
At a minimum, I propose that we add display support for partitions. That is, we add another entry in the "General" section under the "Storage" tab that lists the partitions names and associated data types. This field will be grayed out and not editable. If a table has partitions, display the partition information in table properties or alter table. This field will be grayed out in create table. We could make the field editable for create table only and let the customer type in the partition information.
At a minimum, I propose that we add display support for partitions. That is, we add another entry in the "General" section under the "Storage" tab that lists the partitions names and associated data types. This field will be grayed out and not editable. If a table has partitions, display the partition information in table properties or alter table. This field will be grayed out in create table. We could make the field editable for create table only and let the customer type in the partition information.
Aqua Data Studio 19.0.0-dev-25
Build #: 54024
Built on: 2017-Apr-20 04:29:33 PM
Aqua Data Studio 19.0.0-dev-25
Build #: 54024
Built on: 2017-Apr-20 04:29:33 PM
Issue #13790 |
New |
Completion |
No due date |
No fixed build |
No time estimate |
2 issue links |
relates to #13895
Issue #13895Add "Partion Type" column to Table Detail View for al RDBMS |
is required by #13884
Issue #13884Should we display partition column in ER Diagram table? |
Information about Hive Partitiions....