You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by da...@apache.org on 2020/07/13 02:19:34 UTC
[calcite] branch master updated: Following [CALCITE-3753],
add log when aborting optimization due to VolcanoTimeoutException
(Jiatao Tao)
This is an automated email from the ASF dual-hosted git repository.
danny0405 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite.git
The following commit(s) were added to refs/heads/master by this push:
new 9f18c85 Following [CALCITE-3753], add log when aborting optimization due to VolcanoTimeoutException (Jiatao Tao)
9f18c85 is described below
commit 9f18c85f5dd8a3a4e9381d5d871ab1e812ffea24
Author: Jiatao Tao <24...@qq.com>
AuthorDate: Tue Jul 7 17:17:30 2020 +0800
Following [CALCITE-3753], add log when aborting optimization due to VolcanoTimeoutException (Jiatao Tao)
close apache/calcite#2057
---
core/src/main/java/org/apache/calcite/plan/volcano/VolcanoPlanner.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/core/src/main/java/org/apache/calcite/plan/volcano/VolcanoPlanner.java b/core/src/main/java/org/apache/calcite/plan/volcano/VolcanoPlanner.java
index d367612..54615db 100644
--- a/core/src/main/java/org/apache/calcite/plan/volcano/VolcanoPlanner.java
+++ b/core/src/main/java/org/apache/calcite/plan/volcano/VolcanoPlanner.java
@@ -519,6 +519,7 @@ public class VolcanoPlanner extends AbstractRelOptPlanner {
try {
match.onMatch();
} catch (VolcanoTimeoutException e) {
+ LOGGER.warn("Volcano planning times out, cancels the subsequent optimization.");
root = canonize(root);
ruleQueue.phaseCompleted(phase);
break PLANNING;