You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by tk...@apache.org on 2026/08/24 01:57:30 UTC
(ignite) 01/01: IGNITE-29008 Wip
This is an automated email from the ASF dual-hosted git repository.
tkalkirill pushed a commit to branch ignite-29008
in repository https://gitbox.apache.org/repos/asf/ignite.git
commit a248d869739a97dc14a0084c07c2e69992738aed
Author: Kirill Tkalenko <tk...@yandex.ru>
AuthorDate: Mon Aug 24 04:57:02 2026 +0300
IGNITE-29008 Wip
---
.../internal/processors/query/calcite/prepare/IgniteSqlValidator.java | 1 +
.../query/calcite/integration/OperatorsExtensionIntegrationTest.java | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/prepare/IgniteSqlValidator.java b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/prepare/IgniteSqlValidator.java
index b3c643b7b9b..5656165a221 100644
--- a/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/prepare/IgniteSqlValidator.java
+++ b/modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/prepare/IgniteSqlValidator.java
@@ -620,6 +620,7 @@ public class IgniteSqlValidator extends SqlValidatorImpl {
case LAST_VALUE:
case NTILE:
case NTH_VALUE:
+ case OTHER_FUNCTION:
return;
default:
throw newValidationError(call,
diff --git a/modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/OperatorsExtensionIntegrationTest.java b/modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/OperatorsExtensionIntegrationTest.java
index 8825c2b4eb3..43f5a9248e1 100644
--- a/modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/OperatorsExtensionIntegrationTest.java
+++ b/modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/integration/OperatorsExtensionIntegrationTest.java
@@ -380,7 +380,7 @@ public class OperatorsExtensionIntegrationTest extends AbstractBasicIntegrationT
super(
"TEST_SUM",
null,
- SqlKind.SUM,
+ SqlKind.OTHER_FUNCTION,
ReturnTypes.AGG_SUM,
null,
OperandTypes.NUMERIC,
@@ -399,7 +399,7 @@ public class OperatorsExtensionIntegrationTest extends AbstractBasicIntegrationT
super(
"TEST_COUNT_PAIRS",
null,
- SqlKind.SUM,
+ SqlKind.OTHER_FUNCTION,
opBinding -> opBinding.getTypeFactory().createSqlType(SqlTypeName.BIGINT),
null,
OperandTypes.family(SqlTypeFamily.NUMERIC, SqlTypeFamily.NUMERIC),