Closed
Description
Describe the bug
I created an issue in sqlfluff
repo, because sqlfluff
refuses to recognize dbt_utils
macros. More details (steps to reproduce, expected results, actual restuls, logs, system info, etc.) can be found in sqlfluff#2712. However, it turns out when run sqlfluff lint -v
, when it hits dbt_utils.star
, specifically this block https://github.com/dbt-labs/dbt-utils/blob/main/macros/sql/star.sql#L11 it failed to recognize the execute
flag. But it should've been recognized because sqlfluff
does compile dbt projects which will trigger an execute
flag to be true.
Which database are you using dbt with?
- postgres
- redshift
- bigquery
- snowflake
- other (specify: ____________)
Are you interested in contributing the fix?
Yup :)
Activity