Skip to content

Union schema can't be a subset of the child schema#8408

Merged
alamb merged 2 commits intoapache:mainfrom
jackwener:refactor_code
Dec 5, 2023
Merged

Union schema can't be a subset of the child schema#8408
alamb merged 2 commits intoapache:mainfrom
jackwener:refactor_code

Conversation

@jackwener
Copy link
Copy Markdown
Member

Which issue does this PR close?

Closes #.

Rationale for this change

Union schema can't be a subset of the child schema, so we can remove useless code

What changes are included in this PR?

Are these changes tested?

Add slt to cover more condition

Are there any user-facing changes?

@github-actions github-actions Bot added core Core DataFusion crate sqllogictest SQL Logic Tests (.slt) labels Dec 3, 2023
Copy link
Copy Markdown
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

The fact all the tests pass looks good to me. Thank you @jackwener -- nice cleanup

@alamb alamb merged commit 4ceb2de into apache:main Dec 5, 2023
@jackwener jackwener deleted the refactor_code branch December 6, 2023 05:04
appletreeisyellow pushed a commit to appletreeisyellow/datafusion that referenced this pull request Dec 15, 2023
Co-authored-by: Andrew Lamb <andrew@nerdnetworks.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants