You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@asterixdb.apache.org by mb...@apache.org on 2025/06/26 19:13:42 UTC
(asterixdb) 01/07: [ASTERIXDB-3603][FUN] Add new error code for transform functions
This is an automated email from the ASF dual-hosted git repository.
mblow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git
commit f2bb5ee1da4316e60cd55857ee6c49a1a9a03b7e
Author: Peeyush Gupta <pe...@couchbase.com>
AuthorDate: Mon Jun 9 11:00:13 2025 -0700
[ASTERIXDB-3603][FUN] Add new error code for transform functions
- user model changes: no
- storage format changes: no
- interface changes: no
Ext-ref: MB-63039
Change-Id: Idb7d8c1939ac28452810ccefa16bb93e0582db49
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19909
Integration-Tests: Jenkins <je...@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <je...@fulliautomatix.ics.uci.edu>
Reviewed-by: Ali Alsuliman <al...@gmail.com>
---
.../src/main/java/org/apache/asterix/common/exceptions/ErrorCode.java | 1 +
asterixdb/asterix-common/src/main/resources/asx_errormsg/en.properties | 1 +
2 files changed, 2 insertions(+)
diff --git a/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/exceptions/ErrorCode.java b/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/exceptions/ErrorCode.java
index 260617a157..f9c4f213a3 100644
--- a/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/exceptions/ErrorCode.java
+++ b/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/exceptions/ErrorCode.java
@@ -329,6 +329,7 @@ public enum ErrorCode implements IError {
NO_VALID_AUTHENTICATION_PARAMS_PROVIDED(1221),
NO_VALID_AUTHENTICATION_PARAMS_PROVIDED_TO_IMPERSONATE_SERVICE_ACCOUNT(1222),
INVALID_TRANSFORM_FUNCTION(1223),
+ CANNOT_REPLACE_OBJECT_DEPENDENT_EXISTS(1224),
// Feed errors
DATAFLOW_ILLEGAL_STATE(3001),
diff --git a/asterixdb/asterix-common/src/main/resources/asx_errormsg/en.properties b/asterixdb/asterix-common/src/main/resources/asx_errormsg/en.properties
index 68c23c7868..c760e55b2b 100644
--- a/asterixdb/asterix-common/src/main/resources/asx_errormsg/en.properties
+++ b/asterixdb/asterix-common/src/main/resources/asx_errormsg/en.properties
@@ -331,6 +331,7 @@
1221 = No valid authentication parameters were provided
1222 = No valid authentication parameters were provided to impersonate service account
1223 = Failed to create transform function. Encountered error: '%1$s'
+1224 = Cannot replace %1$s %2$s being used by %3$s %4$s
# Feed Errors
3001 = Illegal state.