Skip to content

Action Outcome Distributed Vendor SQL Replay 011 - Raw Research Artifact

Generated at: 2026-06-21T02:54:17Z Coordinator endpoint: http://127.0.0.1:19241/ SQL seed: docs/research/results/action_outcome_sql_replay_006.sql Node IDs: 1, 8

  • Seed statements attempted: 203
  • Seed statements succeeded: 203
  • Seed statements failed: 0
  • Seed row-count status: pass
  • Vendor table row-count status: pass
  • Distributed ingest status: pass
  • Full distributed SQL/JOIN/window status: pass
  • Boundary classification status: pass
Node IDStats URLticks_ingestedticks_storedticks_droppedpartitions_created
1http://127.0.0.1:19241/stats16116104
8http://127.0.0.1:19242/stats20820805
TableStable table_idOwner nodeExpected/live rows
action_outcome_episode_metrics571721101
action_outcome_episodes3679832
action_outcome_gate_suppressions16692121
action_outcome_replay_recommendations9749118
action_outcome_retrieval_quality_labels37786826
action_outcome_vendor_queries_0105887986
action_outcome_vendor_recommendations_01032465872
action_outcome_vendor_retrieval_01052359872
action_outcome_vendor_suppressions_01058120121
TableExpected InsertsLive RowsStatus
action_outcome_episode_metrics101101pass
action_outcome_episodes3232pass
action_outcome_gate_suppressions2121pass
action_outcome_replay_recommendations1818pass
action_outcome_retrieval_quality_labels2626pass
TableExpected RowsLive RowsStatus
action_outcome_vendor_queries_01066pass
action_outcome_vendor_recommendations_0107272pass
action_outcome_vendor_retrieval_0107272pass
action_outcome_vendor_suppressions_0102121pass
CheckLeft/table ownerRight ownerRowsExpectedStatus
failed_repeat_joinaction_outcome_vendor_recommendations_010 -> 8action_outcome_vendor_queries_010 -> 855pass
context_top_action_joinaction_outcome_vendor_recommendations_010 -> 8action_outcome_vendor_queries_010 -> 866pass
suppression_joinaction_outcome_vendor_suppressions_010 -> 1action_outcome_vendor_recommendations_010 -> 82121pass
misleading_retrieval_joinaction_outcome_vendor_retrieval_010 -> 8action_outcome_vendor_queries_010 -> 82323pass
row_number_windowaction_outcome_vendor_recommendations_010 -> 8n/a7272pass
lag_windowaction_outcome_vendor_recommendations_010 -> 8n/a7272pass

Experiment 011 separates distributed-safe replay checks from the current distributed planner boundary. Under the default 1/8 two-node ring, the query, recommendation, and retrieval vendor tables are co-located on node 8, so failed-repeat JOIN, context top-action JOIN, and misleading retrieval JOIN all pass through the coordinator.

The suppression table is owned by node 1 while recommendations are owned by node 8. The bounded small-table hash JOIN path now gathers both operational tables under the coordinator row cap, replays them into a temporary typed pipeline, and executes the original hash JOIN locally. This turns the former cross-node suppression JOIN boundary into a passing check without requiring a full distributed SQL optimizer.

The window checks now pass in cluster mode. The coordinator fetch-and-compute path preserves declared operational-table values when it materializes the temporary full-data table, so ROW_NUMBER and LAG match the single-node/vendor baseline.

Define an explicit shard-key or table-level distribution policy for symbol-less operational tables. The small-table JOIN path proves correctness for bounded control tables; production promotion now needs placement policy, row-cap telemetry, and a larger cost-based JOIN planner only for tables that exceed the small-table boundary.