docs clickhouse-static-files-uploader and demo repo

This commit is contained in:
DanRoscigno 2023-06-30 09:03:25 -04:00
parent d1c7e13d08
commit bf06e18c34

View File

@ -949,7 +949,14 @@ The example uses `type=web`, but any disk type can be configured as dynamic, eve
#### Example dynamic web storage
:::tip
A [demo dataset](https://github.com/ClickHouse/web-tables-demo) is hosted in GitHub. To prepare your own tables for web storage see the tool [clickhouse-static-files-uploader](/docs/en/operations/storing-data.md/#storing-data-on-webserver)
:::
In this `ATTACH TABLE` query the `UUID` provided matches the directory name of the data, and the endpoint is the URL for the raw GitHub content.
```sql
# highlight-next-line
ATTACH TABLE uk_price_paid UUID 'cf712b4f-2ca8-435c-ac23-c4393efe52f7'
(
price UInt32,