From fef67adf74c7a0c53e7fed05c8d3fef1bd6c207e Mon Sep 17 00:00:00 2001 From: Paul Masurel Date: Tue, 18 Aug 2026 15:26:38 +0200 Subject: [PATCH] Mark ROUND out of scope --- jitexpr/docs/FUNCTIONS.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jitexpr/docs/FUNCTIONS.md b/jitexpr/docs/FUNCTIONS.md index b7ff548f9..1af9161f5 100644 --- a/jitexpr/docs/FUNCTIONS.md +++ b/jitexpr/docs/FUNCTIONS.md @@ -44,7 +44,7 @@ excluded from this pass, or is complex enough to warrant a separate implementati | 22 | `NEQ` | done | | 24 | `INT_MOD` | done | | 25 | `ABS` | done | -| 27 | `ROUND` | pending | +| 27 | `ROUND` | out-of-scope | | 28 | `FLOOR` | pending | | 29 | `CEIL` | pending | | 34 | `POW` | pending | @@ -76,7 +76,7 @@ excluded from this pass, or is complex enough to warrant a separate implementati | 79 | `SUBSTRING_COUNT` | pending | | 80 | `REGEXP_LIKE` | pending | -Progress: **22 / 45 in-scope** functions implemented; **10** functions are out-of-scope. +Progress: **22 / 44 in-scope** functions implemented; **11** functions are out-of-scope. ## Deferred implementation notes @@ -90,3 +90,7 @@ Progress: **22 / 45 in-scope** functions implemented; **10** functions are out-o - Calculated-field `IN` is lowered by logs-backend to dd-go's `ARRAY_CONTAINS`; it is distinct from the query-language `InExprNode` set-membership path and is deferred with the other array functions. +- `ROUND` has a literal-value-dependent return type, four integer/float input-output paths, an + aborting float-to-int overflow case, and an observable production defect where integer input at + precision zero leaves the lazily allocated output unwritten. It needs a separate parity decision + and implementation pass.