ClickHouse/tests/queries/0_stateless/01778_hierarchical_dictionaries.reference

103 lines
655 B
Plaintext
Raw Normal View History

2021-03-26 13:57:21 +00:00
Flat dictionary
Get hierarchy
[]
[1]
[2,1]
[3,1]
[4,2,1]
[]
Get is in hierarchy
0
1
1
1
1
0
Get children
[1]
[2,3]
[4]
[]
[]
[]
Get all descendants
[1,2,3,4]
[2,3,4]
[4]
[]
[]
[]
Get descendants at first level
[1]
[2,3]
[4]
[]
[]
[]
Hashed dictionary
Get hierarchy
[]
[1]
[2,1]
[3,1]
[4,2,1]
[]
Get is in hierarchy
0
1
1
1
1
0
Get children
[1]
[3,2]
2021-03-26 13:57:21 +00:00
[4]
[]
[]
[]
Get all descendants
[1,3,2,4]
[3,2,4]
2021-03-26 13:57:21 +00:00
[4]
[]
[]
[]
Get descendants at first level
[1]
[3,2]
2021-03-26 13:57:21 +00:00
[4]
[]
[]
[]
Cache dictionary
Get hierarchy
[]
[1]
[2,1]
[3,1]
[4,2,1]
[]
Get is in hierarchy
0
1
1
1
1
0
Direct dictionary
Get hierarchy
[]
[1]
[2,1]
[3,1]
[4,2,1]
[]
Get is in hierarchy
0
1
1
1
1
0