zhangbutao commented on code in PR #34681: URL: https://github.com/apache/doris/pull/34681#discussion_r1597458343
########## fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4: ########## @@ -966,6 +966,10 @@ sampleMethod | INTEGER_VALUE ROWS #sampleByRows ; +tableSnapshot + : FOR tableSnapshotType=(TIME | VERSION) AS OF valueExpression Review Comment: Good suggesstion! Fixed. Thanks. ########## fe/fe-core/src/main/java/org/apache/doris/nereids/analyzer/UnboundRelation.java: ########## @@ -59,41 +60,46 @@ public class UnboundRelation extends LogicalRelation implements Unbound, BlockFu // the start and end position of the sql substring(e.g. "t1", "db1.t1", "ctl1.db1.t1") private final Optional<Pair<Integer, Integer>> indexInSqlString; + private final TableSnapshot tableSnapshot; Review Comment: Fixed. -- 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