Skip to content

Commit

Permalink
docs: fix csv headers in cli example
Browse files Browse the repository at this point in the history
  • Loading branch information
korowa committed Aug 9, 2024
1 parent e088945 commit 73c6024
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/source/user-guide/cli/datasources.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ Query that single file (the CLI also supports parquet, compressed csv, avro, jso

```shell
$ datafusion-cli
DataFusion CLI v17.0.0
DataFusion CLI v41.0.0
> set datafusion.catalog.has_header = true;
0 row(s) fetched.
Elapsed 0.004 seconds.

> select * from 'data.csv';
+---+---+
| a | b |
Expand All @@ -52,7 +56,11 @@ data.csv data2.csv
```shell
$ datafusion-cli
DataFusion CLI v16.0.0
DataFusion CLI v41.0.0
> set datafusion.catalog.has_header = true;
0 row(s) fetched.
Elapsed 0.003 seconds.

> select * from 'data_dir';
+---+---+
| a | b |
Expand Down

0 comments on commit 73c6024

Please sign in to comment.