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

Assorted Fixes for the sql Module #1081

Merged
merged 7 commits into from
Mar 19, 2024
Merged

Assorted Fixes for the sql Module #1081

merged 7 commits into from
Mar 19, 2024

Conversation

plypaul
Copy link
Contributor

@plypaul plypaul commented Mar 18, 2024

Resolves #

Description

This PR makes fixes some minor issues found in the sql module. Please see view each commit separately.

@cla-bot cla-bot bot added the cla:yes label Mar 18, 2024
@plypaul plypaul marked this pull request as ready for review March 18, 2024 20:27
Copy link
Contributor

@tlento tlento left a comment

Choose a reason for hiding this comment

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

raccoon cleaning



class SqlTable(PydanticCustomInputParser, FrozenBaseModel):
@dataclass(frozen=True, order=True)
Copy link
Contributor

Choose a reason for hiding this comment

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

Oh nice, thanks! There was some reason we couldn't do this originally and I guess we forgot to clean it up later.

@@ -42,19 +42,19 @@ def parent_nodes(self) -> List[SqlQueryPlanNode]: # noqa: D
@abstractmethod
def accept(self, visitor: SqlQueryPlanNodeVisitor[VisitorOutputT]) -> VisitorOutputT:
"""Called when a visitor needs to visit this node."""
pass
raise NotImplementedError
Copy link
Contributor

Choose a reason for hiding this comment

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

This shouldn't matter, but I like the consistency.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, it seems like that's what the docs suggest, though I've seen some conflicting examples.

Base automatically changed from plypaul--09.1--assorted-fixes to main March 19, 2024 07:14
@plypaul plypaul merged commit dbf41a4 into main Mar 19, 2024
36 checks passed
@plypaul plypaul deleted the plypaul--09.2--sql-fixes branch March 19, 2024 07:20
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