Use the Hive Table Partition Editor to define table partitions in a Hive physical model.
To define a Hive partition
An instance of Partition is created.
The Hive Table Partition Editor opens.
Note: Click New on the toolbar to create a partition. Use the Enter filter text box to filter a very large list of always encrypted keys to quickly locate the one that you want to define.
Specifies the name of the partition. Set the name of the partition in this field.
Specifies that the partition's files should be moved into a Hadoop Archive (HAR).
Specifies whether you want to read metadata and write it back. This is similar to causing pre/post execute hooks to fire.
Specifies the name of a Java class that implements the Hive SerDe interface.
Specifies the type of file in which data is to be stored. The file can be a TEXTFILE, SEQUENCEFILE, RCFILE, or BINARY SEQUENCEFILE.
Lets you specify your own Java class if you want Hive to read from a different file format. The value of this property depends on the Stored As value.
Lets you specify your own Java class if you want Hive to write to a different file format. The value of this property depends on the Stored As value.
Specifies SerDe properties to be associated with the storage handler class.
Specifies whether multiple small RC or ORC files contained in a table or partition should be merged into larger files.
Specifies whether data should be compacted periodically to save space and optimize data access. Select the type of compaction from the drop-down list:
Takes one or more delta files and the base file for the bucket and rewrites them into a new base file per bucket.
Takes a set of existing delta files and rewrites them to a single delta file per bucket.
Specifies the table to which the partition should be moved to. Select a table from the drop-down list or click New to create one.
Specifies the number of files the table has.
Specifies the number of rows the table has
Specifies the size of the original dataset.
Specifies the amount of storage the original dataset takes.
Note: The above information is fetched only when reverse engineering from database is done and you have chosen to store statistical information.
The partition is defined and the Hive Table Partition Editor closes.
For more information, refer to Hive documentation.
Copyright © 2017 erwin Inc.
All rights reserved.
|
|