- Categories:
System functions (System Information)
SYSTEM$VERIFY_CATALOG_INTEGRATION¶
Verifies the configuration for a specified catalog integration for Apache Iceberg™ REST.
To check whether you’ve correctly configured authorization and access control with your Iceberg REST catalog, the function attempts to use the catalog integration to interact with your catalog server.
- See also:
CREATE CATALOG INTEGRATION (Apache Iceberg™ REST) , Configure a catalog integration for Apache Iceberg™ REST catalogs
Syntax¶
Arguments¶
rest_catalog_integration_nameName of the Iceberg REST catalog integration to test.
Catalog integration names are case sensitive.
Returns¶
The function returns a JSON object with the properties described below:
Property |
Description |
|---|---|
|
Specifies whether verification was successful; |
|
Error code of the failure (if verification fails). |
|
A detailed error message (if verification fails). |
Access control requirements¶
A role used to execute this operation must have the following privileges at a minimum:
Privilege |
Object |
Notes |
|---|---|---|
USAGE |
Catalog integration |
For instructions on creating a custom role with a specified set of privileges, see Creating custom roles.
For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.
Examples¶
The following example statement creates a REST catalog integration using an invalid OAuth client secret (this runs without error):
Use the system function to verify the catalog integration, expecting failure:
Output: