You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
10.x: translate Clamp on Int32Range, Int64Range and DecimalRange (port of #406) #441
Clamp on Int32Range, Int64Range and DecimalRange runs as SQL on main since #406 (PR #440, merged as 84dc121). On release/10.x it still runs in memory only, so a 10.x query can't filter or order by a clamped value.
Change
Cherry-pick 5ffc7b6 with -x into a PR against release/10.x:
The Clamp arm in ValueRangesMethodCallTranslator.
ClampTranslationTests, ClampParityTests (an oracle, with the seed clamp-reads-the-stored-exclusive-upper-bound.patch), and the client-only tests moved to DateRange.Clamp.
translation-support.json's except map, claims E31 and E74, docs/efcore.md#what-runs-where, docs/ranges.md and the EF Core README.
On release/10.x, the translation and parity tests pass on the EF floor and the newest-patch leg (PostgreSQL 16 and 18). The seed fails the parity test, and the translation-support probe passes with the three closed types server.
Release
### Added in 10.3.0. Fixed only on release/10.x, so close it by hand.
Fixed on release/10.x by PR #442 (merged as f83dc29). Clamp on Int32Range, Int64Range and DecimalRange runs as SQL on this line too, and ClampParityTests holds it. Closed by hand, because Closes #n acts only on main.
Activity
CaffeinatedCoder commentedon Oct 25, 2026
PR #442.
feat: translate Clamp on Int32Range, Int64Range and DecimalRange (#406)
Merge pull request #442 from CaffeinatedCoder/feat/441-translate-clam…
CaffeinatedCoder commentedon Oct 25, 2026
Fixed on
release/10.xby PR #442 (merged as f83dc29).ClamponInt32Range,Int64RangeandDecimalRangeruns as SQL on this line too, andClampParityTestsholds it. Closed by hand, becauseCloses #nacts only onmain.