orders_zh
按客户编号汇总下单时间为上海9月1日至7日、排除取消订单的未发金额和件数
联合租户/订单键补全;时间半开区间、取消与粒度
仅候选检索
ready · 6 列
必要列召回 60.0% · 完整策略 否
查看候选、遗漏、路径与 SQL 结果
{
"status": "ready",
"tables": [
"order_lines",
"orders"
],
"columns": [
"order_lines.ordered_qty",
"order_lines.shipped_qty",
"order_lines.unit_price_cents",
"orders.created_at",
"orders.customer_id",
"orders.status"
],
"relationships": [],
"candidate_columns": 6,
"notes": [],
"coverage": {
"strategy": "aggregate-lines-per-order",
"tables_recall": 1.0,
"missing_tables": [],
"columns_recall": 0.6,
"missing_columns": [
"order_lines.order_id",
"order_lines.tenant_id",
"orders.order_id",
"orders.tenant_id"
],
"relationships_recall": 0.0,
"missing_relationships": [
"order_lines(tenant_id,order_id)->orders(tenant_id,order_id)"
],
"element_recall": 0.6153846153846154,
"complete": false,
"extra_columns": []
},
"reference_query": {
"status": "not_run_incomplete_context",
"expected_rows": [
[
"C1",
2,
10,
7000
],
[
"C2",
1,
2,
4000
]
]
}
}路径补全后
ready · 10 列
必要列召回 100.0% · 完整策略 是
查看候选、遗漏、路径与 SQL 结果
{
"status": "ready",
"tables": [
"order_lines",
"orders"
],
"columns": [
"order_lines.order_id",
"order_lines.ordered_qty",
"order_lines.shipped_qty",
"order_lines.tenant_id",
"order_lines.unit_price_cents",
"orders.created_at",
"orders.customer_id",
"orders.order_id",
"orders.status",
"orders.tenant_id"
],
"relationships": [
"order_lines(tenant_id,order_id)->orders(tenant_id,order_id)"
],
"candidate_columns": 10,
"notes": [
"Added FK endpoints: order_lines.order_id, order_lines.tenant_id, orders.order_id, orders.tenant_id"
],
"coverage": {
"strategy": "aggregate-lines-per-order",
"tables_recall": 1.0,
"missing_tables": [],
"columns_recall": 1.0,
"missing_columns": [],
"relationships_recall": 1.0,
"missing_relationships": [],
"element_recall": 1.0,
"complete": true,
"extra_columns": []
},
"reference_query": {
"status": "matched",
"expected_rows": [
[
"C1",
2,
10,
7000
],
[
"C2",
1,
2,
4000
]
],
"actual_rows": [
[
"C1",
2,
10,
7000
],
[
"C2",
1,
2,
4000
]
]
}
}