You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is where we reach the limits of what we can do with some already complex (but not insanely complex) regex.
I'd say that the best here is either to add the line comment in your multiline comment
/*
this is some comment
-- my_database.my_table
and this is some comment as well
*/
or use Jinja comments like you did
or convert your multi-line comments to multiple single-line ones
We could technically fix your specific use case, but I don't really want to then have to maintain it for all the combinations of multiline comments for every supported data warehouse
While fixed for ordinary comments:
dbt-project-evaluator/macros/find_all_hard_coded_references.sql
Lines 17 to 20 in 9f9c1db
Mentioning table names inside multline comments
will result in a failure.
For now I switched from multiline SQL comments tojinja2
comments (which are multiline by default)Switching the
jinja2
multiline comments also does not cut it and gets flagged.Fixing this could be nice 🙇 . Thanks!
The text was updated successfully, but these errors were encountered: