Skip to content

Commit 2a38389

Browse files
committed
test(tesseract): record postgres result snapshot for FK-aggregate fix
Adds the canonical row-data snapshot the regression test needs when `integration-postgres` is enabled. Validates that the filtered count on a primary key produces the correct distinct-customer counts (1 for 'completed', 1 for 'pending', 0 for orders.status NULL) — pre-fix the buggy cross-join over-counted these.
1 parent aaefc31 commit 2a38389

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
source: cubesqlplanner/src/tests/integration/multi_fact.rs
3+
expression: result
4+
---
5+
orders__status | customers__active_count
6+
---------------+------------------------
7+
completed | 1
8+
pending | 1
9+
NULL | 0

0 commit comments

Comments
 (0)