morningman commented on code in PR #15107: URL: https://github.com/apache/doris/pull/15107#discussion_r1056013062
########## fe/fe-core/src/main/java/org/apache/doris/qe/Coordinator.java: ########## @@ -318,9 +318,10 @@ private void setFromUserProperty(Analyzer analyzer) { private void initQueryOptions(ConnectContext context) { this.queryOptions = context.getSessionVariable().toThrift(); - this.queryOptions.setEnableVectorizedEngine(VectorizedUtil.isVectorized()); + this.queryOptions.setEnableVectorizedEngine(true); this.queryOptions.setEnablePipelineEngine(VectorizedUtil.isPipeline()); this.queryOptions.setBeExecVersion(Config.be_exec_version); + this.queryOptions.setEnableVectorizedEngine(true); Review Comment: duplicate code. And I think we should forcibly set `EnableVectorizedEngine` to true, not just set true here. Because `initQueryOptions(ConnectContext context)` is not always called -- 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