테이블 생성
이는 향후 릴리스에서 하위 호환되지 않는 방식으로 변경될 수 있는 실험적 기능입니다.
allow_experimental_ytsaurus_table_engine 설정을 사용해
YTsaurus 테이블 엔진 사용을 활성화하십시오.다음 명령으로 설정할 수 있습니다.SET allow_experimental_ytsaurus_table_engine = 1.http_proxy_url— YTsaurus http 프록시의 URL입니다.cypress_path— 데이터 소스의 Cypress 경로입니다.oauth_token— OAuth 토큰입니다.
사용 예시
Query
Response
Query
Response
데이터 타입
기본 데이터 타입
| YTsaurus 데이터 타입 | ClickHouse 데이터 타입 |
|---|---|
int8 | Int8 |
int16 | Int16 |
int32 | Int32 |
int64 | Int64 |
uint8 | UInt8 |
uint16 | UInt16 |
uint32 | UInt32 |
uint64 | UInt64 |
float | Float32 |
double | Float64 |
boolean | Bool |
string | String |
utf8 | String |
json | JSON |
yson(type_v3) | JSON |
uuid | UUID |
date32 | Date(아직 지원되지 않음) |
datetime64 | Int64 |
timestamp64 | Int64 |
interval64 | Int64 |
date | Date(아직 지원되지 않음) |
datetime | DateTime |
timestamp | DateTime64(6) |
interval | UInt64 |
any | String |
null | Nothing |
void | Nothing |
T with required = False | Nullable(T) |
복합 타입
| YTsaurus 데이터 타입 | ClickHouse 데이터 타입 |
|---|---|
decimal | Decimal |
optional | Nullable |
list | Array |
struct | NamedTuple |
tuple | Tuple |
variant | Variant |
dict | `Array(Tuple(…)) |
tagged | T |