CheneyYin commented on code in PR #5919:
URL: https://github.com/apache/seatunnel/pull/5919#discussion_r1407017773


##########
seatunnel-formats/seatunnel-format-json/src/main/java/org/apache/seatunnel/format/json/ogg/OggJsonDeserializationSchema.java:
##########
@@ -102,7 +102,7 @@ public OggJsonDeserializationSchema(
     @Override
     public SeaTunnelRow deserialize(byte[] message) throws IOException {
         throw new SeaTunnelJsonFormatException(
-                CommonErrorCodeDeprecated.JSON_OPERATION_FAILED,
+                CommonErrorCode.JSON_OPERATION_FAILED,
                 String.format("Failed to deserialize JSON '%s'.", new 
String(message)));
     }

Review Comment:
   ack



##########
seatunnel-common/src/main/java/org/apache/seatunnel/common/exception/CommonErrorCode.java:
##########
@@ -19,6 +19,7 @@
 
 /** SeaTunnel connector error code interface */
 public enum CommonErrorCode implements SeaTunnelErrorCode {
+    JSON_OPERATION_FAILED("COMMON-02", "Json covert/parse operation failed"),

Review Comment:
   ack



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to