alamb commented on issue #18381:
URL: https://github.com/apache/datafusion/issues/18381#issuecomment-3487216801

   > All I'm trying is to do is to figure out a way to call df.execute() on 
Vec<RecordBatch>s repeatedlly. Each time I call df.execute, the df is consumed. 
However I need to reuse the state of the ExecutionPlan from the cusumed df for 
operations like rolling avg. Is there a more propriete way to do that?
   
   I think the classic way would be
   ```rust
   let new_df = df.clone();
   new_df.execute();
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to