This is an automated email from the ASF dual-hosted git repository.
wyk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/asterixdb.git
The following commit(s) were added to refs/heads/master by this push:
new 1777594256 [NO ISSUE] Error code for invalide COPY TO key evaluation
1777594256 is described below
commit 17775942562acd492345bab49abecef5e1b0325a
Author: Hussain Towaileb <[email protected]>
AuthorDate: Tue Mar 19 18:42:14 2024 +0300
[NO ISSUE] Error code for invalide COPY TO key evaluation
Change-Id: I655be98e2dfd95482747befe17f9151697eacb11
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/18205
Integration-Tests: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Reviewed-by: Hussain Towaileb <[email protected]>
Reviewed-by: Wail Alkowaileet <[email protected]>
---
.../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 b508ce5cb2..ab028de014 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
@@ -96,6 +96,7 @@ public enum ErrorCode implements IError {
TYPE_MISMATCH_EXTRA_FIELD(66),
UNSUPPORTED_COLUMN_TYPE(67),
INVALID_KEY_TYPE(68),
+ FAILED_TO_READ_KEY(69),
UNSUPPORTED_JRE(100),
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 3621447dd0..bc1b0d0df0 100644
--- a/asterixdb/asterix-common/src/main/resources/asx_errormsg/en.properties
+++ b/asterixdb/asterix-common/src/main/resources/asx_errormsg/en.properties
@@ -103,6 +103,7 @@
66 = Type mismatch: including an extra field %1$s
67 = Type(s) '%1$s' are not supported in columnar storage format. Supported
types are %2$s
68 = Invalid key type. Expected '%1$s', found '%2$s'.
+69 = Failed to read key. Reason: %1$s.
100 = Unsupported JRE: %1$s