You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "tsreaper (via GitHub)" <gi...@apache.org> on 2023/03/27 02:58:42 UTC
[GitHub] [incubator-paimon] tsreaper commented on a diff in pull request #719: [flink] Use new ReadBuilder and WriteBuilder API in tests of paimon-flink module
tsreaper commented on code in PR #719:
URL: https://github.com/apache/incubator-paimon/pull/719#discussion_r1148737481
##########
paimon-flink/paimon-flink-common/src/test/java/org/apache/paimon/flink/sink/CommitterOperatorTest.java:
##########
@@ -246,7 +256,7 @@ private OneInputStreamOperatorTestHarness<Committable, Committable> createLossyT
new CommitterOperator(
true,
initialCommitUser,
- user -> new StoreCommitter(table.newCommit(user)),
+ user -> new StoreCommitter(table.newStreamWriteBuilder().newCommit()),
Review Comment:
You forgot `withCommitUser`. I'm thinking if we need to force users to specify a `commitUser` when using `StreamWriteBuilder`, instead of generating a random UUID for them. @JingsongLi
--
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-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org