-
Notifications
You must be signed in to change notification settings - Fork 74
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
Comments are incorrectly flagged as hard coded references #409
Comments
hey @deanmorin ! thanks for opening -- we can see if there's a straightforward way to skip commented lines. Can you help me understand why you might have |
@dave-connors-3 The actual comment that triggered this bug was describing what a particular CTE is for: -- Find when the case first moves from "New" to any other status |
We currently use commented-out SQL for our integration tests for hard-coded references, so if we were to make this change we'd need to rethink our tests for this package.
|
This has been fixed recently |
Describe the bug
In some cases comments get flagged as hard coded references.
Steps to reproduce
In a comment, if a quoted string follows
from
orjoin
it will be flagged as a hard coded reference.The first two comment lines (with the quoted strings) get flagged, the third line does not.
Expected results
No hard coded references found.
Actual results
Both
"a comment"
and"another comment"
get flagged as hard coded references.Screenshots and log output
System information
The contents of your
packages.yml
file:Which database are you using dbt with?
The output of
dbt --version
:Additional context
Are you interested in contributing the fix?
Unfortunately I do not have time.
The text was updated successfully, but these errors were encountered: