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


##########
flink-table-store-core/src/main/java/org/apache/flink/table/store/file/data/DataFileWriter.java:
##########
@@ -237,7 +210,14 @@ public RollingKvWriter(Supplier<KvFileWriter> 
writerFactory, long targetFileSize
     private Supplier<KvFileWriter> createWriterFactory(int level) {
         return () -> {
             try {
-                return new KvFileWriter(new KvBulkWriterFactory(), 
pathFactory.newPath(), level);
+                FileWriter.Factory<KeyValue, Metric> factory =

Review Comment:
   Yes, I agree.  It will be more clear if moving the factory initialization to 
the constructor.



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