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/12357794 Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/12357794 Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/12357794 Branch: refs/heads/dist-patch Commit: 12357794c843d6c01f8cd1f25cf3173b13445534 Parents: eb06052 Author: Zuyu Zhang <zu...@apache.org> Authored: Sat Feb 11 11:40:33 2017 -0800 Committer: Zuyu Zhang <zu...@apache.org> Committed: Sat Feb 11 12:55:48 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/12357794/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/12357794/query_optimizer/tests/DistributedExecutionGeneratorTest.cpp ---------------------------------------------------------------------- diff --git a/query_optimizer/tests/DistributedExecutionGeneratorTest.cpp b/query_optimizer/tests/DistributedExecutionGeneratorTest.cpp index af310bc..c566e0a 100644 --- a/query_optimizer/tests/DistributedExecutionGeneratorTest.cpp +++ b/query_optimizer/tests/DistributedExecutionGeneratorTest.cpp @@ -32,9 +32,12 @@ using quickstep::TextBasedTest; 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]); // Honor FLAGS_buffer_pool_slots in StorageManager. + quickstep::FLAGS_visualize_execution_dag = false; gflags::ParseCommandLineFlags(&argc, &argv, true); if (argc < 4) {