Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
2dot5
ClickHouse
提交
ad740fc7
C
ClickHouse
项目概览
2dot5
/
ClickHouse
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
ClickHouse
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ad740fc7
编写于
8月 12, 2020
作者:
Y
Yatsishin Ilya
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
copy dictionaries
上级
160776f1
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
920 addition
and
1 deletion
+920
-1
tests/integration/helpers/dictonaries
tests/integration/helpers/dictonaries
+0
-1
tests/integration/helpers/dictonaries/decimals_dictionary.xml
...s/integration/helpers/dictonaries/decimals_dictionary.xml
+197
-0
tests/integration/helpers/dictonaries/ints_dictionary.xml
tests/integration/helpers/dictonaries/ints_dictionary.xml
+514
-0
tests/integration/helpers/dictonaries/strings_dictionary.xml
tests/integration/helpers/dictonaries/strings_dictionary.xml
+209
-0
未找到文件。
tests/integration/helpers/dictonaries
已删除
120000 → 0
浏览文件 @
160776f1
../../config/dict_examples/
\ No newline at end of file
tests/integration/helpers/dictonaries/decimals_dictionary.xml
0 → 100644
浏览文件 @
ad740fc7
<dictionaries>
<dictionary>
<name>
flat_decimals
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
decimals
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<flat/>
</layout>
<structure>
<id>
<name>
key
</name>
</id>
<attribute>
<name>
d32
</name>
<type>
Decimal32(4)
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
d64
</name>
<type>
Decimal64(6)
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
d128
</name>
<type>
Decimal128(1)
</type>
<null_value>
0
</null_value>
</attribute>
</structure>
</dictionary>
<dictionary>
<name>
hashed_decimals
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
decimals
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<hashed/>
</layout>
<structure>
<id>
<name>
key
</name>
</id>
<attribute>
<name>
d32
</name>
<type>
Decimal32(4)
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
d64
</name>
<type>
Decimal64(6)
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
d128
</name>
<type>
Decimal128(1)
</type>
<null_value>
0
</null_value>
</attribute>
</structure>
</dictionary>
<dictionary>
<name>
cache_decimals
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
decimals
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<cache><size_in_cells>
1000
</size_in_cells></cache>
</layout>
<structure>
<id>
<name>
key
</name>
</id>
<attribute>
<name>
d32
</name>
<type>
Decimal32(4)
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
d64
</name>
<type>
Decimal64(6)
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
d128
</name>
<type>
Decimal128(1)
</type>
<null_value>
0
</null_value>
</attribute>
</structure>
</dictionary>
<dictionary>
<name>
complex_hashed_decimals
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
decimals
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<complex_key_hashed/>
</layout>
<structure>
<key>
<attribute>
<name>
key
</name>
<type>
UInt64
</type>
</attribute>
</key>
<attribute>
<name>
d32
</name>
<type>
Decimal32(4)
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
d64
</name>
<type>
Decimal64(6)
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
d128
</name>
<type>
Decimal128(1)
</type>
<null_value>
0
</null_value>
</attribute>
</structure>
</dictionary>
<dictionary>
<name>
complex_cache_decimals
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
decimals
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<complex_key_cache><size_in_cells>
1000
</size_in_cells></complex_key_cache>
</layout>
<structure>
<key>
<attribute>
<name>
key
</name>
<type>
UInt64
</type>
</attribute>
</key>
<attribute>
<name>
d32
</name>
<type>
Decimal32(4)
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
d64
</name>
<type>
Decimal64(6)
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
d128
</name>
<type>
Decimal128(1)
</type>
<null_value>
0
</null_value>
</attribute>
</structure>
</dictionary>
</dictionaries>
tests/integration/helpers/dictonaries/ints_dictionary.xml
0 → 100644
浏览文件 @
ad740fc7
<dictionaries>
<dictionary>
<name>
flat_ints
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
ints
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<flat/>
</layout>
<structure>
<id>
<name>
key
</name>
</id>
<attribute>
<name>
i8
</name>
<type>
Int8
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i16
</name>
<type>
Int16
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i32
</name>
<type>
Int32
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i64
</name>
<type>
Int64
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u8
</name>
<type>
UInt8
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u16
</name>
<type>
UInt16
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u32
</name>
<type>
UInt32
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u64
</name>
<type>
UInt64
</type>
<null_value>
0
</null_value>
</attribute>
</structure>
</dictionary>
<dictionary>
<name>
hashed_ints
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
ints
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<hashed/>
</layout>
<structure>
<id>
<name>
key
</name>
</id>
<attribute>
<name>
i8
</name>
<type>
Int8
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i16
</name>
<type>
Int16
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i32
</name>
<type>
Int32
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i64
</name>
<type>
Int64
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u8
</name>
<type>
UInt8
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u16
</name>
<type>
UInt16
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u32
</name>
<type>
UInt32
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u64
</name>
<type>
UInt64
</type>
<null_value>
0
</null_value>
</attribute>
</structure>
</dictionary>
<dictionary>
<name>
hashed_sparse_ints
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
ints
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<sparse_hashed/>
</layout>
<structure>
<id>
<name>
key
</name>
</id>
<attribute>
<name>
i8
</name>
<type>
Int8
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i16
</name>
<type>
Int16
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i32
</name>
<type>
Int32
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i64
</name>
<type>
Int64
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u8
</name>
<type>
UInt8
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u16
</name>
<type>
UInt16
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u32
</name>
<type>
UInt32
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u64
</name>
<type>
UInt64
</type>
<null_value>
0
</null_value>
</attribute>
</structure>
</dictionary>
<dictionary>
<name>
cache_ints
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
ints
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<cache><size_in_cells>
1000
</size_in_cells></cache>
</layout>
<structure>
<id>
<name>
key
</name>
</id>
<attribute>
<name>
i8
</name>
<type>
Int8
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i16
</name>
<type>
Int16
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i32
</name>
<type>
Int32
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i64
</name>
<type>
Int64
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u8
</name>
<type>
UInt8
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u16
</name>
<type>
UInt16
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u32
</name>
<type>
UInt32
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u64
</name>
<type>
UInt64
</type>
<null_value>
0
</null_value>
</attribute>
</structure>
</dictionary>
<dictionary>
<name>
complex_hashed_ints
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
ints
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<complex_key_hashed/>
</layout>
<structure>
<key>
<attribute>
<name>
key
</name>
<type>
UInt64
</type>
</attribute>
</key>
<attribute>
<name>
i8
</name>
<type>
Int8
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i16
</name>
<type>
Int16
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i32
</name>
<type>
Int32
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i64
</name>
<type>
Int64
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u8
</name>
<type>
UInt8
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u16
</name>
<type>
UInt16
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u32
</name>
<type>
UInt32
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u64
</name>
<type>
UInt64
</type>
<null_value>
0
</null_value>
</attribute>
</structure>
</dictionary>
<dictionary>
<name>
complex_cache_ints
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
ints
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<complex_key_cache><size_in_cells>
1000
</size_in_cells></complex_key_cache>
</layout>
<structure>
<key>
<attribute>
<name>
key
</name>
<type>
UInt64
</type>
</attribute>
</key>
<attribute>
<name>
i8
</name>
<type>
Int8
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i16
</name>
<type>
Int16
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i32
</name>
<type>
Int32
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i64
</name>
<type>
Int64
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u8
</name>
<type>
UInt8
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u16
</name>
<type>
UInt16
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u32
</name>
<type>
UInt32
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u64
</name>
<type>
UInt64
</type>
<null_value>
0
</null_value>
</attribute>
</structure>
</dictionary>
<dictionary>
<name>
one_cell_cache_ints
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
test_01054
</db>
<table>
ints
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<cache><size_in_cells>
1
</size_in_cells></cache>
</layout>
<structure>
<id>
<name>
key
</name>
</id>
<attribute>
<name>
i8
</name>
<type>
Int8
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i16
</name>
<type>
Int16
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i32
</name>
<type>
Int32
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i64
</name>
<type>
Int64
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u8
</name>
<type>
UInt8
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u16
</name>
<type>
UInt16
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u32
</name>
<type>
UInt32
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u64
</name>
<type>
UInt64
</type>
<null_value>
0
</null_value>
</attribute>
</structure>
</dictionary>
<dictionary>
<name>
one_cell_cache_ints_overflow
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
test_01054_overflow
</db>
<table>
ints
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<cache><size_in_cells>
1
</size_in_cells></cache>
</layout>
<structure>
<id>
<name>
key
</name>
</id>
<attribute>
<name>
i8
</name>
<type>
Int8
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i16
</name>
<type>
Int16
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i32
</name>
<type>
Int32
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
i64
</name>
<type>
Int64
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u8
</name>
<type>
UInt8
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u16
</name>
<type>
UInt16
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u32
</name>
<type>
UInt32
</type>
<null_value>
0
</null_value>
</attribute>
<attribute>
<name>
u64
</name>
<type>
UInt64
</type>
<null_value>
0
</null_value>
</attribute>
</structure>
</dictionary>
</dictionaries>
\ No newline at end of file
tests/integration/helpers/dictonaries/strings_dictionary.xml
0 → 100644
浏览文件 @
ad740fc7
<dictionaries>
<dictionary>
<name>
flat_strings
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
strings
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<flat/>
</layout>
<structure>
<id>
<name>
key
</name>
</id>
<attribute>
<name>
str
</name>
<type>
String
</type>
<null_value></null_value>
</attribute>
</structure>
</dictionary>
<dictionary>
<name>
hashed_strings
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
strings
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<hashed/>
</layout>
<structure>
<id>
<name>
key
</name>
</id>
<attribute>
<name>
str
</name>
<type>
String
</type>
<null_value></null_value>
</attribute>
</structure>
</dictionary>
<dictionary>
<name>
cache_strings
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
strings
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<cache><size_in_cells>
1000
</size_in_cells></cache>
</layout>
<structure>
<id>
<name>
key
</name>
</id>
<attribute>
<name>
str
</name>
<type>
String
</type>
<null_value></null_value>
</attribute>
</structure>
</dictionary>
<dictionary>
<name>
complex_hashed_strings
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
strings
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<complex_key_hashed/>
</layout>
<structure>
<key>
<attribute>
<name>
key
</name>
<type>
UInt64
</type>
</attribute>
</key>
<attribute>
<name>
str
</name>
<type>
String
</type>
<null_value></null_value>
</attribute>
</structure>
</dictionary>
<dictionary>
<name>
complex_cache_strings
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
strings
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<complex_key_cache><size_in_cells>
1000
</size_in_cells></complex_key_cache>
</layout>
<structure>
<key>
<attribute>
<name>
key
</name>
<type>
UInt64
</type>
</attribute>
</key>
<attribute>
<name>
str
</name>
<type>
String
</type>
<null_value></null_value>
</attribute>
</structure>
</dictionary>
<dictionary>
<name>
complex_hashed_strings_key
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
strings
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<complex_key_hashed/>
</layout>
<structure>
<key>
<attribute>
<name>
str
</name>
<type>
String
</type>
</attribute>
</key>
<attribute>
<name>
key
</name>
<type>
UInt64
</type>
<null_value>
0
</null_value>
</attribute>
</structure>
</dictionary>
<dictionary>
<name>
complex_cache_strings_key
</name>
<source>
<clickhouse>
<host>
localhost
</host>
<port>
9000
</port>
<user>
default
</user>
<password></password>
<db>
system
</db>
<table>
strings
</table>
</clickhouse>
</source>
<lifetime>
0
</lifetime>
<layout>
<complex_key_cache><size_in_cells>
1000
</size_in_cells></complex_key_cache>
</layout>
<structure>
<key>
<attribute>
<name>
str
</name>
<type>
String
</type>
</attribute>
</key>
<attribute>
<name>
key
</name>
<type>
UInt64
</type>
<null_value>
0
</null_value>
</attribute>
</structure>
</dictionary>
</dictionaries>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录