Farzu
Farzu

Reputation: 75

How to check owner of delta table in Databricks

What query should i run to get details of owner of delta table in Databricks

I have tried describe table extended command it's showing owner as root

Upvotes: 2

Views: 5556

Answers (1)

Kombajn zbożowy
Kombajn zbożowy

Reputation: 10693

Run:

SHOW GRANTS ON <schema>.<tablename>;

The entry with be actionType = 'OWN' determines ownership.

Databricks documentation: object privileges.

Upvotes: 3

Related Questions