Using Databricks SQL editor, when running a single query such as `use schema {schema_name}`, the selected schema in the UI is not updated. Then any su...
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2023 12:15 PM
Using Databricks SQL editor, when running a single query such as `use schema {schema_name}`, the selected schema in the UI is not updated. Then any subsequent queries will use the UI schema. Leads to very confusing behaviour where you can run:
```
use schema x;
create table y (col_name type)
```
and table y gets created in `default` schema (if that is the schema selected in the UI)
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2023 06:03 PM
Hey Kaniz, IIUC Databricks SQL endpoints don't have a specific DBR right?
Kieran Taylor
Senior Software Engineer, Data Platform
Kieran Taylor
Senior Software Engineer, Data Platform

