> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chowder.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Sources

> Read data from local files, cloud storage, Hugging Face, and HTTP.

A source is where your data lives. Pass a source URI to any table function, or put it directly in `FROM`. The table function decides how the data becomes rows; the source decides where Chowder reads it and how it authenticates. See [automatic reader selection](https://docs.chowder.ai/reference/table-functions/overview.md#automatic-reader-selection).

## Source matrix

| Source | URI form | Files and globs | Dataset splits |
| - | - | - | - |
| [Local files](https://docs.chowder.ai/reference/sources/local-files.md) | `/data/*.parquet` | Yes | — |
| [Amazon S3](https://docs.chowder.ai/reference/sources/amazon-s3.md) | `s3://bucket/key` | Yes | — |
| [Google Cloud Storage](https://docs.chowder.ai/reference/sources/google-cloud-storage.md) | `gs://bucket/key` | Yes | — |
| [Azure Blob Storage](https://docs.chowder.ai/reference/sources/azure-blob-storage.md) | `az://container/key` | Yes | — |
| [Hugging Face datasets](https://docs.chowder.ai/reference/sources/hugging-face-datasets.md) | `hf://datasets/org/repo/split` | Yes | Yes |
| [Hugging Face buckets](https://docs.chowder.ai/reference/sources/hugging-face-buckets.md) | `hf://buckets/org/bucket/key` | Yes | — |
| [HTTP(S)](https://docs.chowder.ai/reference/sources/http.md) | `https://host/object` | Single URLs | — |

## Folders and globs

For local files, Amazon S3, Google Cloud Storage, and Azure Blob Storage, `read_csv`, `read_json`, and `read_parquet` match `*` within a single path segment. Use `**` as a whole segment to search across folders. For example, `data/**/*.parquet` matches Parquet files directly under `data/` and in its subfolders.

If a file path doesn't match, Chowder keeps the literal directory prefix before the first wildcard and retries the match with all Hive partition folders removed from the rest of the path. For example, `data/year=2024/*.parquet` matches `data/year=2024/month=01/part.parquet` because `year=2024` is in the prefix. Use `data/year=*/**/*.parquet` to match files across month folders when the year is a wildcard.

`read_csv`, `read_json`, and `read_parquet` skip files and folders whose names start with `.`, and folders whose names start with `_`, such as Spark's `_temporary`. They still read Hive partition folders such as `_year=2024`, and files whose names start with `_`. To read inside a skipped folder, name it before the first wildcard, for example `data/_staging/*.csv`.

For these readers, end a cloud folder path with `/` when the folder may be empty, for example `read_csv('s3://bucket/data/')`. Without the `/`, a prefix with no objects fails with `file not found`.

## Reader compatibility

Every table function accepts every source. HTTP URLs must point to a single file. Provider pages such as YouTube watch URLs aren't files.

> [card] [Table functions](https://docs.chowder.ai/reference/table-functions/overview.md)
>
> Choose the reader that defines row grain, schema, and format-specific behavior.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.