quickstep-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zu...@apache.org
Subject [22/24] incubator-quickstep git commit: Enabled dag viz by default.
Date Wed, 01 Mar 2017 22:43:34 GMT
Enabled dag viz by default.


Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/88bc03b8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/88bc03b8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/88bc03b8

Branch: refs/heads/dist-patch
Commit: 88bc03b8a52f96990e172bcbe7dbb0c49c2b1f02
Parents: 3842c6e
Author: Zuyu Zhang <zuyuz@apache.org>
Authored: Sat Feb 11 11:40:33 2017 -0800
Committer: Zuyu Zhang <zuyuz@apache.org>
Committed: Wed Mar 1 14:43:01 2017 -0800

----------------------------------------------------------------------
 query_execution/QueryManagerBase.cpp                        | 2 +-
 query_optimizer/tests/DistributedExecutionGeneratorTest.cpp | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/88bc03b8/query_execution/QueryManagerBase.cpp
----------------------------------------------------------------------
diff --git a/query_execution/QueryManagerBase.cpp b/query_execution/QueryManagerBase.cpp
index f84ad4e..2dd5467 100644
--- a/query_execution/QueryManagerBase.cpp
+++ b/query_execution/QueryManagerBase.cpp
@@ -37,7 +37,7 @@ using std::pair;
 
 namespace quickstep {
 
-DEFINE_bool(visualize_execution_dag, false,
+DEFINE_bool(visualize_execution_dag, true,
             "If true, visualize the execution plan DAG into a graph in DOT "
             "format (DOT is a plain text graph description language) which is "
             "then printed via stderr.");

http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/88bc03b8/query_optimizer/tests/DistributedExecutionGeneratorTest.cpp
----------------------------------------------------------------------
diff --git a/query_optimizer/tests/DistributedExecutionGeneratorTest.cpp b/query_optimizer/tests/DistributedExecutionGeneratorTest.cpp
index b18b5ec..9b96e12 100644
--- a/query_optimizer/tests/DistributedExecutionGeneratorTest.cpp
+++ b/query_optimizer/tests/DistributedExecutionGeneratorTest.cpp
@@ -43,6 +43,8 @@ using std::make_unique;
 
 QUICKSTEP_GENERATE_TEXT_TEST(DISTRIBUTED_EXECUTION_GENERATOR_TEST);
 
+namespace quickstep { DECLARE_bool(visualize_execution_dag); }
+
 int main(int argc, char** argv) {
   google::InitGoogleLogging(argv[0]);
 
@@ -52,6 +54,7 @@ int main(int argc, char** argv) {
   quickstep::optimizer::FLAGS_use_filter_joins = false;
 
   // Honor FLAGS_buffer_pool_slots in StorageManager.
+  quickstep::FLAGS_visualize_execution_dag = false;
   gflags::ParseCommandLineFlags(&argc, &argv, true);
 
   if (argc < 4) {


Mime
View raw message