Github user hbdeshmukh commented on a diff in the pull request: https://github.com/apache/incubator-quickstep/pull/281#discussion_r140544269 --- Diff: query_execution/WorkOrdersContainer.hpp --- @@ -343,6 +346,18 @@ class WorkOrdersContainer { getNumRebuildWorkOrders(operator_index); } + /** + * @brief Check if the given operator has ever a normal work order. + * + * @param index The index of the given operator in the DAG. + * + * @return True if the operator has a normal work order, false otherwise. + **/ + bool hasEverNormalWorkOrders(const std::size_t operator_index) const { --- End diff -- Suggest to rename this function to ``hasEverProducedNormalWorkOrder`` to make more sense.
---