TsukiokaKogane commented on code in PR #63850:
URL: https://github.com/apache/doris/pull/63850#discussion_r3366546070


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/analyzer/UnboundRelation.java:
##########
@@ -62,41 +63,54 @@ public class UnboundRelation extends LogicalRelation 
implements Unbound, BlockFu
 
     private final Optional<TableSnapshot> tableSnapshot;
 
+    // Change scan metadata derived from table@incr(...), only used by Nereids 
path.
+    private final Optional<ChangeScanInfo> changeScanInfo;
+
     public UnboundRelation(RelationId id, List<String> nameParts) {
         this(id, nameParts, Optional.empty(), Optional.empty(),
                 ImmutableList.of(), false, ImmutableList.of(),
                 ImmutableList.of(), Optional.empty(), Optional.empty(), null,
-                Optional.empty(), Optional.empty());
+                Optional.empty(), Optional.empty(), Optional.empty());
     }
 
     public UnboundRelation(RelationId id, List<String> nameParts, List<String> 
partNames,
             boolean isTempPart) {
         this(id, nameParts, Optional.empty(), Optional.empty(), partNames, 
isTempPart, ImmutableList.of(),
-                ImmutableList.of(), Optional.empty(), Optional.empty(), null, 
Optional.empty(), Optional.empty());
+                ImmutableList.of(), Optional.empty(), Optional.empty(), null, 
Optional.empty(), Optional.empty(),
+                Optional.empty());
     }
 
     public UnboundRelation(RelationId id, List<String> nameParts, List<String> 
partNames,
             boolean isTempPart, List<Long> tabletIds, List<String> hints, 
Optional<TableSample> tableSample,
             Optional<String> indexName) {
         this(id, nameParts, Optional.empty(), Optional.empty(),
                 partNames, isTempPart, tabletIds, hints, tableSample, 
indexName, null, Optional.empty(),
-                Optional.empty());
+                Optional.empty(), Optional.empty());
     }
 
     public UnboundRelation(RelationId id, List<String> nameParts, List<String> 
partNames,
             boolean isTempPart, List<Long> tabletIds, List<String> hints, 
Optional<TableSample> tableSample,
             Optional<String> indexName, TableScanParams scanParams, 
Optional<TableSnapshot> tableSnapshot) {
+        this(id, nameParts, isTempPart, partNames, tabletIds, hints, 
tableSample, indexName,
+                scanParams, tableSnapshot, Optional.empty());
+    }
+
+    public UnboundRelation(RelationId id, List<String> nameParts, boolean 
isTempPart, List<String> partNames,
+            List<Long> tabletIds, List<String> hints, Optional<TableSample> 
tableSample, Optional<String> indexName,

Review Comment:
   ok



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