Difference between creating a schema manually vs schema through SQL code externally?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 02:19 AM
I have created a bronze schema manually using catalog->create schema. I have provided external location. The "details" table look like this:
However, when I created silver schema but this time using sql script i.e.
Can anyone help me with this please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2025 03:42 AM
When a schema is created manually via the Databricks catalog UI, ownership defaults to the user who created the schema, and ownership properties may not be explicitly recorded by default.
On the other hand, when creating a schema using SQL commands, Databricks assigns explicit ownership details in the "properties" section to ensure clarity on schema ownership. The "owner=root" designation signifies that the schema owner is the root account or a default administrative account.