zhuqi-lucas commented on code in PR #16142: URL: https://github.com/apache/datafusion/pull/16142#discussion_r2110816762
########## datafusion-examples/examples/dataframe.rs: ########## @@ -182,7 +182,11 @@ async fn write_out(ctx: &SessionContext) -> std::result::Result<(), DataFusionEr let mut df = ctx.sql("values ('a'), ('b'), ('c')").await.unwrap(); // Ensure the column names and types match the target table - df = df.with_column_renamed("column1", "tablecol1").unwrap(); + df = df Review Comment: Good suggestion! Thank you @alamb , addressed in latest PR. -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org