Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SettingDescription
Table

Select a database table from the drop-down list. The name of the table columns and their data type will appear.

Tip
titleHint!

You can map more than one table to a UDR type. This makes it possible to use the same profile for multiple Data Hub agents.


Note
titleNote!

If you have created a new table that appears to be missing in the drop-down list, click the Refresh button in Default tab Impala tab and then reselect the database. The table should now be listed.


UDR TypeClick the Browse button and then select a UDR type that will be routed to a Data Hub agent. For information about Ultra types that can be mapped to Impala types, see Compatible Types below.
Auto Map

Click this button to automatically map UDR fields and database columns with identical names. The automatic mapping is not case-sensitive. If a field cannot be mapped, the current value in the UDR Field column remains unchanged.

ColumnThe name of the columns in the selected table.
Type

Clicking the cell, displays a list of valid Impala types. Each column must be mapped against a type. For information about Ultra types that can be mapped to Impala types, see Compatible Types below.

UDR FieldSelect a UDR field from the drop-down list. This represents selectable fields available based on the selected UDR Type above.
Date Hint

Select the date format to be stored in the table. A date in the Ultra format can be stored as date, string, or integer types.

When the type is string or integer, you must select the corresponding date format from a drop-down list in this column:

  • yyyyMMddHH - e g 2018123013
  • yyyyMMdd - e g 20181230
  • yyyyMM - 201812

  • yyyy - 2018

The selected format determines the granularity of date pickers in the Web UI.

When you change the Date Hint value of a partition column for an existing profile, make sure to review the settings of Data Hub task workflows that depend on the updated profile and table.

Info

Date Hint is required if the column is a partition.


Warning

If the table already contains data when you change the Date Hint of a partition column, the Data Hub task agent will fail to delete any of the partitions. To resolve this issue you must manually delete the partitions that contain the old format, e g using Cloudera Hue.

Info
titleExample - SQL statement to partition


Code Block
alter table default.cw_carrier_voice_mis drop partition (yearmonthday=201812);




...