You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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\")"))
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():
cargo run --example standalone_sql
Output:
Expected behavior
File created.
Additional context
See PR: apache/datafusion#7283
Looks like this is todo - there are no serde / proto changes in datafusion.
Question: should I ask about it in datafusion repo ?
The text was updated successfully, but these errors were encountered: