linrrzqqq commented on code in PR #65483:
URL: https://github.com/apache/doris/pull/65483#discussion_r3644550266


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/load/NereidsStreamLoadPlanner.java:
##########
@@ -323,6 +323,7 @@ public TPipelineFragmentParams plan(TUniqueId loadId, int 
fragmentInstanceIdInde
         queryOptions.setEnableMemtableOnSinkNode(enableMemtableOnSinkNode);
         queryOptions.setNewVersionUnixTimestamp(true);
         queryOptions.setNewVersionPercentile(true);
+        queryOptions.setNewVersionBitmapOpCount(true);

Review Comment:
   `ShortCircuitQueryContext` 会直接调用 ` planner.getQueryOptions()` 
(ShortCircuitQueryContext.java:92), 规划的时候,planner 已经保存了 SessionVariable 
里面构造的`TQueryOptions`, 所以参数会正常传递到 
be,已经添加[[测试](https://github.com/apache/doris/pull/65483/changes/81362dfc08e6ef88fa16b892d0a2081ae8a126c1)]验证



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