From 6021030a599134f959ebc0f36621b27127316356 Mon Sep 17 00:00:00 2001 From: Jeroen van Straten Date: Thu, 22 Sep 2022 16:46:23 +0200 Subject: [PATCH] feat: support constant function arguments (#305) --- extensions/functions_arithmetic.yaml | 2 +- text/simple_extensions_schema.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/functions_arithmetic.yaml b/extensions/functions_arithmetic.yaml index a77ae1e92..2ffec038c 100644 --- a/extensions/functions_arithmetic.yaml +++ b/extensions/functions_arithmetic.yaml @@ -1366,7 +1366,7 @@ aggregate_functions: options: [ TIE_TO_EVEN, TIE_AWAY_FROM_ZERO, TRUNCATE, CEILING, FLOOR ] required: false - value: i64 - constant: yes + constant: true name: n description: > A positive integer which defines the number of quantile diff --git a/text/simple_extensions_schema.yaml b/text/simple_extensions_schema.yaml index 48be6ab6b..19319f36f 100644 --- a/text/simple_extensions_schema.yaml +++ b/text/simple_extensions_schema.yaml @@ -112,6 +112,8 @@ $defs: type: string value: $ref: "#/$defs/type" + constant: + type: boolean - type: object # type required: [ type ] properties: