URI to fetch, upload, and update policy resources using REST APIs

The Cloudera Lakehouse Optimizer resources use URI for identification. The URI is used to fetch, upload, or update the policy resources when you use REST APIs.

To construct a URI, for example the dlm://tpp/harmonycatalog/ns_expire_snapshots/ClouderaAdaptive URI, you must provide the following elements:
  1. The dlm URI scheme.
  2. An authority, such as tpp for table policy property, tps for table policy script, or tpa for table policy association.
  3. The catalog / namespace / table / policy in the given order. This determines the level at which the script and properties have been defined, and also determines the scope of the resource. The default resource is dlm://tps:default/ClouderaAdaptive.
Examples:
  • The dlm://tpp/harmonycatalog/ns_expire_snapshots/ClouderaAdaptive URI identifies the ClouderaAdaptive policy properties (JSON) defined for all tables in the ns_expire_snapshots namespace in the harmonycatalog catalog.
  • The dlm://tpp/harmonycatalog/ns_expire_snapshots/tbl_many_snaps/ClouderaAdaptive URI identifies the properties defined for the tbl_many_snaps table in the ns_expire_snapshots namespace of the harmonycatalog catalog.

Replace harmonycatalog, ns_expire_snapshots, and tbl_many_snaps with the catalog, namespace, and table names for your Cloudera Harmony Catalog instance and onboarded Iceberg objects.

To understand the policy resources and the policy structure, see Understanding policy resources.