Skip to content

[branch-46] Fix duplicate unqualified Field name (schema error) on join queries #15

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

Merged

Conversation

LiaCastaneda
Copy link

No description provided.

…pache#15438)

* Fix duplicate unqualified field name issue

* Adjust Projection Properly

* Add reproducer plan

* Adjust comment

* Set metadata to be the same as well

* Fix substrait reproducer + Add test case

* Format

* Add explanation comment

* Add test case to change_redundant_column
@LiaCastaneda LiaCastaneda marked this pull request as ready for review April 3, 2025 08:21
Comment on lines +69 to +71
let fixed_col = Column::new(col.name(), idx);
return Ok(Transformed::yes(Arc::new(fixed_col)));
}
Copy link
Author

@LiaCastaneda LiaCastaneda Apr 3, 2025

Choose a reason for hiding this comment

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

I will need to follow up on the way this is handled on the upstream, more context here. But it doesn't cause issues on execution so we can cherry-pick this on the meantime. (cc @gabotechs )

Copy link

@gabotechs gabotechs left a comment

Choose a reason for hiding this comment

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

👍 looking good. Can you make sure before merging that running the tests in your local works fine?

@LiaCastaneda
Copy link
Author

All working.

@LiaCastaneda LiaCastaneda merged commit 8533371 into branch-46 Apr 3, 2025
@gabotechs gabotechs changed the title Fix duplicate unqualified Field name (schema error) on join queries [branch-46] Fix duplicate unqualified Field name (schema error) on join queries Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants