Skip to content

Conversation

jijosg
Copy link

@jijosg jijosg commented Apr 7, 2025

What changes are proposed in this pull request?

When trying to assign the grant EXTERNAL USE SCHEMA to a schema , it doesn't pick up from the existing list of grants.

Specifically, try to answer the two following questions:

  • WHAT Added a new privilege EXTERNAL USE SCHEMA in the Privilege class in databricks/sdk/service/catalog.py
  • WHY are these changes needed? This should provide the context that the
    reader might be missing. For example, were there any decisions behind the
    change that are not reflected in the code itself?

The EXTERNAL USE SCHEMA is a new feature that was introduced to be able to access data registered in Unity Catalog from clients external to Databricks. This is currently missing in the code.

How is this tested?

Not tested

NO_CHANGELOG=true

@alexkot1394
Copy link

Hi folks! I'm working on a service that provisions Kafka Connect jobs and I'm adding an iceberg databricks sink. In order to use the Iceberg rest api with Databricks we need to grant our SPs EXTERNAL USE SCHEMA (link to doc). I'm trying to add this grant to our presets for our Data Product management tool that uses this SDK. I'm running into an issue where EXTERNAL USE SCHEMA is not one of the privilege types in the databricks python SDK. We need this PR to be merged and released to resolve our issue.

Copy link

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-py

Inputs:

  • PR number: 945
  • Commit SHA: 88c8362ae223797e6bbd1951eebba6203d87e329

Checks will be approved automatically on success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants