You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jorge Leitão (Jira)" <ji...@apache.org> on 2020/12/08 07:37:00 UTC
[jira] [Created] (ARROW-10844) [Rust] [DataFusion] join of two
DataFrames is not possible
Jorge Leitão created ARROW-10844:
------------------------------------
Summary: [Rust] [DataFusion] join of two DataFrames is not possible
Key: ARROW-10844
URL: https://issues.apache.org/jira/browse/ARROW-10844
Project: Apache Arrow
Issue Type: Bug
Components: Rust, Rust - DataFusion
Affects Versions: 3.0.0
Reporter: Jorge Leitão
The pseudo code
```
df = context.createDataFrame(...)
df1 = context.createDataFrame(...)
df.join(df1, ...)
```
currently does not work because we clone the {{ExecutionContextState}} from the context to the `df`, causing the join statement to only have one of the registered tables in the context state available (as it was not mutated by the second `createdataFrame`).
We may need an Arc<Mutex<{{ExecutionContextState}}>> so that we have multiple mutability of their attributes.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)