Skip to content

Commit c2cbba2

Browse files
authored
Fix CI check when version changes -- remove checked in file that is created by doc example (#12034)
* Remove checked in file that is created by doc example * revert changes to .gitignore * Update example to use tmpdir
1 parent bd48262 commit c2cbba2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

datafusion/core/example.parquet

-976 Bytes
Binary file not shown.

docs/source/library-user-guide/using-the-dataframe-api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,9 @@ async fn main() -> Result<()> {
188188
// read example.csv file into a DataFrame
189189
let df = ctx.read_csv("tests/data/example.csv", CsvReadOptions::new()).await?;
190190
// stream the contents of the DataFrame to the `example.parquet` file
191+
let target_path = tempfile::tempdir()?.path().join("example.parquet");
191192
df.write_parquet(
192-
"example.parquet",
193+
target_path.to_str().unwrap(),
193194
DataFrameWriteOptions::new(),
194195
None, // writer_options
195196
).await;

0 commit comments

Comments
 (0)