[ 
https://issues.apache.org/jira/browse/ARROW-9425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jorge updated ARROW-9425:
-------------------------
    Issue Type: Improvement  (was: Task)

> [Rust][DataFusion] Make ExecutionContext sharable between threads
> -----------------------------------------------------------------
>
>                 Key: ARROW-9425
>                 URL: https://issues.apache.org/jira/browse/ARROW-9425
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Rust - DataFusion
>            Reporter: Jorge
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> I have been playing with pyo3 to ship and call this library directly from 
> Python, and the current ExecutionContext can't be used within Python with 
> threads due to the usage of `Box<dyn TableProvider>` on `datasources`, i.e. 
> no `Sync` nor `Send`.
> This issue likely affects integration of DataFusion with other libraries.
> I propose that we allow ExecutionContext to be sharable between threads, e.g. 
> using {{Box<dyn TableProvider + Send + Sync>}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to