Enable Data Sharpening for Cloudera Impala Data Sources
Data Sharpening works with certain partitioned Impala data sources. The partitioned field should be a time-based attribute and in a supported time format (for example, yyyy-MM-dd). Follow the steps below to set up Data Sharpening for an Impala data source.
To configure Data Sharpening for a Cloudera Impala data source configuration:
Log into Composer (either as an administrator or as a user who has been assigned to a group with data source management privileges).
In the table on the Sources page, locate and select the Impala data source configuration you want to edit.
Configure the Granularity for your Default Time Attribute field. Select the Fields tab. Locate the time field you will use as your driving time field. Select an appropriate time granularity in the Settings side bar menu and Save your changes. Consider the 10% rule to ensure Data Sharpening runs when you want it to. See When Data Sharpening Occurs for more information.
Select the Global Settings tab. Enable Time Bar in Time Bar Settings. This allows you to edit all available time bar settings, including Data Sharpening settings. If this is switched off, you cannot configure Data Sharpening settings. For more information about time bar default settings, see Configure Time Bar Defaults.
Select the time field you will use as the driving time field for data sharpening from the drop down for Default Time Attribute.
Slide the Prefer Sharpening switch to the right to enable Data Sharpening for the data source.
Optionally, use the Max Queries slider to specify the maximum number of queries used for Data Sharpening. The default maximum is 10 queries.
When your changes are complete, select Save Settings to save your changes.