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)

Reply via email to