Expand distinct tests for groupby and other operators#476
Expand distinct tests for groupby and other operators#476
Conversation
- Add comprehensive tests for distinct with groupBy, filter, orderBy, and join operations - Add IVM operator tests for distinct combined with filter, map, groupBy, and complex pipelines - Test distinct behavior with aggregated results and chained operations - Verify distinct works correctly when applied before and after other operators - Fix linting issues with unused variables
- Fix orderBy context references after select operations - Move orderBy before select to avoid context issues - Ensure all distinct tests pass without TypeScript errors
|
Cursor Agent can help with this pull request. Just |
|
More templates
@tanstack/db
@tanstack/db-ivm
@tanstack/electric-db-collection
@tanstack/query-db-collection
@tanstack/react-db
@tanstack/solid-db
@tanstack/svelte-db
@tanstack/trailbase-db-collection
@tanstack/vue-db
commit: |
|
Size Change: 0 B Total Size: 64.6 kB ℹ️ View Unchanged
|
|
Size Change: 0 B Total Size: 1.16 kB ℹ️ View Unchanged
|
|
replaced by #510 |
Expand
distinctoperator tests to cover interactions withgroupBy,filter,orderBy,map, andjointo verify correct behavior.A user reported that
distinctwas not working withgroupBy. This PR adds comprehensive tests fordistinctin combination withgroupByand other operators (filter,orderBy,map,join) in bothdbanddb-ivmpackages. All new tests pass, indicating thatdistinctcurrently functions correctly with these operators.