Skip to main content

resolve_catalog_options

Function resolve_catalog_options 

Source
pub async fn resolve_catalog_options(
    catalog: &DeltaCatalogType,
    catalog_database: Option<&str>,
    catalog_name: Option<&str>,
    _catalog_schema: Option<&str>,
    table_path: &str,
    base_storage_options: &HashMap<String, String>,
    catalog_properties: &HashMap<String, String>,
) -> Result<(String, HashMap<String, String>), ConnectorError>
Expand description

Resolves catalog-aware table URI and merges catalog-specific storage options.

  • None: returns table path and storage options as-is.
  • Glue: calls AWS Glue API to resolve the table’s S3 location.
  • Unity: injects workspace URL and access token into storage options.

§Errors

Returns ConnectorError if catalog resolution fails.