Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
60a51a4
feat(native): resolve column references with rename spans
kvlonge Sep 30, 2026
f28553b
refactor(native): derive the column-reference scope select from its body
kvlonge Sep 30, 2026
f5c7e0b
feat(cli): add sqb rename and sqb mv for compiler-verified refactors
kvlonge Sep 30, 2026
515bb34
feat(plan): point automatically discovered renames at sqb rename
kvlonge Sep 30, 2026
a3198a7
docs: document sqb rename and sqb mv for users and agents
kvlonge Sep 30, 2026
0c9e5d7
refactor(lint): share the quoted header value scanner with refactoring
kvlonge Sep 30, 2026
45d1c58
feat(plan): add the missing_migration_origin target policy, allowing …
kvlonge Sep 30, 2026
e02a615
feat(cli): always declare migrate_from, refuse instead of partial edi…
kvlonge Sep 30, 2026
75d662c
feat(cli): move scoped declarations with sqb mv to where placement re…
kvlonge Sep 30, 2026
c7f4c9e
docs: document declaration moves, always-on migrate_from, and missing…
kvlonge Sep 30, 2026
e1661f7
refactor: share target policy parsing and missing-origin confirmation
kvlonge Sep 30, 2026
347cbc3
fix(cli): let only the first set-operation branch name outputs when c…
kvlonge Sep 30, 2026
494c22c
fix(dbt): apply migration policies and missing-origin confirmation to…
kvlonge Sep 30, 2026
6f52c96
fix(plan): stop on a missing migration origin that was built in this …
kvlonge Sep 30, 2026
27481cf
fix(janitor): keep the origin of a pending model migration
kvlonge Sep 30, 2026
ddca09d
fix(dbt): give dbt-appropriate remediation when a missing origin need…
kvlonge Sep 30, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ E2E_DUCKDB_CLI_PATHS := \
tests/e2e/src/sqlbuild/cli/commands/main/playground \
tests/e2e/src/sqlbuild/cli/commands/main/postgres \
tests/e2e/src/sqlbuild/cli/commands/main/query \
tests/e2e/src/sqlbuild/cli/commands/main/refactor \
tests/e2e/src/sqlbuild/cli/commands/main/scope \
tests/e2e/src/sqlbuild/cli/commands/main/seed \
tests/e2e/src/sqlbuild/cli/commands/main/skills \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,12 @@ fn analyze_sql_uses_json(py: Python<'_>, request_json: &str) -> PyResult<String>
.map_err(value_error)
}

#[pyfunction]
fn analyze_column_references_json(py: Python<'_>, request_json: &str) -> PyResult<String> {
py.compiler_detach(|| crate::column_references::main::analyze::analyze_json(request_json))
.map_err(value_error)
}

#[pyfunction]
fn analyze_queries_json(py: Python<'_>, request_json: &str) -> PyResult<String> {
py.compiler_detach(|| crate::query_analysis::main::analyze::analyze_json(request_json))
Expand Down Expand Up @@ -429,6 +435,7 @@ pub(crate) fn register(module: &Bound<'_, PyModule>) -> PyResult<()> {
module.add_function(wrap_pyfunction!(schema_validation_json, module)?)?;
module.add_function(wrap_pyfunction!(schema_validations_json, module)?)?;
module.add_function(wrap_pyfunction!(analyze_sql_uses_json, module)?)?;
module.add_function(wrap_pyfunction!(analyze_column_references_json, module)?)?;
module.add_function(wrap_pyfunction!(analyze_queries_json, module)?)?;
module.add_function(wrap_pyfunction!(analyze_project_queries_json, module)?)?;
module.add_function(wrap_pyfunction!(
Expand Down
Loading
Loading