Commit f6fa22c
feat(spec): boolean aggregand column in the aggregation conformance fixture — ruled numeric min/max on every face (#12947)
* feat(spec): boolean aggregand column in the aggregation conformance fixture, ruled numeric on every face
Adds flag (3 true / 3 false, the FLAG_BY_ID distribution) to AGGREGATION_ROWS
with seven ruled cases (sum=3, avg=0.5, min=0, max=1, count=6,
count_distinct=2, grouped min east=1/west=0), extends the three SQL harness
DDLs, aligns min/max over booleans to the numeric domain on every face per the
2026-08-28 maintainer ruling (option A, superseding #11249's false/true):
objectql in-memory fallback, driver-memory data + analytics faces, driver-sql
result presentation (boolean kind skipped for min/max), driver-mongodb
lowering (numericAggregandExpr on min/max). FLAG_BY_ID private maps deleted in
favour of the fixture column; ruling-B pins in the 11635/11151 suites flipped
to the ruled 0/1.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpRNHxWZgSUgVnFT9mQQo4
* chore: changeset for the ruled numeric boolean min/max
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpRNHxWZgSUgVnFT9mQQo4
* test: flip the two remaining ruling-B boolean min/max pins to the ruled 0/1
The 11782 cross-door parity suite keeps every row-read boolean pin (find,
distinct, group keys — NOT superseded) and asserts the ruled numbers on the
two order-statistic cells; the mongodb pipeline-builder unit test pins the
boolean-only coercion wrapper on min/max stages, the same shape it already
pins for sum/avg. Pin sweep across driver-sql/mongodb/memory/objectql/rest/qa
surfaced no third file.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpRNHxWZgSUgVnFT9mQQo4
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 945e91a commit f6fa22c
16 files changed
Lines changed: 472 additions & 199 deletions
File tree
- .changeset
- packages
- drivers
- driver-memory/src
- driver-mongodb/src
- driver-sqlite-wasm/src
- driver-sql/src
- driver-turso/src
- objectql/src
- spec/src/data
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
485 | | - | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
486 | 488 | | |
487 | 489 | | |
488 | 490 | | |
| |||
1241 | 1243 | | |
1242 | 1244 | | |
1243 | 1245 | | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
1244 | 1256 | | |
1245 | | - | |
| 1257 | + | |
1246 | 1258 | | |
1247 | | - | |
| 1259 | + | |
1248 | 1260 | | |
1249 | 1261 | | |
1250 | 1262 | | |
| |||
Lines changed: 45 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
218 | 244 | | |
219 | 245 | | |
220 | 246 | | |
| |||
235 | 261 | | |
236 | 262 | | |
237 | 263 | | |
| 264 | + | |
| 265 | + | |
238 | 266 | | |
239 | 267 | | |
240 | 268 | | |
| |||
288 | 316 | | |
289 | 317 | | |
290 | 318 | | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
291 | 336 | | |
292 | 337 | | |
293 | 338 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1342 | 1342 | | |
1343 | 1343 | | |
1344 | 1344 | | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
1345 | 1355 | | |
1346 | 1356 | | |
1347 | | - | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
1348 | 1360 | | |
1349 | 1361 | | |
1350 | 1362 | | |
1351 | 1363 | | |
1352 | 1364 | | |
1353 | 1365 | | |
1354 | | - | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
1355 | 1369 | | |
1356 | 1370 | | |
1357 | 1371 | | |
| |||
0 commit comments