Back to Clickhouse

YTsaurus dictionary source

docs/en/sql-reference/statements/create/dictionary/sources/ytsaurus.md

26.4.1.1-new1.3 KB
Original Source

import ExperimentalBadge from '@theme/badges/ExperimentalBadge'; import CloudNotSupportedBadge from '@theme/badges/CloudNotSupportedBadge'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

<ExperimentalBadge/> <CloudNotSupportedBadge/>

:::info This is an experimental feature that may change in backwards-incompatible ways in future releases. Enable usage of the YTsaurus dictionary source using setting allow_experimental_ytsaurus_dictionary_source. :::

Example of settings:

<Tabs> <TabItem value="ddl" label="DDL" default>
sql
SOURCE(YTSAURUS(
    http_proxy_urls 'http://localhost:8000'
    cypress_path '//tmp/test'
    oauth_token 'password'
))
</TabItem> <TabItem value="xml" label="Configuration file">
xml
<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>
</TabItem> </Tabs>

Setting fields:

SettingDescription
http_proxy_urlsURL to the YTsaurus http proxy.
cypress_pathCypress path to the table source.
oauth_tokenOAuth token.