-
Couldn't load subscription status.
- Fork 1.7k
fix: build union schema with child has same column name but qualifier… #5452
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
Conversation
|
|
||
| Ok(DFField::new( | ||
| None, | ||
| left_field.qualifier().map(|x| &**x), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| left_field.qualifier().map(|x| &**x), | |
| left_field.qualifier().map(|x| x.as_ref()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR use left-side qualifier instead of discard qualifier when build union.
Make sense to me
| fn test_union_after_join() -> Result<()> { | ||
| let values = vec![vec![lit(1)]]; | ||
|
|
||
| let left = LogicalPlanBuilder::values(values.clone())? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
Benchmark runs are scheduled for baseline = 8d195a8 and contender = 53a638e. 53a638e is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
… is different
Which issue does this PR close?
Closes #5410 .
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?