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 handling of complex identifiers #5

Merged
merged 2 commits into from
Sep 29, 2023
Merged

Conversation

dylanscott
Copy link

I was assuming that table tokens could not span multiple lines, but that's not actually true with complex identifiers which are combined from multiple sqlparse tokens. Now tracks potentially multiple source locations to handle this correctly.

Also I realized why we were filtering comments out - because we filter them out when we compile the query so I restored that functionality but behind a flag now so we don't break the test/coverage.

@github-actions
Copy link

Pull Request Test Coverage Report for Build 6347399017

  • 12 of 12 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 6341889637: 0.0%
Covered Lines: 876
Relevant Lines: 876

💛 - Coveralls

@dylanscott dylanscott requested a review from jkillian September 29, 2023 05:09
@dylanscott dylanscott merged commit 35a4801 into master Sep 29, 2023
6 checks passed
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