adriangb commented on PR #13634: URL: https://github.com/apache/datafusion/pull/13634#issuecomment-2515671351
I suspect the right way to implement this would be to make `SessionContext` a trait and offer this as an implementation of it? There might even be a way to automatically wrap all `ObjectStore`s in `CrossRtObjectStore`. The only manual bit left then would be to ensure any non-ObjectStore IO is wrapped in `spawn_io`, that's made easier by the fact that we don't allow IO on the CPU runtime so you'd know if you forgot (you get a panic). -- 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]
