yarenty opened a new issue, #894:
URL: https://github.com/apache/arrow-ballista/issues/894

   **Describe the bug**
   
   Since the update to Datafusion 30 ( rev: 
7d774481aedc027b7f68226b2c3a4fc0db959fc2 )
   as Dataframe moved to use LogicalPlan::Copy when executing write (csv, 
parquet,json)
   df. write_xxx is no longer working in Ballista.
   
   
   **To Reproduce**
   One can use any sql and then df.write ie: in examples standalone_sql.rs add 
write_csv() instead show():
   
   ``` 
       let df = ctx.sql("select count(1) from test").await?;
   
       df.write_csv("output.csv", DataFrameWriteOptions::default(), 
None).await?;
   ```
   
   
   `cargo run --example standalone_sql`
   
   Output: 
   ```
   Error: DataFusionError(Internal("failed to serialize logical plan: 
Internal(\"LogicalPlan serde is not yet implemented for Copy\")"))
   ```
   
   **Expected behavior**
   File created.
   
   
   **Additional context**
   See PR:  https://github.com/apache/arrow-datafusion/pull/7283
   
   Looks like this is todo -  there are no serde / proto changes in datafusion. 
   
   *Question: should I ask about it in datafusion repo ?*
   
   
   
   


-- 
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]

Reply via email to