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

# YTsaurus 字典源

> 将 YTsaurus 配置为 ClickHouse 中的字典源。

[Experimental 功能](https://clickhouse.com/docs/reference/settings/beta-and-experimental-features.md#experimental-features)

[ClickHouse Cloud 不支持此功能](https://clickhouse.com/docs/products/cloud/guides/cloud-compatibility.md#list-of-unsupported-features)

> [!NOTE]
>
> 这是一个 Experimental 功能，未来版本中可能会发生不向后兼容的更改。
> 可通过设置 [`allow_experimental_ytsaurus_dictionary_source`](https://clickhouse.com/docs/zh/reference/settings/session-settings/allow-experimental#allow_experimental_ytsaurus_dictionary_source)
> 启用 YTsaurus 字典源。

设置示例：

> [tab] DDL
>
> ```sql theme={null}
> SOURCE(YTSAURUS(
>     http_proxy_urls 'http://localhost:8000'
>     cypress_path '//tmp/test'
>     oauth_token 'password'
> ))
> ```

> [tab] 配置文件
>
> ```xml theme={null}
> <source>
>     <ytsaurus>
>         <http_proxy_urls>http://localhost:8000</http_proxy_urls>
>         <cypress_path>//tmp/test</cypress_path>
>         <oauth_token>password</oauth_token>
>         <check_table_schema>1</check_table_schema>
>     </ytsaurus>
> </source>
> ```

设置字段：

| 设置 | 描述 |
| - | - |
| `http_proxy_urls` | YTsaurus HTTP 代理的 URL。 |
| `cypress_path` | 表源对应的 Cypress 路径。 |
| `oauth_token` | OAuth 令牌。 |
