JingsongLi commented on code in PR #308: URL: https://github.com/apache/flink-table-store/pull/308#discussion_r990607817
########## flink-table-store-core/src/main/java/org/apache/flink/table/store/file/mergetree/compact/PartialUpdateMergeFunction.java: ########## @@ -63,12 +67,19 @@ public void add(KeyValue kv) { @Override @Nullable - public RowData getValue() { - return row; + public KeyValue getResult() { + if (latestKv == null) { + return null; Review Comment: throw exception here? -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org