Skip to content

Commit c06c41b

Browse files
authored
Fix example in upgrade guide (#29)
1 parent 5e12a73 commit c06c41b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/source/library-user-guide/upgrading.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ and relied on the default value of `collect_stat` being `true`, you will need to
2929
explicitly set it to `true` in your code.
3030

3131
```rust
32-
use datafusion::datasource::listing::ListingOptions;
33-
34-
ListingOptions::new()
32+
# /* comment to avoid running
33+
ListingOptions::new(Arc::new(ParquetFormat::default()))
3534
.with_collect_stat(true)
3635
// other options
36+
# */
3737
```
3838

3939
### Processing `Field` instead of `DataType` for user defined functions

0 commit comments

Comments
 (0)