Skip to main content
Version: 1.3.1

Test an existing catalog connection

POST 

/metalakes/:metalake/catalogs/:catalog/testConnection

Runs the provider's smallest meaningful, read-only catalog-level operation using the catalog's stored configuration and effective credentials. Optional proposed catalog changes are applied to a temporary effective configuration for this probe and are not persisted. This fail-fast preflight surfaces configuration and connectivity failures before regular catalog operations, but does not guarantee that every object-level or mutating operation will succeed. Fileset catalogs test all catalog-level location and location-* targets. Model and Generic catalogs do not support connection testing. Expected test failures are returned as application error codes in an HTTP 200 response. When authorization is enabled, testing with the stored configuration requires the same access as loading the catalog, and testing with proposed changes requires owning the metalake or the catalog, the same as altering it. Callers without that access receive an HTTP 403 response.

Request​

Path Parameters

    metalake stringrequired

    The name of the metalake

    catalog stringrequired

    The name of the catalog

Body

Optional catalog changes to apply only to this connection test

    updates

    object[]

    required

  • Array [

  • oneOf

    @type stringrequired

    Possible values: [rename]

    newName stringrequired

    The new name of the catalog

  • ]

Responses​

Connection test completed, including expected test failures

Schema

    code int32required

    Application status code; 0 indicates success

    type string

    Internal exception type when the test fails

    message string

    Sanitized failure message

Loading...