Skip to content

Conversation

@lonvia
Copy link
Collaborator

@lonvia lonvia commented Nov 7, 2025

It's not really necessary to define extra steps for table checks with aggregate functions like sum. The "table contains" step can easily handle columns with aggregate functions as long as no "group by" is required. From a testing point of view, the use of aggregate function isn't something to recommend anyway, because it makes debugging failing test difficult and may hide errors.

This replaces the "sum of" step with a "table contains" with aggregates. Sums are only used in the regression tests, which have questionable result checks anyway.

@joto joto merged commit d19263d into osm2pgsql-dev:master Nov 8, 2025
24 checks passed
@lonvia lonvia deleted the bdd-sum branch November 28, 2025 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants