|
Ran
|
Jobs
1
|
Files
32
|
Run time
1min
|
Badge
README BADGES
|
push
github
feat: add exact SQLite decimal functions (#221) Decimal values stored as SQLite text previously required floating-point SQL arithmetic. Add explicit decimal SQL functions and a DECIMAL collation using bounded exact integer/rational arithmetic, preserving values beyond JavaScript's safe integer range. Call `RegisterSQLiteDecimalFunctions()` before opening SQLite connections. Addition, subtraction, multiplication and sum return exact decimal text; division, average and rounding use half-even rounding at an explicit scale. Floats, malformed values and results beyond the documented 38-digit bounds fail clearly. Existing SQL query behavior is unchanged unless these helpers are used. Validation: full Go suite with 100.0% statement coverage and zero lint issues in CI run 37322305142. Integration tests exercise both DAL reader APIs, simultaneous connections, NULL/empty aggregates, overflow, negative ties, numeric collation and registration failures. Independent review covers commit e2757db9b. Source commits: - f8c6541b4838 feat: add exact SQLite decimal functions - a3bf69aa831b test: exercise decimal functions on multiple SQLite connections - 36ed0053689b fix: resolve unrelated SQLite test lint findings - e2757db9b7d5 test: complete SQLite decimal coverage and document API Pull request: dal-go/dalgo2sql#221 Review: /private/tmp/demodb-decimal-sql-review.md
271 of 271 new or added lines in 1 file covered. (100.0%)
5618 of 5618 relevant lines covered (100.0%)
1.0 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 37322885797.1 | 32 |
100.0
|
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|