From fdeae8c134ee14029fc80dd99a0454e581ec2f0b Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Mon, 26 Oct 2026 14:51:28 -0400 Subject: [PATCH] Fix write_parquet example in point queries blog to pass table_options The Rust example built a `TableParquetOptions` but then passed the inner `ParquetOptions` to `DataFrame::write_parquet`, which expects `Option`. Suggested by martin-g in https://github.com/apache/datafusion-site/pull/209#discussion_r4374285753 Co-Authored-By: Claude Fable 5.1 --- content/blog/2026-10-24-point-queries.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/blog/2026-10-24-point-queries.md b/content/blog/2026-10-24-point-queries.md index dda0da55..b2a374e1 100644 --- a/content/blog/2026-10-24-point-queries.md +++ b/content/blog/2026-10-24-point-queries.md @@ -226,7 +226,7 @@ table_options.global = parquet_options; df.write_parquet( "t.parquet", DataFrameWriteOptions::new(), - Some(parquet_options) + Some(table_options) ).await?; ```