You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@quickstep.apache.org by zu...@apache.org on 2016/05/27 03:23:13 UTC

[22/50] [abbrv] incubator-quickstep git commit: making changes to execution generator

making changes to execution generator


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

Branch: refs/heads/quickstep_gen_stats
Commit: 8ddaac252c513998775687ee19228988b7460746
Parents: 8792d84
Author: rogersjeffreyl <rl...@cs.wisc.edu>
Authored: Thu May 19 11:09:03 2016 -0500
Committer: rogersjeffreyl <rl...@cs.wisc.edu>
Committed: Thu May 19 11:09:03 2016 -0500

----------------------------------------------------------------------
 query_optimizer/ExecutionGenerator.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/8ddaac25/query_optimizer/ExecutionGenerator.cpp
----------------------------------------------------------------------
diff --git a/query_optimizer/ExecutionGenerator.cpp b/query_optimizer/ExecutionGenerator.cpp
index 77975bc..3b54703 100644
--- a/query_optimizer/ExecutionGenerator.cpp
+++ b/query_optimizer/ExecutionGenerator.cpp
@@ -950,8 +950,9 @@ void ExecutionGenerator::convertCopyFrom(
                                        false /* is_pipeline_breaker */);
 
   const QueryPlan::DAGNodeIndex num_rows_operator_index =
-      execution_plan_->addRelationalOperator(
-          new GenerateNumRowsStatsOperator( optimizer_context_->catalog_database()->getRelationByIdMutable(output_relation->getID())));
+      execution_plan_->addRelationalOperator(new GenerateNumRowsStatsOperator(
+          optimizer_context_->catalog_database()->getRelationByIdMutable(
+              output_relation->getID())));
   insert_destination_proto->set_relational_op_index(num_rows_operator_index);
   execution_plan_->addDirectDependency(num_rows_operator_index,
                                        scan_operator_index,