You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by xi...@apache.org on 2021/12/09 13:35:21 UTC

[calcite] 01/02: Log plan after physical tweaks in new line

This is an automated email from the ASF dual-hosted git repository.

xiong pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git

commit 86dce8ac04ccd7f29f6b60c5b33ef6d14d8dbc58
Author: nobigo <no...@gmail.com>
AuthorDate: Thu Dec 9 09:25:21 2021 +0800

    Log plan after physical tweaks in new line
---
 core/src/main/java/org/apache/calcite/prepare/Prepare.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/calcite/prepare/Prepare.java b/core/src/main/java/org/apache/calcite/prepare/Prepare.java
index e56281e..03c2dd0 100644
--- a/core/src/main/java/org/apache/calcite/prepare/Prepare.java
+++ b/core/src/main/java/org/apache/calcite/prepare/Prepare.java
@@ -177,7 +177,7 @@ public abstract class Prepare {
     final RelNode rootRel4 = program.run(
         planner, root.rel, desiredTraits, materializationList, latticeList);
     if (LOGGER.isDebugEnabled()) {
-      LOGGER.debug("Plan after physical tweaks: {}",
+      LOGGER.debug("Plan after physical tweaks:\n{}",
           RelOptUtil.toString(rootRel4, SqlExplainLevel.ALL_ATTRIBUTES));
     }