Skip to content

Added missing privilege EXTERNAL USE SCHEMA#945

Closed
jijosg wants to merge 15 commits into
databricks:mainfrom
jijosg:main
Closed

Added missing privilege EXTERNAL USE SCHEMA#945
jijosg wants to merge 15 commits into
databricks:mainfrom
jijosg:main

Conversation

@jijosg

@jijosg jijosg commented Apr 7, 2025

Copy link
Copy Markdown

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
Copy Markdown

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.

@github-actions

Copy link
Copy Markdown

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: d07acd4b6f29bb89e1c6e97397a4d39b0095a774

Checks will be approved automatically on success.

@jijosg

jijosg commented Oct 27, 2025

Copy link
Copy Markdown
Author

@jijosg jijosg closed this Oct 27, 2025
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