You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/10/26 08:10:11 UTC

[GitHub] [doris] jackwener commented on a diff in pull request #13046: [enhancement](Nereids)Optimize CostAndEnforcerJob

jackwener commented on code in PR #13046:
URL: https://github.com/apache/doris/pull/13046#discussion_r1005350867


##########
build.sh:
##########
@@ -433,9 +433,9 @@ function build_ui() {
 }
 
 # FE UI must be built before building FE
-if [[ "${BUILD_FE}" -eq 1 ]]; then
-    build_ui
-fi
+# if [[ "${BUILD_FE}" -eq 1 ]]; then
+#     build_ui

Review Comment:
   remove this



##########
fe/fe-core/src/main/java/org/apache/doris/nereids/NereidsPlanner.java:
##########
@@ -73,7 +75,22 @@ public void plan(StatementBase queryStmt, org.apache.doris.thrift.TQueryOptions
         }
 
         LogicalPlanAdapter logicalPlanAdapter = (LogicalPlanAdapter) queryStmt;
-        PhysicalPlan physicalPlan = plan(logicalPlanAdapter.getLogicalPlan(), PhysicalProperties.ANY);
+        PhysicalPlan physicalPlan = null;
+        try {
+            physicalPlan = plan(logicalPlanAdapter.getLogicalPlan(), PhysicalProperties.ANY);
+        } catch (Exception e) {
+            e.printStackTrace();
+            throw new AnalysisException(e.getMessage());
+        } finally {
+            try {
+                FileOutputStream fs = new FileOutputStream("/mnt/disk1/mch/projects/doris/fe.log");

Review Comment:
   Shouldn't add.



-- 
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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org