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/1c6e16c6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/1c6e16c6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/1c6e16c6 Branch: refs/heads/dist-patch Commit: 1c6e16c6825fe9e74d1f46f12a44c382f309b648 Parents: 04b5f7e Author: Zuyu Zhang <zu...@apache.org> Authored: Sat Feb 11 11:40:33 2017 -0800 Committer: Zuyu Zhang <zu...@apache.org> Committed: Fri Mar 3 04:14:37 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/1c6e16c6/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/1c6e16c6/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) {