EMsnap commented on code in PR #9522:
URL: https://github.com/apache/inlong/pull/9522#discussion_r1436939908
##########
inlong-sort/sort-formats/format-base/src/main/java/org/apache/inlong/sort/formats/base/TableFormatDeserializer.java:
##########
@@ -17,13 +17,42 @@
package org.apache.inlong.sort.formats.base;
-import org.apache.flink.api.common.functions.FlatMapFunction;
+import org.apache.flink.api.common.functions.RichFlatMapFunction;
import org.apache.flink.api.java.typeutils.ResultTypeQueryable;
+import org.apache.flink.configuration.Configuration;
import org.apache.flink.types.Row;
+import java.util.Map;
+
/**
* The deserializer for a given format.
*/
-public interface TableFormatDeserializer extends FlatMapFunction<byte[], Row>,
ResultTypeQueryable<Row> {
+public abstract class TableFormatDeserializer extends
RichFlatMapFunction<byte[], Row>
+ implements
+ ResultTypeQueryable<Row> {
+
+ private static final long serialVersionUID = 1L;
+
+ private static final String FORMAT_METRIC_GROUP_NAME = "format";
Review Comment:
not used
--
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]