Github user hbdeshmukh commented on the issue:

    https://github.com/apache/incubator-quickstep/pull/14
  
    > @hbdeshmukh Have you try to use std::vector<const QueryHandle*> instead 
of std::vector<QueryHandle*>?
    
    Using ``const QueryHandle*`` doesn't work because we extract the DAG from 
it. On the DAG pointer, we call ``getNodePayloadMutable()`` to fetch a pointer 
to the ``RelationalOperator``. The function ``getAllWorkOrders`` changes the 
state of the DAG. Due to this chain, we can't use ``const QueryHandle*``. 


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to