Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/7.0] Use default schema for TPC tables (#30214) #30241

Merged
merged 2 commits into from
Feb 14, 2023

Conversation

ajcvickers
Copy link
Member

@ajcvickers ajcvickers commented Feb 9, 2023

Port of #30214
Fixes #29899

Description

With TPC mapping, it is common for to have derived types that are mapped to tables while the base type is not mapped to a table. In these cases, the default schema was not being picked up for the derived types.

Customer impact

Customer reported in relatively common scenario. There is a workaround to manually specify the schema on all tables, but this can get tricky, especially when the schema is obtained from the tenant in multi-tenant scenarios.

How found

Customer reported on 7.0.

Regression

No; new feature in 7.0.

Testing

Default schema set for more existing tests to give better coverage.

Risk

Low; trivial code change to get the default schema in cases like this, and quirked.

@ajcvickers ajcvickers requested a review from a team February 9, 2023 14:21
@ajcvickers ajcvickers added this to the 7.0.x milestone Feb 9, 2023
@ajcvickers ajcvickers merged commit 27aa36e into release/7.0 Feb 14, 2023
@ajcvickers ajcvickers deleted the SchemasAreBackOnTheTable0209 branch February 14, 2023 18:29
@dougbu dougbu modified the milestones: 7.0.x, 7.0.4 Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants