morrySnow commented on code in PR #62917:
URL: https://github.com/apache/doris/pull/62917#discussion_r3205943902


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PhysicalPlanTranslator.java:
##########
@@ -2184,7 +2183,6 @@ public PlanFragment 
visitPhysicalProject(PhysicalProject<? extends Plan> project
         if (project.hasMultiLayerProjection()
                 && !(inputFragment instanceof MultiCastPlanFragment)
                 // TODO support for two phase read with project, remove it 
after refactor
-                && !(project.child() instanceof PhysicalDeferMaterializeTopN)
                 && !(project.child() instanceof 
PhysicalDeferMaterializeOlapScan

Review Comment:
   PhysicalDeferMaterializeOlapScan could be removed too



##########
fe/fe-core/src/main/java/org/apache/doris/qe/SessionVariable.java:
##########
@@ -2205,7 +2205,11 @@ public boolean isEnableHboNonStrictMatchingMode() {
     // Whether enable two phase read optimization
     // 1. read related rowids along with necessary column data
     // 2. spawn fetch RPC to other nodes to get related data by sorted rowids
-    @VarAttrDef.VarAttr(name = ENABLE_TWO_PHASE_READ_OPT, fuzzy = true)
+    @VarAttrDef.VarAttr(name = ENABLE_TWO_PHASE_READ_OPT, fuzzy = true, 
varType = VariableAnnotation.DEPRECATED,

Review Comment:
   use `VariableAnnotation.REMOVED`



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