Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: added section on duckdb reading gcs files #8651

Merged
merged 5 commits into from
Mar 17, 2024
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions docs/how-to/input-output/gcs_duckdb.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
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://...")

cpcloud marked this conversation as resolved.
Show resolved Hide resolved
```

Where `<URL>` is the url provided by GCS.
cpcloud marked this conversation as resolved.
Show resolved Hide resolved
Loading