Skip to content

Apache DataFusion SQL Query Engine

Fix CI check when version changes -- remove checked in file that is created by doc example (#12034)

Andrew Lambc2cbba26dfeb
diff --git a/datafusion/core/example.parquet b/datafusion/core/example.parquet
deleted file mode 100644
index 17f7473cd2..0000000000
Binary files a/datafusion/core/example.parquet and /dev/null differ
diff --git a/docs/source/library-user-guide/using-the-dataframe-api.md b/docs/source/library-user-guide/using-the-dataframe-api.md
index 9e7774cbb9..3bd47ef50e 100644
--- a/docs/source/library-user-guide/using-the-dataframe-api.md
+++ b/docs/source/library-user-guide/using-the-dataframe-api.md
@@ -188,8 +188,9 @@ async fn main() -> Result<()> {
// read example.csv file into a DataFrame
let df = ctx.read_csv("tests/data/example.csv", CsvReadOptions::new()).await?;
// stream the contents of the DataFrame to the `example.parquet` file
+ let target_path = tempfile::tempdir()?.path().join("example.parquet");
df.write_parquet(
- "example.parquet",
+ target_path.to_str().unwrap(),
DataFrameWriteOptions::new(),
None, // writer_options
).await;