Skip to content

Commit

Permalink
fd explain
Browse files Browse the repository at this point in the history
  • Loading branch information
pgzmnk committed Apr 25, 2024
1 parent 50aef32 commit 721d319
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/basics/core_concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -547,16 +547,18 @@ The `fd://` bucket file system serves as a namespace for an S3 bucket provisione

![alt text](image.png)

In this image, the bucket path `s3://fused-users/fused/plinio/dir-name/file.parquet` is conveniently aliased as `fd://dir-name/file.parquet`.

For example, to fetch a file:
```python
fused.get("fd://bucket-name/file.parquet")
fused.get("fd://dir-name/file.parquet")
```

Or, for example, to ingest a table:
```python
job = fused.ingest(
input="https://www2.census.gov/geo/tiger/TIGER_RD18/STATE/06_CALIFORNIA/06/tl_rd22_06_bg.zip",
output="fd://census/ca_bg_2022/",
output="fd://dir-name/census/ca_bg_2022/",
).execute()
```

Expand Down

0 comments on commit 721d319

Please sign in to comment.