Skip to content

Conversation

@john-sanchez31
Copy link
Contributor

This resolves #458

@john-sanchez31 john-sanchez31 changed the base branch from main to John/s3_testing November 14, 2025 16:33
@john-sanchez31 john-sanchez31 requested review from a team, hadia206, juankx-bodo and knassre-bodo and removed request for a team November 17, 2025 15:38
@john-sanchez31 john-sanchez31 marked this pull request as ready for review November 17, 2025 15:38
Copy link
Contributor

@juankx-bodo juankx-bodo left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@hadia206 hadia206 left a comment

Choose a reason for hiding this comment

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

Good job John.
Please address comment before merging.

Comment on lines 84 to 87
input_expr.name.startswith('"')
and input_expr.name.endswith('"')
or input_expr.name.startswith("`")
and input_expr.name.endswith("`")
Copy link
Contributor

Choose a reason for hiding this comment

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

Why use input_expr.name instead of input_name here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No particular reason but I'm gonna use it

Comment on lines 79 to 80
input_name: str = input_expr.name
quoted: bool = False
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the better fix here is to not do any of this special handling, but instead just remove all characters from input_name except letters/numbers/underscores. We don't have to worry about conflicts because the point of this function is that it returns potential alternative names, and it only uses if them if those names are not already in use.

Base automatically changed from John/s3_testing to main November 20, 2025 20:19
@john-sanchez31 john-sanchez31 merged commit d0300c1 into main Nov 20, 2025
22 checks passed
@john-sanchez31 john-sanchez31 deleted the John/callexp_alias_patch branch November 20, 2025 20:39
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.

Invalid composed SQL alias where column_name is quoted.

5 participants