Commit Graph
10 Commits
Author SHA1 Message Date
rulego-team 4d8dfb4b25 refactor: 空接口 interface{} 统一替换为 any(公开 API 文件保留原写法) 2026-07-08 16:38:12 +08:00
rulego-team f14a3b4d7a fix: P0 bug 批量修复 H12/M1/M9/M10/M11/M16
- H12: 表达式 tokenizer 不再把 <expr>-<digit> 粘成负数 token;parseExpression 顶层剩余 token 报错(price*2-1 原静默截断为 200,现正确为 199)
- M1: SlidingWindow.closeExpiredWindows 只清理 triggeredWindows 记账,行驱逐交给 extractWindowDataLocked,修复重叠窗口数据丢失
- M9: is_null/is_not_null 用 reflect 识别 typed-nil((*int)(nil) 等原误判为非空)
- M10: percentile 标量 Execute 排除百分位参数 p、校验 [0,1]、index clamp,修复数据污染与越界 panic
- M11: row_number 共享实例自增加锁,消除数据竞争
- M16: LIKE 匹配器改为 O(n*m) 双指针算法,消除对抗性模式指数回溯 DoS(三处同改)
- 测试: 新增 regression_test.go / tokenizer_regression_test.go / sliding_expiry_regression_test.go 覆盖以上场景;修正 streamsql_function_integration_test 过期的 cast('int') 期望(int32→int)
2026-07-07 00:15:29 +08:00
rulego-team 4615b7a308 feat:支持聚合函数的后运算 #37 2025-08-29 13:49:26 +08:00
rulego-team ff00fd1f31 refactor:格式化代码和完善测试用例 2025-08-07 19:23:48 +08:00
rulego-team 6f5305ca01 feat:完善测试测试用例 2025-08-06 17:18:50 +08:00
rulego-team a47748d4c7 refactor: translate Chinese comments to English in functions directory
- Convert all Chinese function comments to English in functions package
- Update interface documentation for better international readability
- Maintain original logic and functionality unchanged
- Improve code documentation standards for global development
2025-08-04 12:35:33 +08:00
rulego-team c9b0486564 feat:增加函数实现 2025-06-11 18:45:39 +08:00
rulego-team df33b7ba6d feat:增加字符,时间,json,类型等函数 2025-06-09 18:56:52 +08:00
rulego-team a010130dc7 fix:修复嵌套函数错误 2025-05-28 19:21:17 +08:00
rulego-team e9fae86228 feat:增强函数系统,实现大量的函数 2025-05-25 18:02:37 +08:00