openinx commented on code in PR #99:
URL: https://github.com/apache/flink-table-store/pull/99#discussion_r865755438


##########
flink-table-store-connector/src/main/java/org/apache/flink/table/store/connector/sink/StoreSinkWriter.java:
##########
@@ -52,10 +55,13 @@
         implements StatefulSinkWriter<RowData, WriterStateT>,
                 PrecommittingSinkWriter<RowData, Committable> {
 
+    private static final BinaryRowData DUMMY_KEY = new BinaryRowData(0);

Review Comment:
   It's recommended to use `BinaryRowDataUtil.EMPTY_ROW` to get ride of 
NullPointerException when accessing the `segments` inside the `BinaryRowData`.



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