Github user hbdeshmukh commented on a diff in the pull request:

    https://github.com/apache/incubator-quickstep/pull/54#discussion_r70499338
  
    --- Diff: query_execution/QueryManagerBase.hpp ---
    @@ -255,69 +212,75 @@ class QueryManager {
        *         otherwise.
        **/
       inline bool checkOperatorExecutionOver(const dag_node_index index) const 
{
    -    if (checkRebuildRequired(index)) {
    -      return (checkNormalExecutionOver(index) && checkRebuildOver(index));
    -    } else {
    -      return checkNormalExecutionOver(index);
    -    }
    +    return this->checkNormalExecutionOver(index) &&
    +           (!checkRebuildRequired(index) || this->checkRebuildOver(index));
    --- End diff --
    
    I would argue that the original implementation is easier to read and debug. 


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to