askalt commented on issue #12120:
URL: https://github.com/apache/datafusion/issues/12120#issuecomment-2306475474
I have approximately the following struct:
```rust
struct MyProvider {
plan: std::sync::Mutex<LogicalPlan>
}
impl TableProvider for MyProvider {
...
fn get_logical_plan(&self) -> Option<&LogicalPlan> {
//// ???
}
}
```
(I use it to implement CREATE OR REPLACE VIEW).
But I can't implement get_logical_plan because MyProvider can't give the
shared reference to the inner plan.
--
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]