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
{{ message }}
Repository navigation
Commit 306eceb
Browse filesBrowse the repository at this point in the historyBrowse files
fix: make sqb lineage use the shared project selector parser (#972)
sqb lineage --select/--exclude now resolve through the same selector
implementation as compile, plan and build, so path:models/... selectors,
name globs and shared error codes behave identically across commands.
The undocumented lineage-only path:<folder> form without the models/
root is now rejected with S012, matching every other command.
Copy file name to clipboardExpand all lines: src/sqlbuild/.agents/skills/sqlbuild/references/docs/cli/lineage.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ Exactly one of a positional target or `--select` is required.
43
43
|`--format`| Output format: `tree` (default), `list`, or `json`. |
44
44
|`--mode`| Column lineage analysis mode: `rich` (default) or `fast`. |
45
45
|`--no-sql-analysis`| Disable compile-time SQL analysis (`--no-sql-validation` is an alias). |
46
-
|`--select`, `-s`| Select resources using standard selector syntax. |
46
+
|`--select`, `-s`| Select resources using the same selector syntax as `sqb compile`, `sqb plan` and `sqb build`, for example `path:models/marts`, `tag:finance` or `stg_*`. |
47
47
|`--exclude`| Exclude resources from the selection. |
`--depth` controls how many hops from the focus node(s) to include. In selector mode, `--depth` requires name, source, seed, or path-between selectors - it cannot be combined with tag or path selectors or comma-intersection selectors.
247
+
`--depth` controls how many hops from the focus node(s) to include. In selector mode without `--direction`, `--depth` requires name (including glob patterns), source, seed, or path-between selectors - it cannot be combined with tag or path selectors or comma-intersection selectors.
0 commit comments