Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ order = [
"sqlbuild-config",
"sqlbuild-host",
"sqlbuild-recall",
"sqlbuild-orchestration",
"sqlbuild-model-config",
"sqlbuild-orchestration",
"sqlbuild-discovery",
"sqlbuild-render",
"sqlbuild-scopes",
Expand Down
368 changes: 368 additions & 0 deletions benchmarks/duckshop/edge_cases/orchestration/microbatch_coverage.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,368 @@
{
"microbatches": [
{
"cursor_column": "ordered_at",
"cursor_type": "timestamp",
"batch_size": "1 hour",
"run_start": "2026-01-01 00:00:00+00",
"run_end": "2026-01-01T08:00:00+03:00:00",
"event_id": "orders-old-generation",
"created_at": "2026-01-01T00:30:00Z",
"observed_at": "2026-01-01T00:30:00Z",
"record_type": "partition_completion",
"partition_start": "2026-01-01T10:00:00+00:00",
"partition_end": "2026-01-01T11:00:00+00:00",
"execution_run_id": "run-0",
"model_version_hash": "orders-v1",
"physical_generation_id": "orders-generation-0"
},
{
"cursor_column": "ordered_at",
"cursor_type": "timestamp",
"batch_size": "1 hour",
"run_start": "2026-01-01 00:00:00+00",
"run_end": "2026-01-01T08:00:00+03:00:00",
"event_id": "orders-other-scope",
"created_at": "2026-01-01T00:35:00Z",
"observed_at": "2026-01-01T00:35:00Z",
"record_type": "partition_completion",
"partition_start": "2026-01-01T12:00:00+00:00",
"partition_end": "2026-01-01T13:00:00+00:00",
"execution_run_id": "run-0",
"model_version_hash": "orders-v1",
"scope_key": "orders:main.orders_previous"
},
{
"cursor_column": "ordered_at",
"cursor_type": "timestamp",
"batch_size": "1 hour",
"run_start": "2026-01-01 00:00:00+00",
"run_end": "2026-01-01T08:00:00+03:00:00",
"event_id": "orders-older-requirement",
"created_at": "2026-01-01T00:45:00Z",
"observed_at": "2026-01-01T00:45:00Z",
"record_type": "replay_requirement",
"partition_start": null,
"partition_end": null,
"completion_type": null,
"execution_run_id": "run-replay",
"model_version_hash": "orders-v9",
"replay_requirement_id": "orders-older-requirement",
"required_model_version_hash": "orders-v9",
"previous_model_version_hash": "orders-v8",
"replay_policy": "full"
},
{
"cursor_column": "ordered_at",
"cursor_type": "timestamp",
"batch_size": "1 hour",
"run_start": "2026-01-01 00:00:00+00",
"run_end": "2026-01-01T08:00:00+03:00:00",
"event_id": "orders-batch-1",
"created_at": "2026-01-01T01:30:00Z",
"observed_at": "2026-01-01T01:30:00Z",
"record_type": "partition_completion",
"partition_start": "2026-01-01 00:00:00+00",
"partition_end": "2026-01-01T09:00:00+08:00",
"execution_run_id": "run-1",
"model_version_hash": "orders-v1"
},
{
"cursor_column": "ordered_at",
"cursor_type": "timestamp",
"batch_size": "1 hour",
"run_start": "2026-01-01 00:00:00+00",
"run_end": "2026-01-01T08:00:00+03:00:00",
"event_id": "orders-batch-2-older",
"created_at": "2026-01-01T01:00:00Z",
"observed_at": "2026-01-01T01:00:00Z",
"record_type": "partition_completion",
"partition_start": "2026-01-01T01:00:00+00:00",
"partition_end": "2026-01-01T02:00:00+00:00",
"execution_run_id": "run-old",
"model_version_hash": "orders-v1"
},
{
"cursor_column": "ordered_at",
"cursor_type": "timestamp",
"batch_size": "1 hour",
"run_start": "2026-01-01 00:00:00+00",
"run_end": "2026-01-01T08:00:00+03:00:00",
"event_id": "orders-batch-2",
"created_at": "2026-01-01T02:30:00Z",
"observed_at": "2026-01-01T02:30:00Z",
"record_type": "partition_completion",
"partition_start": "2026-01-01T09:00:00+08:00",
"partition_end": "2026-01-01T02:00:00+00:00",
"execution_run_id": "run-2",
"model_version_hash": "orders-v1"
},
{
"cursor_column": "ordered_at",
"cursor_type": "timestamp",
"batch_size": "1 hour",
"run_start": "2026-01-01 00:00:00+00",
"run_end": "2026-01-01T08:00:00+03:00:00",
"event_id": "orders-batch-4",
"created_at": "2026-01-01T04:30:00Z",
"observed_at": "2026-01-01T04:30:00Z",
"record_type": "partition_completion",
"partition_start": "2026-01-01T03:00:00+00:00",
"partition_end": "2026-01-01T04:00:00+00:00",
"execution_run_id": "run-3",
"model_version_hash": "orders-v2"
},
{
"cursor_column": "ordered_at",
"cursor_type": "timestamp",
"batch_size": "1 hour",
"run_start": "2026-01-01 00:00:00+00",
"run_end": "2026-01-01T08:00:00+03:00:00",
"event_id": "orders-batch-5",
"created_at": "2026-01-01T05:30:00Z",
"observed_at": "2026-01-01T05:30:00Z",
"record_type": "synthetic_completion",
"partition_start": "2026-01-01T04:00:00+00:00",
"partition_end": "2026-01-01T05:00:00+00:00",
"execution_run_id": "",
"fingerprint_status": "unknown",
"model_version_hash": null,
"definition_hash": null,
"synthetic_reason": "Retained rows",
"unaccounted_policy": "synthesize",
"observed_row_count": 12,
"completion_type": "initial"
},
{
"cursor_column": "ordered_at",
"cursor_type": "timestamp",
"batch_size": "1 hour",
"run_start": "2026-01-01 00:00:00+00",
"run_end": "2026-01-01T08:00:00+03:00:00",
"event_id": "orders-batch-4-rerun",
"created_at": "2026-01-01T05:45:00Z",
"observed_at": "2026-01-01T05:45:00Z",
"record_type": "partition_completion",
"partition_start": "2026-01-01T03:00:00+00:00",
"partition_end": "2026-01-01T04:00:00+00:00",
"execution_run_id": "run-5",
"model_version_hash": "orders-v2"
},
{
"cursor_column": "ordered_at",
"cursor_type": "timestamp",
"batch_size": "1 hour",
"run_start": "2026-01-01 00:00:00+00",
"run_end": "2026-01-01T08:00:00+03:00:00",
"event_id": "orders-batch-7",
"created_at": "2026-01-01T05:50:00Z",
"observed_at": "2026-01-01T05:50:00Z",
"record_type": "synthetic_completion",
"partition_start": "2026-01-01T06:00:00+00:00",
"partition_end": "2026-01-01T07:00:00+00:00",
"execution_run_id": "",
"fingerprint_status": "unknown",
"model_version_hash": null,
"definition_hash": null,
"synthetic_reason": "Retained rows",
"unaccounted_policy": "synthesize",
"observed_row_count": 12,
"completion_type": "initial"
},
{
"cursor_column": "ordered_at",
"cursor_type": "timestamp",
"batch_size": "1 hour",
"run_start": "2026-01-01 00:00:00+00",
"run_end": "2026-01-01T08:00:00+03:00:00",
"event_id": "orders-requirement",
"created_at": "2026-01-01T06:30:00Z",
"observed_at": "2026-01-01T06:30:00Z",
"record_type": "replay_requirement",
"partition_start": null,
"partition_end": null,
"completion_type": null,
"execution_run_id": "run-replay",
"model_version_hash": "orders-v2",
"replay_requirement_id": "orders-requirement",
"required_model_version_hash": "orders-v2",
"previous_model_version_hash": "orders-v1",
"replay_policy": "full"
},
{
"cursor_column": "ordered_at",
"cursor_type": "timestamp",
"batch_size": "1 hour",
"run_start": "2026-01-01 00:00:00+00",
"run_end": "2026-01-01T08:00:00+03:00:00",
"event_id": "customers-batch-1",
"created_at": "2026-01-01T01:30:00Z",
"observed_at": "2026-01-01T01:30:00Z",
"record_type": "partition_completion",
"partition_start": "2026-01-01T00:00:00+00:00",
"partition_end": "2026-01-01T01:00:00+00:00",
"execution_run_id": "run-1",
"model_version_hash": "customers-v1",
"model_name": "customers",
"scope_key": "customers:main.customers",
"target_name": "customers"
},
{
"cursor_column": "event_id",
"cursor_type": "integer",
"batch_size": "1",
"run_start": "2",
"run_end": "11",
"event_id": "events-batch-2-older",
"created_at": "2026-01-01T00:30:00Z",
"observed_at": "2026-01-01T00:30:00Z",
"record_type": "partition_completion",
"partition_start": "2",
"partition_end": "5",
"execution_run_id": "run-old",
"model_version_hash": "events-v1",
"model_name": "events",
"scope_key": "events:main.events",
"target_name": "events",
"physical_generation_id": "events-generation-1"
},
{
"cursor_column": "event_id",
"cursor_type": "integer",
"batch_size": "1",
"run_start": "2",
"run_end": "11",
"event_id": "events-batch-2",
"created_at": "2026-01-01T01:00:00Z",
"observed_at": "2026-01-01T01:00:00Z",
"record_type": "partition_completion",
"partition_start": "2",
"partition_end": "9",
"execution_run_id": "run-a",
"model_version_hash": "events-v1",
"model_name": "events",
"scope_key": "events:main.events",
"target_name": "events",
"physical_generation_id": "events-generation-1"
},
{
"cursor_column": "event_id",
"cursor_type": "integer",
"batch_size": "1",
"run_start": "2",
"run_end": "11",
"event_id": "events-batch-9",
"created_at": "2026-01-01T02:00:00Z",
"observed_at": "2026-01-01T02:00:00Z",
"record_type": "partition_completion",
"partition_start": "9",
"partition_end": "10",
"execution_run_id": "run-b",
"model_version_hash": "events-v1",
"model_name": "events",
"scope_key": "events:main.events",
"target_name": "events",
"physical_generation_id": "events-generation-1"
},
{
"cursor_column": "event_id",
"cursor_type": "integer",
"batch_size": "1",
"run_start": "2",
"run_end": "11",
"event_id": "events-batch-10",
"created_at": "2026-01-01T03:00:00Z",
"observed_at": "2026-01-01T03:00:00Z",
"record_type": "partition_completion",
"partition_start": "10",
"partition_end": "11",
"execution_run_id": "run-c",
"model_version_hash": "events-v1",
"model_name": "events",
"scope_key": "events:main.events",
"target_name": "events",
"physical_generation_id": "events-generation-1"
},
{
"cursor_column": "ordered_at",
"cursor_type": "timestamp",
"batch_size": "1 hour",
"run_start": "2026-01-01T00:00:00+00:00",
"run_end": "2026-01-01T02:00:00+00:00",
"event_id": "payments-batch-0",
"created_at": "2026-01-01T00:30:00Z",
"observed_at": "2026-01-01T00:30:00Z",
"record_type": "partition_completion",
"partition_start": "2026-01-01T00:00:00+00:00",
"partition_end": "2026-01-01T01:00:00+00:00",
"execution_run_id": "run-p1",
"model_version_hash": "payments-v1",
"model_name": "payments",
"scope_key": "payments:main.payments",
"target_name": "payments",
"physical_generation_id": "payments-generation-1"
},
{
"cursor_column": "ordered_at",
"cursor_type": "timestamp",
"batch_size": "1 hour",
"run_start": "2026-01-01T00:00:00+00:00",
"run_end": "2026-01-01T02:00:00+00:00",
"event_id": "payments-batch-1",
"created_at": "2026-01-01T00:40:00Z",
"observed_at": "2026-01-01T00:40:00Z",
"record_type": "partition_completion",
"partition_start": "2026-01-01T01:00:00+00:00",
"partition_end": "2026-01-01T02:00:00+00:00",
"execution_run_id": "run-p2",
"model_version_hash": "payments-v1",
"model_name": "payments",
"scope_key": "payments:main.payments",
"target_name": "payments",
"physical_generation_id": "payments-generation-1"
},
{
"cursor_column": "ordered_at",
"cursor_type": "timestamp",
"batch_size": "1 hour",
"run_start": "2026-01-01T00:00:00+00:00",
"run_end": "2026-01-01T02:00:00+00:00",
"event_id": "payments-requirement",
"created_at": "2026-01-01T01:00:00Z",
"observed_at": "2026-01-01T01:00:00Z",
"record_type": "replay_requirement",
"partition_start": null,
"partition_end": null,
"completion_type": null,
"execution_run_id": "run-replay",
"model_version_hash": "payments-v2",
"replay_requirement_id": "payments-requirement",
"required_model_version_hash": "payments-v2",
"previous_model_version_hash": "payments-v1",
"replay_policy": "full",
"model_name": "payments",
"scope_key": "payments:main.payments",
"target_name": "payments",
"physical_generation_id": "payments-generation-1"
},
{
"cursor_column": "ordered_at",
"cursor_type": "timestamp",
"batch_size": "1 hour",
"run_start": "2026-01-01T00:00:00+00:00",
"run_end": "2026-01-01T02:00:00+00:00",
"event_id": "payments-batch-0-v3",
"created_at": "2026-01-01T02:00:00Z",
"observed_at": "2026-01-01T02:00:00Z",
"record_type": "partition_completion",
"partition_start": "2026-01-01T00:00:00+00:00",
"partition_end": "2026-01-01T01:00:00+00:00",
"execution_run_id": "run-p3",
"model_version_hash": "payments-v3",
"model_name": "payments",
"scope_key": "payments:main.payments",
"target_name": "payments",
"physical_generation_id": "payments-generation-1"
}
]
}
Loading
Loading