Skip to content

Commit 3322762

Browse files
committed
Fix in-memory example
1 parent a638e6d commit 3322762

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

examples/in_memory.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ This example queries a couple of test parquet we have for integration tests, and
1313
so pulling the first is necessary.
1414

1515
```shell
16+
git intall checkout
1617
git lfs checkout
1718
```
1819

examples/in_memory_cluster.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,8 @@ async fn main() -> Result<(), Box<dyn Error>> {
4949
)
5050
.await?;
5151

52-
ctx.register_parquet(
53-
"weather",
54-
"testdata/weather.parquet",
55-
ParquetReadOptions::default(),
56-
)
57-
.await?;
52+
ctx.register_parquet("weather", "testdata/weather", ParquetReadOptions::default())
53+
.await?;
5854

5955
let df = ctx.sql(&args.query).await?;
6056
if args.explain {

examples/localhost.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ This example queries a couple of test parquet we have for integration tests, and
1010
so pulling the first is necessary.
1111

1212
```shell
13+
git lfs install
1314
git lfs checkout
1415
```
1516

0 commit comments

Comments
 (0)