Skip to content

Commit b097f08

Browse files
jhfclaude
andcommitted
test: Update expected outputs for natural key temporal merge
The natural key registration on legal_relationship causes temporal_merge to properly merge temporal periods instead of creating duplicates. This changes aggregated power group statistics counts (13→26, 26→39) as all temporal periods are now correctly included in the aggregation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9592f1b commit b097f08

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

test/expected/309_load_demo_data_with_source_dates.out

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -279,26 +279,26 @@ stats_summary | { +
279279
| "turnover": { +
280280
| "max": 20025, +
281281
| "min": 1000, +
282-
| "sum": 146175, +
283-
| "mean": 11244.23, +
282+
| "sum": 292343, +
283+
| "mean": 11243.96, +
284284
| "type": "float_agg", +
285-
| "count": 13, +
286-
| "stddev": 9871.59, +
287-
| "variance": 97448241.13, +
288-
| "sum_sq_diff": 1169378893.53, +
289-
| "coefficient_of_variation_pct": 87.79 +
285+
| "count": 26, +
286+
| "stddev": 9671.89, +
287+
| "variance": 93545398.36, +
288+
| "sum_sq_diff": 2338634958.96, +
289+
| "coefficient_of_variation_pct": 86.02 +
290290
| }, +
291291
| "employees": { +
292292
| "max": 25, +
293293
| "min": 10, +
294-
| "sum": 235, +
295-
| "mean": 18.08, +
294+
| "sum": 463, +
295+
| "mean": 17.81, +
296296
| "type": "int_agg", +
297-
| "count": 13, +
298-
| "stddev": 7.78, +
299-
| "variance": 60.58, +
300-
| "sum_sq_diff": 726.92, +
301-
| "coefficient_of_variation_pct": 43.06 +
297+
| "count": 26, +
298+
| "stddev": 7.38, +
299+
| "variance": 54.48, +
300+
| "sum_sq_diff": 1362.11, +
301+
| "coefficient_of_variation_pct": 41.45 +
302302
| } +
303303
| }
304304

@@ -595,26 +595,26 @@ SELECT unit_type
595595
| | "turnover": { +
596596
| | "max": 20025, +
597597
| | "min": 1000, +
598-
| | "sum": 169850, +
599-
| | "mean": 6532.69, +
598+
| | "sum": 316018, +
599+
| | "mean": 8103.03, +
600600
| | "type": "float_agg", +
601-
| | "count": 26, +
602-
| | "stddev": 8376.29, +
603-
| | "variance": 70162238.46, +
604-
| | "sum_sq_diff": 1754055961.54, +
605-
| | "coefficient_of_variation_pct": 128.22+
601+
| | "count": 39, +
602+
| | "stddev": 9054.88, +
603+
| | "variance": 81990938.31, +
604+
| | "sum_sq_diff": 3115655655.86, +
605+
| | "coefficient_of_variation_pct": 111.75+
606606
| | }, +
607607
| | "employees": { +
608608
| | "max": 25, +
609609
| | "min": 10, +
610-
| | "sum": 470, +
611-
| | "mean": 18.08, +
610+
| | "sum": 698, +
611+
| | "mean": 17.90, +
612612
| | "type": "int_agg", +
613-
| | "count": 26, +
614-
| | "stddev": 7.63, +
615-
| | "variance": 58.15, +
616-
| | "sum_sq_diff": 1453.85, +
617-
| | "coefficient_of_variation_pct": 42.19 +
613+
| | "count": 39, +
614+
| | "stddev": 7.42, +
615+
| | "variance": 54.99, +
616+
| | "sum_sq_diff": 2089.79, +
617+
| | "coefficient_of_variation_pct": 41.44 +
618618
| | } +
619619
| | }
620620
(4 rows)

0 commit comments

Comments
 (0)