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/3615ba1c Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/3615ba1c Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/3615ba1c Branch: refs/heads/dist-patch Commit: 3615ba1cf043daa369dc8af7d4d664b23ebe566a Parents: 749d016 Author: Zuyu Zhang <zu...@apache.org> Authored: Sat Feb 11 11:40:33 2017 -0800 Committer: Zuyu Zhang <zu...@apache.org> Committed: Sat Mar 4 03:19:02 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/3615ba1c/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/3615ba1c/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) {