Alibaba-HZY commented on code in PR #812:
URL: https://github.com/apache/incubator-paimon/pull/812#discussion_r1159740807


##########
paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/source/FlinkSourceBuilder.java:
##########
@@ -142,7 +144,10 @@ private ContinuousFileStoreSource 
buildContinuousFileSource() {
 
             // TODO visit all options through CoreOptions
             StartupMode startupMode = CoreOptions.startupMode(conf);
-            if (logSourceProvider == null) {
+            StreamReadType streamReadType = CoreOptions.streamReadType(conf);
+
+            // no log system or
+            if (logSourceProvider == null || streamReadType == FILE) {

Review Comment:
   no log system or log system is configured but streamReadType is FILE



-- 
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...@paimon.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to