quickstep-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zuyu <...@git.apache.org>
Subject [GitHub] incubator-quickstep pull request #14: QUICKSTEP-8: Long running Foreman thre...
Date Fri, 10 Jun 2016 18:31:48 GMT
Github user zuyu commented on a diff in the pull request:

    https://github.com/apache/incubator-quickstep/pull/14#discussion_r66660503
  
    --- Diff: query_optimizer/ExecutionGenerator.cpp ---
    @@ -1635,5 +1635,11 @@ void ExecutionGenerator::convertTableGenerator(
       temporary_relation_info_vec_.emplace_back(tablegen_index, output_relation);
     }
     
    +S::InsertDestination* ExecutionGenerator::addNewInsertDestinationToQueryContext() {
    +  S::InsertDestination *insert_destination_proto(query_context_proto_->add_insert_destinations());
    +  insert_destination_proto->set_query_id(query_context_proto_->query_id());
    --- End diff --
    
    I have an alternative implementation suggestions:
    
     1. Reset changes in this file and `InsertDestination.proto`.
     1. Modify `InsertDestination::ReconstructFromProto` to take a new argument `query_id`
from `QueryContext proto`'s field `query_id`.
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message