CalvinKirs commented on code in PR #19655:
URL: https://github.com/apache/doris/pull/19655#discussion_r1202071023


##########
fe/fe-core/src/main/java/org/apache/doris/analysis/StreamLoadStmt.java:
##########
@@ -452,14 +434,26 @@ private void setLineDelimiter(String oriLineDelimiter) 
throws AnalysisException
         lineDelimiter.analyze();
     }
 
-    @Override
     public long getMemLimit() {
         return execMemLimit;
     }
 
-    @Override
     public double getMaxFilterRatio() {
         return maxFilterRatio;
     }
-}
 
+    @Override
+    public List<? extends DataDesc> getDataDescList() {
+        return null;
+    }
+
+    @Override
+    public ResourceDesc getResourceDesc() {
+        return null;
+    }
+
+    @Override
+    public LoadType getLoadType() {
+        return null;
+    }
+}

Review Comment:
   It is not advisable to return null directly, please re-evaluate whether the 
design of the interface is reasonable, or at least you should throw an error 
similar to `NotSupport...`.



-- 
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: commits-unsubscr...@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to