Enriching packages
To optimize the user experience in IBM® Cognos® Analytics components, such as dashboards and explorations, Framework Manager packages must be enriched.
The enrichment process associates the Cognos Analytics data characteristics, such as Time and Geographic location, to query items in the packages. The information from the enrichment process complements the information, such as the data type, column name, or Usage property value, that is derived from the package metadata.
An enriched package includes the data characteristics that are required for the artificial intelligence (AI) based functionality in the product, such as visualization recommendations or intelligently set default values on column properties. For example, to display the relationships diagram in Explore, an enriched package must be used. Otherwise, the relationships diagram isn’t displayed.
- Names of query subjects, query items, and namespaces are changed.
- Data types on query items are changed. For example, number changed to string.
- New query items are added.
- Filters or expressions are changed that significantly alter the values that the query subject would return.
- A deployment archive is imported into a new environment that uses different data from the source used for a previous enrichment.
When a package is republished, existing enriched metadata isn’t removed or refreshed.
Before you begin
To minimize the impact of the enrichment process on the system, consider creating smaller packages that include only a subset of purpose-specific query subjects, and enriching only the smaller packages. For example, a package used by advanced report authors might expose many query subjects where many of the query subjects aren’t relevant when creating dashboards or explorations. You can create a smaller package off the original package, and include only those query subjects that you need in your dashboards and explorations. Enriching this smaller package requires less time and memory.
About this task
You can enrich a package metadata by using the automatic or manual process. The automatic process evaluates all query items of all selected query subjects in the package, and automatically applies the data characteristics to them. To minimize the impact on the system, you can deselect namespaces or individual query subjects to exclude them from the enrichment process. In the manual process, you explicitly apply the data characteristics to individual query items.
When enriching a package, you typically start with the automatic process. Use the manual process to enrich only a small subset of query items or to override values that were set incorrectly by the automatic option.
The automatic enrichment includes the option to retrieve sample data. When this option is selected, the Cognos Analytics query engine connects to the data source and reads a sample of its data. The enrich dialog box allows the sample size to be changed. Setting the sample size to a low value, or not sampling at all, reduces the amount of information that the enrichment can gather. The amount of sampled data also depends on the signons that are used to access the package underlying data sources. An ideal signon can access the tables, views, and columns that the query subjects are based on, and a representative number of rows and values in the queried tables and views.
To access the Enrich package functionality, you need write permissions for the package.