Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow creating schemas in the temporary catalog#19969

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
diwu-sf wants to merge3 commits intoduckdb:main
base:main
Choose a base branch
Loading
fromdiwu-sf:diwu-allow-creating-temporary-schema

Conversation

@diwu-sf
Copy link

@diwu-sfdiwu-sf commentedNov 27, 2025
edited
Loading

When creating a schema in the temporary catalog (e.g., CREATE SCHEMA temp.foobar), automatically mark the schema entry as temporary. This allows users to namespace temporary objects within the temp catalog.

When the client sets search path to include these temporary schemas, the temp objects will be able to shadow persistent tables.

When views resolve their references, give precedence to the client's custom search path.

Addresses#14918

}

// push the set paths from the ClientContextbehind the provided paths
//First,push the set paths from the ClientContext- this allows temp schemas to shadow persistent ones
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

this is necessary for thetest_temp_schema_medallion.test to pass, otherwise, shadowing won't work beyond the first layer.

When creating a schema in the temporary catalog (e.g., CREATE SCHEMA temp.foobar),automatically mark the schema entry as temporary. This allows users to namespacetemporary objects within the temp catalog.
@diwu-sfdiwu-sfforce-pushed thediwu-allow-creating-temporary-schema branch from38ebee3 to44ebd77CompareNovember 27, 2025 17:16
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@diwu-sf

[8]ページ先頭

©2009-2025 Movatter.jp