Closed KulykDmytro closed 7 months ago
It makes sense to be support analyzing templated SQL so lineage can analyzed based on what's in orchestration system instead of merely on SQL logs.
Quick question: do you require any configuration in sqlfluff other than templating? Because supports all sqlfluff configuration looks like a overkill for me.
we use both sqlfluff
and sqllineage
(which is using sqlfluff
) and looks like templating configuration is ignored
Thanks for your confirmation. I'll see what we can do.
Is your feature request related to a problem? Please describe
As soon as dialect-based parsing use
sqlfluff
to parse SQL it will be great to support sqlfluff context (from.sqlfluff
files) where we can use/set templater and other optionsDescribe the solution you'd like
sqlfluff.core.linter.Linter
have optionalconfig: FluffConfig
parameter. Need to pass it or ensure that default is usedAdditional context
running
sqlfluff
directly:.sqlfluff
example