>From Hussain Towaileb <[email protected]>:

Hussain Towaileb has uploaded this change for review. ( 
https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/18205 )


Change subject: [NO ISSUE] Error code for invalide COPY TO key evaluation
......................................................................

[NO ISSUE] Error code for invalide COPY TO key evaluation

Change-Id: I655be98e2dfd95482747befe17f9151697eacb11
---
M 
asterixdb/asterix-common/src/main/java/org/apache/asterix/common/exceptions/ErrorCode.java
M asterixdb/asterix-common/src/main/resources/asx_errormsg/en.properties
2 files changed, 11 insertions(+), 0 deletions(-)



  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb 
refs/changes/05/18205/1

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 b508ce5..ab028de 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 @@
     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 3621447..bc1b0d0 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


--
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/18205
To unsubscribe, or for help writing mail filters, visit 
https://asterix-gerrit.ics.uci.edu/settings

Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Change-Id: I655be98e2dfd95482747befe17f9151697eacb11
Gerrit-Change-Number: 18205
Gerrit-PatchSet: 1
Gerrit-Owner: Hussain Towaileb <[email protected]>
Gerrit-MessageType: newchange

Reply via email to