Repository navigation
Commit 7941125
feat: parity batch 17 (BigQuery exact NUMERIC and BIGNUMERIC; Timestream Query static result types and query insights; default-transport test guard) (#2553)
* feat(timestreamquery): static result types, typeof, element-free lambdas, temporal range and spatial coverage insights
Queries are parsed and typed before execution, so column types are known
for empty results and nested values, typeof reports Timestream type names,
and filter and reduce are recognised by their argument's type. Comments are
stripped before any rewrite. Query insights report the temporal range and
spatial coverage, apply the one query per second limit and are returned
only when enabled.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
* feat(gcpbigquery): exact NUMERIC and BIGNUMERIC arithmetic
Decimal values are stored in an order-preserving encoding and computed
with exact arithmetic across operators, math functions, casts, aggregates,
window functions, formatting, loading, results and extracts. BIGNUMERIC no
longer loses digits past scale 9. Parameterised NUMERIC(P,S) types are
enforced. Older snapshots convert on restore.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
* fix(gcpbigquery): decimals never reach clients encoded; mixed INT64 and NUMERIC joins, IN and IS DISTINCT FROM compare by value
Concatenation, LIKE, array-to-string, casts of arrays and structs, FORMAT
and error messages could return the internal decimal encoding, and a
string that resembled it could be decoded as a decimal. USING joins and IN
subqueries between INT64 and NUMERIC columns matched nothing, IS DISTINCT
FROM a literal was always true and ARRAY_CONCAT dropped decimal elements.
Combining a decimal with a string, bytes, boolean, struct or array is a
type error. SEARCH reads decimals inside structs as their decimal text.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
* fix(timestreamquery): integer overflow is not rendered wrapped, typeof escapes type names, outer joins keep their scanned range
An integer result that overflowed was printed as a wrapped BIGINT, and a
32-bit overflow kept the INTEGER type. A row field name containing a quote
broke the typeof rewrite. ON predicates of outer joins narrowed the
reported temporal range of the preserved side. Spatial coverage reads the
table's partition key through the write service. Rate-limit state is
pruned.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
* test(azure): private transport for the Functions test client
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
* test: no test client runs on the default transport; guard the pattern
A test server's Close drops the default transport's idle connections, so
a test client without its own transport can have its request broken by
another test's teardown. The remaining bare clients use private transports
and the test guard now rejects http.Client literals without a Transport.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
* test(guards): drop the Cognito exemptions now that those clients have private transports
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
* docs: regenerate service READMEs
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
* test(sns): prove non-blocking publish and prompt shutdown by ordering, not elapsed time
Both tests compared elapsed time with a 500ms budget, which a loaded
runner exceeds without anything blocking. The endpoint now stays blocked
until Publish, or Shutdown, has returned.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NVwMjLknMM32Xje6Qik6wY
---------
Co-authored-by: Witness Patrol <blackbird7181@gmail.com>
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>1 parent 3171a7d commit 7941125
98 files changed
Lines changed: 13150 additions & 330 deletions
File tree
- internal/app
- pkgs/persistence/testdata
- services
- azurefunctions
- cloudformation
- gcpbigquery
- bqsql
- lambdaweb
- lambda
- signin
- sns
- ssooidc
- timestreamquery
- test
- guards
- integration
- terraform
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
751 | | - | |
| 751 | + | |
752 | 752 | | |
753 | 753 | | |
754 | 754 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3141 | 3141 | | |
3142 | 3142 | | |
3143 | 3143 | | |
3144 | | - | |
| 3144 | + | |
3145 | 3145 | | |
3146 | 3146 | | |
3147 | 3147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
112 | | - | |
| 114 | + | |
| 115 | + | |
113 | 116 | | |
114 | 117 | | |
115 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
72 | 96 | | |
73 | 97 | | |
74 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38327 | 38327 | | |
38328 | 38328 | | |
38329 | 38329 | | |
| 38330 | + | |
| 38331 | + | |
38330 | 38332 | | |
38331 | 38333 | | |
38332 | 38334 | | |
| |||
38336 | 38338 | | |
38337 | 38339 | | |
38338 | 38340 | | |
| 38341 | + | |
| 38342 | + | |
| 38343 | + | |
| 38344 | + | |
38339 | 38345 | | |
38340 | 38346 | | |
38341 | 38347 | | |
| 38348 | + | |
| 38349 | + | |
| 38350 | + | |
38342 | 38351 | | |
38343 | 38352 | | |
38344 | 38353 | | |
| |||
38369 | 38378 | | |
38370 | 38379 | | |
38371 | 38380 | | |
| 38381 | + | |
38372 | 38382 | | |
| 38383 | + | |
38373 | 38384 | | |
38374 | 38385 | | |
38375 | 38386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
67 | | - | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
| |||
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
162 | | - | |
| 163 | + | |
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
| |||
268 | 269 | | |
269 | 270 | | |
270 | 271 | | |
271 | | - | |
| 272 | + | |
272 | 273 | | |
273 | 274 | | |
274 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
165 | | - | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| |||
365 | 366 | | |
366 | 367 | | |
367 | 368 | | |
368 | | - | |
| 369 | + | |
369 | 370 | | |
370 | 371 | | |
371 | 372 | | |
| |||
461 | 462 | | |
462 | 463 | | |
463 | 464 | | |
464 | | - | |
| 465 | + | |
465 | 466 | | |
466 | 467 | | |
467 | 468 | | |
| |||
0 commit comments