mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-13 08:15:14 +02:00
fix(setup): require explicit no-input database scope (#286)
* test(setup): supply explicit --no-input scope to disabled-mode database tests * fix(setup): require explicit database scope in --no-input instead of auto-scanning the warehouse * docs(setup): document --no-input database scope requirement
This commit is contained in:
parent
036a745fc1
commit
853f39a7c3
4 changed files with 138 additions and 47 deletions
|
|
@ -125,6 +125,14 @@ incomplete.
|
|||
MySQL, and SQL Server; `schema_names` for Snowflake; `dataset_ids` for
|
||||
BigQuery; and `databases` for ClickHouse.
|
||||
|
||||
With `--no-input`, scope for a scope-bearing driver (PostgreSQL, MySQL,
|
||||
ClickHouse, SQL Server, BigQuery, Snowflake) must come from `--database-schema`
|
||||
or from existing connection config in `ktx.yaml` (for example
|
||||
`connections.<id>.dataset_ids`). When neither is set, the database step fails
|
||||
fast and prints the missing scope flag and config key — non-interactive setup
|
||||
never auto-discovers and scans every schema. SQLite has no scope and is
|
||||
unaffected.
|
||||
|
||||
### Query History
|
||||
|
||||
| Flag | Description |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue