Skip to content

Commit

Permalink
docs: added section on duckdb reading gcs files (#8651)
Browse files Browse the repository at this point in the history
Co-authored-by: Phillip Cloud <[email protected]>
  • Loading branch information
pieter-factful and cpcloud authored Mar 17, 2024
1 parent 60ab5cb commit c2b06f6
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/how-to/input-output/gcs_duckdb.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: Loading Google Cloud Storage files with DuckDB
---

Loading data stored on Google Cloud Storage to DuckDB requires specifying `gcs` as filesystem.

```python
from ibis.interactive import *

con = ibis.duckdb.connect()

import fsspec
import gcsfs

gcs = fsspec.filesystem("gcs")

con.register_filesystem(gcs)

t = con.read_json("gs://...")
```

0 comments on commit c2b06f6

Please sign in to comment.