Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
248 changes: 191 additions & 57 deletions Cargo.lock

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -215,22 +215,22 @@ sqlbuild-state = { path = "crates/sqlbuild-state" }
# SQL lint Rules, quality Rules and the formatter.
sqlclean = { git = "https://github.com/sqlstack-io/sqlclean.git", rev = "462a98779a2a11ff11884ff79feefbfb190ab8d1" }
# SQL change fingerprints over SQLQuack's tokenizers.
sqlquack-fingerprint = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "083ccc7121a43a3c471d646ef45845ce3ea69d6d", features = ["bigquery", "databricks", "duckdb", "postgres", "snowflake", "sqlite", "sqlserver"] }
sqlquack-fingerprint = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "63d0ce3baf8c981fac3c7164cbeb653f3ddb83a9", features = ["bigquery", "databricks", "duckdb", "postgres", "snowflake", "sqlite", "sqlserver"] }
# Scopes, name resolution, types and lineage for the native analysis route.
sqlquack-semantics = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "083ccc7121a43a3c471d646ef45845ce3ea69d6d", features = ["bigquery", "clickhouse", "databricks", "duckdb", "postgres", "snowflake", "sqlite", "sqlserver"] }
sqlquack-semantics = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "63d0ce3baf8c981fac3c7164cbeb653f3ddb83a9", features = ["bigquery", "clickhouse", "databricks", "duckdb", "postgres", "snowflake", "sqlite", "sqlserver"] }
# SQLQuack's Snowflake-family parser and tokenizer, reached as SQLQuack exposes them.
sqlquack-parse = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "083ccc7121a43a3c471d646ef45845ce3ea69d6d" }
sqlquack-parse = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "63d0ce3baf8c981fac3c7164cbeb653f3ddb83a9" }
# SQLQuack's syntax tree and lossless tokens.
sqlquack-syntax = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "083ccc7121a43a3c471d646ef45845ce3ea69d6d" }
sqlquack-syntax = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "63d0ce3baf8c981fac3c7164cbeb653f3ddb83a9" }
# SQLQuack's tokenizer: lossless tokens and tokenize failures.
sqlquack-tokenize = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "083ccc7121a43a3c471d646ef45845ce3ea69d6d" }
sqlquack-syntax-bigquery = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "083ccc7121a43a3c471d646ef45845ce3ea69d6d" }
sqlquack-syntax-clickhouse = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "083ccc7121a43a3c471d646ef45845ce3ea69d6d" }
sqlquack-syntax-databricks = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "083ccc7121a43a3c471d646ef45845ce3ea69d6d" }
sqlquack-syntax-duckdb = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "083ccc7121a43a3c471d646ef45845ce3ea69d6d" }
sqlquack-syntax-postgres = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "083ccc7121a43a3c471d646ef45845ce3ea69d6d" }
sqlquack-syntax-sqlite = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "083ccc7121a43a3c471d646ef45845ce3ea69d6d" }
sqlquack-syntax-sqlserver = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "083ccc7121a43a3c471d646ef45845ce3ea69d6d" }
sqlquack-tokenize = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "63d0ce3baf8c981fac3c7164cbeb653f3ddb83a9" }
sqlquack-syntax-bigquery = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "63d0ce3baf8c981fac3c7164cbeb653f3ddb83a9" }
sqlquack-syntax-clickhouse = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "63d0ce3baf8c981fac3c7164cbeb653f3ddb83a9" }
sqlquack-syntax-databricks = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "63d0ce3baf8c981fac3c7164cbeb653f3ddb83a9" }
sqlquack-syntax-duckdb = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "63d0ce3baf8c981fac3c7164cbeb653f3ddb83a9" }
sqlquack-syntax-postgres = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "63d0ce3baf8c981fac3c7164cbeb653f3ddb83a9" }
sqlquack-syntax-sqlite = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "63d0ce3baf8c981fac3c7164cbeb653f3ddb83a9" }
sqlquack-syntax-sqlserver = { git = "https://github.com/sqlstack-io/sqlquack.git", rev = "63d0ce3baf8c981fac3c7164cbeb653f3ddb83a9" }
stacker = "0.1"
# Counts heap allocations in growth tests, which measure work instead of time.
stats_alloc = "0.1"
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ E2E_DUCKDB_CLI_DATA_PATHS := \
tests/e2e/src/sqlbuild/cli/commands/main/scenario/test_fixture_columns.py \
tests/e2e/src/sqlbuild/cli/commands/main/scenario/test_local_variant.py \
tests/e2e/src/sqlbuild/cli/commands/main/scenario/test_local_lambda.py \
tests/e2e/src/sqlbuild/cli/commands/main/scenario/test_local_guard.py \
tests/e2e/src/sqlbuild/cli/commands/main/scenario/test_local_escaped_quotes.py \
tests/e2e/src/sqlbuild/cli/commands/main/scenario/test_snapshot_staleness.py \
tests/e2e/src/sqlbuild/cli/commands/main/scenario/test_unmocked_inputs.py
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[
{"nodes": ["success", "failed"], "started": [true, true], "outcome": "partial"},
{"nodes": ["success", "failed"], "started": [true, true], "outcome": "failed"},
{"nodes": ["failed", "failed"], "started": [true, true], "outcome": "failed"},
{"nodes": ["success", "cancelled"], "started": [true, true], "outcome": "partial"},
{"nodes": ["success", "skipped"], "started": [true, false], "outcome": "partial"},
{"nodes": ["success", "cancelled"], "started": [true, true], "outcome": "failed"},
{"nodes": ["success", "skipped"], "started": [true, false], "outcome": "failed"},
{"nodes": ["success", "warn"], "started": [true, true], "outcome": "warn"},
{"nodes": ["success", "failed"], "started": [true, true], "outcome": "partial"},
{"nodes": ["success", "failed"], "started": [true, true], "outcome": "failed"},
{"nodes": ["success", "success"], "started": [true, false], "outcome": "success"},
{"nodes": ["success", "failed"], "started": [true, true], "outcome": "partial"},
{"nodes": ["success", "failed"], "started": [true, true], "outcome": "failed"},
{"nodes": ["success", "success"], "started": [true, true], "outcome": "success"},
{"nodes": ["success", "success"], "started": [true, true], "outcome": "success"},
{"nodes": ["success", "failed"], "started": [true, true], "outcome": "partial"}
{"nodes": ["success", "failed"], "started": [true, true], "outcome": "failed"}
]
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
"""Keep warning and partial job outcomes distinct from success."""
"""Keep warning and failed job outcomes distinct from success."""

from sqlbuild.orchestration import RunEventKind, RunRequest, run_event, sensor


@sensor(
description="Keep warning and partial outcomes distinct from success.",
when=run_event(job="edge_snapshot_orders_job", kinds=[RunEventKind.WARN, RunEventKind.PARTIAL]),
description="Keep warning and failed outcomes distinct from success.",
when=run_event(job="edge_snapshot_orders_job", kinds=[RunEventKind.WARN, RunEventKind.FAILED]),
default_status="paused",
)
def edge_job_outcomes_sensor(ctx):
Expand Down
Loading
Loading