hailin0 commented on code in PR #5992:
URL: https://github.com/apache/seatunnel/pull/5992#discussion_r1537354042


##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/serialization/DeserializationSchema.java:
##########
@@ -34,12 +35,30 @@ public interface DeserializationSchema<T> extends 
Serializable {
      */
     T deserialize(byte[] message) throws IOException;
 
+    /**
+     * Deserializes the byte message.
+     *
+     * @param message The message, as a byte array.
+     * @param tablePath The Registry name.
+     * @return The deserialized message as an SeaTunnel Row (null if the 
message cannot be
+     *     deserialized).
+     */
+    T deserialize(byte[] message, TablePath tablePath) throws IOException;

Review Comment:
   Can’t we distinguish table formats through record topic?



-- 
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