VividByteWorker commented on code in PR #62453:
URL: https://github.com/apache/doris/pull/62453#discussion_r3108796850
##########
fe/fe-core/src/main/java/org/apache/doris/catalog/stream/BaseTableStream.java:
##########
@@ -104,7 +105,7 @@ public TableIf getBaseTableNullable() {
return baseTable;
}
- public void setProperties(Map<String, String> properties) throws
AnalysisException {
+ public void setProperties(Map<String, String> properties) throws
org.apache.doris.common.AnalysisException {
Review Comment:
why use full name here?
##########
fe/fe-core/src/main/java/org/apache/doris/planner/OlapScanNode.java:
##########
@@ -1397,4 +1409,12 @@ public long getCatalogId() {
}
return super.getCatalogId();
}
+
+ public void setStreamUpdate(OlapTableStreamUpdate streamUpdate) {
Review Comment:
It seems unnecessary to add these apis and streamUpdate property, which we
can get it from OlapTableStreamWrapper which OlapScanNode holds.
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/rules/analysis/BindExpression.java:
##########
@@ -1952,4 +1959,23 @@ private SimpleExprAnalyzer
getAnalyzerForOrderByAggFunc(Plan finalInput, Cascade
});
return bindInInputChildScope;
}
+
+ /**
+ * replaceColumnNameVisitor
+ * replace slot reference to stream virtual column to alias
+ */
+ private static class ReplaceStreamVirtualColumnVisitor extends
DefaultExpressionRewriter<Void> {
Review Comment:
it seems that just use LogicalProjection + LogicalOlapScan can fix the
problem of add extra hidden columns based on OlapTable.
--
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]