Commit e117381
fix(dbt-index): stop populating column_index from YAML definitions & rename --use-index to --write-index (#9187)
* fix(dbt-index): stop populating column_index from YAML definitions
column_index in node_columns was set from enumerate() during manifest
ingestion, but YAML column ordering is arbitrary. Now only catalog data
(from the actual warehouse) sets column_index. Also ensures catalog
ingestion updates column_index on conflict and carries it forward
across manifest-only parquet rewrites.
Closes #9094
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
* refactor: rename --use-index to --write-index with backward-compat alias
Renames the CLI flag from --use-index to --write-index to better reflect
its purpose (writing the parquet index). The old --use-index flag is
preserved as a hidden alias for backward compatibility. Also renames the
internal field from use_index to write_index across all crates.
Additionally, declared-only columns (YAML without inferred counterpart)
no longer get a column_index in the compile/build path, consistent with
the column_index fix in the prior commit.
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
* fix(dbt-tasks): rename use_index -> write_index in analyzeable/mod.rs
Missed reference from the --use-index to --write-index rename.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <[email protected]>
* fix(dbt-main): rename remaining use_index -> write_index in dbt_lib.rs
Two missed references at lines 146 and 1035.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <[email protected]>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
GitOrigin-RevId: 2fbb8cb3a54f37891db10fef0aa6733d9c76440d1 parent 184b682 commit e117381
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1424 | 1424 | | |
1425 | 1425 | | |
1426 | 1426 | | |
1427 | | - | |
1428 | | - | |
| 1427 | + | |
| 1428 | + | |
1429 | 1429 | | |
1430 | 1430 | | |
1431 | 1431 | | |
| |||
1957 | 1957 | | |
1958 | 1958 | | |
1959 | 1959 | | |
1960 | | - | |
| 1960 | + | |
1961 | 1961 | | |
1962 | 1962 | | |
1963 | 1963 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
| 446 | + | |
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| |||
0 commit comments