sarahyurick commented on PR #5605: URL: https://github.com/apache/arrow-datafusion/pull/5605#issuecomment-1468881985
I was having trouble getting the https://github.com/apache/arrow-datafusion/blob/4d07360e6f67012571237ab1a773ac1fec7122d9/datafusion/optimizer/src/optimizer.rs#L347 function to work because `rule` is a `&Arc<dyn OptimizerRule + Send + Sync>`. I was wondering if I could receive any guidance on how to go about this since the `Arc` generates an error (`trait DerefMut is required to modify through a dereference`), but I don't think it should be changed to a `Mutex`. -- 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]
