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


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/logical/LogicalOlapTableStreamScan.java:
##########
@@ -144,14 +159,16 @@ public List<Slot> computeOutput() {
                 }
             }
         }
-        if (!isIncrementalScan) {
-            // inject virtual stream hidden columns
-            SlotReference seqColRef = (SlotReference) new Alias(new 
BigIntLiteral(-1L), Column.STREAM_SEQ_COL).toSlot();
+        if (!changeScanInfo.isPresent()) {
+            // Only stream queries expose stream virtual columns.
+            SlotReference seqColRef = (SlotReference) new Alias(new 
BigIntLiteral(-1L), Column.STREAM_SEQ_COL)
+                    .toSlot().withNullable(true);

Review Comment:
   希望保留column visible信息



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