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

Fix!: Support for trailing comments in SQL model definitions #2863

Merged
merged 2 commits into from
Jul 5, 2024

Conversation

izeigerman
Copy link
Member

Before this fix, the renderer would return a Semicolon expression, resulting in an empty SQL string and subsequent failure when evaluating in the engine adapter.

@izeigerman izeigerman requested a review from a team July 4, 2024 00:38
Copy link
Contributor

@tobymao tobymao left a comment

Choose a reason for hiding this comment

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

needs migration i assume…

@izeigerman
Copy link
Member Author

@tobymao I don't think anyone who ran into this was able to run a plan.

@izeigerman izeigerman force-pushed the fix-trailing-comments-in-model-def branch from fa7c10d to d5165a1 Compare July 4, 2024 02:40
@izeigerman
Copy link
Member Author

@tobymao actually, I think you're right

@izeigerman izeigerman changed the title Fix: Support for trailing comments in SQL model definitions Fix!: Support for trailing comments in SQL model definitions Jul 5, 2024
@izeigerman izeigerman enabled auto-merge (squash) July 5, 2024 21:34
@izeigerman izeigerman merged commit f8b518f into main Jul 5, 2024
14 of 15 checks passed
@izeigerman izeigerman deleted the fix-trailing-comments-in-model-def branch July 5, 2024 21:37
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