morningman commented on code in PR #54804:
URL: https://github.com/apache/doris/pull/54804#discussion_r2279654008


##########
fe/fe-core/src/main/java/org/apache/doris/datasource/tvf/source/MetadataScanNode.java:
##########
@@ -73,20 +73,54 @@ protected void createScanRangeLocations() {
                 .filter(slot -> slot.isMaterialized())
                 .map(slot -> slot.getColumn().getName())
                 .collect(java.util.stream.Collectors.toList());
-        for (TMetaScanRange metaScanRange : 
tvf.getMetaScanRanges(requiredFileds)) {
-            TScanRange scanRange = new TScanRange();
-            scanRange.setMetaScanRange(metaScanRange);
+        TMetaScanRange metaScanRange = tvf.getMetaScanRange(requiredFileds);

Review Comment:
   ```suggestion
           TMetaScanRange metaScanRange = tvf.getMetaScanRange(requiredFields);
   ```



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to