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

Consolidate loops in SqlMapRequiredColumnAliasesVisitor #1678

Merged
merged 2 commits into from
Feb 21, 2025
Merged

Conversation

plypaul
Copy link
Contributor

@plypaul plypaul commented Feb 21, 2025

This PR consolidates a couple of loops in SqlMapRequiredColumnAliasesVisitor and replaces .add_alias() calls with .add_aliases() to reduce nesting. There are no logic changes in this PR, and this is mainly to make #1679 a simple change given the complexity in that class.

There is some additional consolidation that can be done with other loops, but leaving those out of scope.

@cla-bot cla-bot bot added the cla:yes label Feb 21, 2025
@plypaul plypaul marked this pull request as ready for review February 21, 2025 07:55
@plypaul plypaul requested a review from a team as a code owner February 21, 2025 07:55
Base automatically changed from p-sql--01 to main February 21, 2025 18:10
@plypaul plypaul merged commit 0d8411f into main Feb 21, 2025
11 checks passed
@plypaul plypaul deleted the p--sql--02 branch February 21, 2025 18:13
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.

2 participants