Skip to content

test: normalize and multiset-compare result sets across engines - #53

Merged
Aybavs merged 1 commit into
mainfrom
test/45-normalize
Aug 4, 2026
Merged

test: normalize and multiset-compare result sets across engines#53
Aybavs merged 1 commit into
mainfrom
test/45-normalize

Conversation

@Aybavs

@Aybavs Aybavs commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Renders engine rows and SQLite driver rows into the same canonical cells so results can be compared meaningfully.

  • Numerics share one form, so an int and an equal float match — SQLite returns an average as a float where this engine may return an int. Six significant digits absorb last-bit float noise without hiding a real difference (35.0 vs 35.1 still differs).
  • Cells carry a type tag, so the text 35 never equals the number 35, and NULL uses a sentinel no generated literal can produce, so the text NULL never reads as NULL.
  • Compare sorts both sides, because row order is unspecified without ORDER BY — but duplicate counts still have to match.

Closes #45

@Aybavs
Aybavs merged commit dfebaaf into main Aug 4, 2026
1 check passed
@Aybavs
Aybavs deleted the test/45-normalize branch August 4, 2026 13:48
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.

test: normalize and multiset-compare result sets across engines

1 participant