From 44b43967b18ac35948ed2d7b0b391c336fe5497f Mon Sep 17 00:00:00 2001 From: Raphael DALMON Date: Fri, 3 Oct 2025 14:53:24 +0200 Subject: [PATCH 1/2] feat: Add decimal data type and functions --- src/dataTypes.ts | 1 + src/functions.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/dataTypes.ts b/src/dataTypes.ts index 0712338..e5f958e 100644 --- a/src/dataTypes.ts +++ b/src/dataTypes.ts @@ -4,6 +4,7 @@ export default [ "byte", "char", "date", + "decimal", "double", "float", "geohash", diff --git a/src/functions.ts b/src/functions.ts index 7fcaf74..c93eab4 100644 --- a/src/functions.ts +++ b/src/functions.ts @@ -26,6 +26,7 @@ export default [ "atan", "atan2", "avg", + "avg_decimal", "base64", "batch", "between", @@ -196,6 +197,7 @@ export default [ "rnd_byte", "rnd_char", "rnd_date", + "rnd_decimal", "rnd_double", "rnd_double_array", "rnd_float", From 9c7233f132ab76943cc9fd8d1dfdb51be37c774b Mon Sep 17 00:00:00 2001 From: Raphael DALMON Date: Fri, 14 Nov 2025 11:20:27 +0100 Subject: [PATCH 2/2] refactor: Remove avg_decimal function from the list of exported functions --- src/functions.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/functions.ts b/src/functions.ts index c93eab4..bac02bf 100644 --- a/src/functions.ts +++ b/src/functions.ts @@ -26,7 +26,6 @@ export default [ "atan", "atan2", "avg", - "avg_decimal", "base64", "batch", "between",