Use the Hive Table Editor to define table properties. This procedure assumes you are working in a physical model, with Hive defined as the target server.
To define properties for a Hive table:
The Hive Table Editor opens.
Note: Click New on the toolbar to create a new table. Use the Enter filter text box to filter a very large list of tables to quickly locate the one that you want to define.
Specifies the physical name of the table. Change the physical name of the table in this field.
Specifies the database to which the table belongs. Select a database from the drop-down list or click New to create one.
Specifies the type of the table. Select whether the table is a managed or external table.
Indicates that the table is temporary.
Specifies whether the table is suppressed from a logical model and appears in a physical model only.
Specifies whether you want to read metadata and write it back. This is similar to causing pre/post execute hooks to fire.
Generates SQL during forward engineering. Clear the check box if you do not want to generate SQL.
Detects the Physical Name of the table. Set the inheritance and override options here.
Indicates that a specific distributed file system directory must be used to store data files.
Lets you specify additional table properties.
Lets you specify the table from which to copy table definition exactly (without copying its data). The new table contains no rows.
Lets you specify the view from which to copy view definition exactly (without copying its data). It creates a table by adopting the schema of a view (fields and partition columns) using defaults for SerDe and file formats.
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.
Lets you specify the table properties that can be overwritten.
Specifies a delimiter for structure fields. You can include any single character, but the default is '\001'.
Specifies the escape sequence.
Specifies a delimiter for array items. You can include any single character, but the default is '\002'.
Specifies a delimiter for map keys. You can include any single character, but the default is '\003'.
Specifies a delimiter for map keys. You can include any single character, but the default is '\n'.
Specifies a custom NULL format apart from the Stored As options mentioned above.
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 the name of a Java class that implements the Hive StorageHandler interface.
Specifies SerDe properties to be associated with the storage handler class.
Select the columns based on which you want to distribute rows across buckets.
Select the column based on which you want the rows to be sorted within each bucket.
Specifies the number of buckets to be created.
Specifies the name of the partition.
Specifies the physical data type for the partition element. You can change the data type using the drop-down. The drop-down list contains the data types related to the current domain.
Displays the notes entered by the user. Click the Edit icon to add comments.
Specifies partition specification and location once partition elements are created.
Lets you select the columns that you want to skew.
Specifies whether a skewed table uses the list bucketing feature, which creates subdirectories for skewed values.
Specifies the values based on which you want to skew the table.
Specifies the number of partitions the table has.
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.
Defines row count for the table. Enter a value in the field.
Defines row sizing for the table. Enter a value in the field.
Defines growth increments for the table. Enter a value in the field.
The table is defined and the Hive Table Editor closes.
For more information on table properties, refer to Hive documentation.
Copyright © 2017 erwin Inc.
All rights reserved.
|
|