Skip to main content
Version: current [25.x]

Source

Use the Source API to clear the AWS Lake Formation permission cache for AWS Glue Data Catalog sources.

Dremio keeps a cache of permissions defined in AWS Lake Formation with a one-hour expiry time. When the cache for the queried table expires, Dremio requests permission information from AWS Lake Formation. After changing permissions on the AWS Lake Formation side, use the Source API to immediately invalidate Dremio's AWS Lake Formation permission cache.

note

The Source API is supported only for AWS Glue Data Catalog sources.

Clearing the Permission Cache

Clear the AWS Lake Formation permission cache for an AWS Glue Data Catalog source.

Method and URL
DELETE /api/v3/source/{source-name}/permission-cache

Parameters

source-name Path   String

The name of the AWS Glue Data Catalog source whose Lake Formation permission cache you want to clear.

Example: glueProd

Example Request
curl -X DELETE 'https://{hostname}/api/v3/source/glueProd/permission-cache' \
--header 'Authorization: Bearer <personal access token>' \
--header 'Content-Type: application/json'
Example Response
No response

Responses

204   No Content

400   Bad Request

404   Not Found

415   Unsupported Media Type

500   Internal Server Error