mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Merge branch 'master' into new-nav
This commit is contained in:
commit
273ceb8dd5
@ -1,6 +1,6 @@
|
||||
---
|
||||
slug: /zh/guides/improving-query-performance/skipping-indexes
|
||||
sidebar_label: Data Skipping Indexes
|
||||
sidebar_label: 跳数索引
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
slug: /zh/guides/improving-query-performance/sparse-primary-indexes
|
||||
sidebar_label: Sparse Primary Indexes
|
||||
sidebar_label: 主键稀疏索引
|
||||
sidebar_position: 20
|
||||
---
|
||||
|
||||
|
@ -604,7 +604,7 @@ bool BackupCoordinationRemote::hasConcurrentBackups(const std::atomic<size_t> &)
|
||||
return false;
|
||||
|
||||
auto zk = getZooKeeper();
|
||||
std::string backup_stage_path = zookeeper_path +"/stage";
|
||||
std::string backup_stage_path = zookeeper_path + "/stage";
|
||||
|
||||
if (!zk->exists(root_zookeeper_path))
|
||||
zk->createAncestors(root_zookeeper_path);
|
||||
|
@ -1,3 +1,4 @@
|
||||
Test inverted(2)
|
||||
af inverted
|
||||
1
|
||||
101 Alick a01
|
||||
@ -10,6 +11,7 @@ af inverted
|
||||
113 Click b03
|
||||
118 Click b08
|
||||
1
|
||||
Test inverted()
|
||||
af inverted
|
||||
101 Alick a01
|
||||
106 Alick a06
|
||||
@ -21,9 +23,11 @@ af inverted
|
||||
101 Alick a01
|
||||
111 Alick b01
|
||||
1
|
||||
Test on array columns
|
||||
af inverted
|
||||
3 ['Click a03','Click b03']
|
||||
1
|
||||
Test on map columns
|
||||
af inverted
|
||||
103 {'Click':'Click a03'}
|
||||
108 {'Click':'Click a08'}
|
||||
@ -32,20 +36,25 @@ af inverted
|
||||
1
|
||||
103 {'Click':'Click a03'}
|
||||
1
|
||||
Test inverted(2) on a column with two parts
|
||||
af inverted
|
||||
101 Alick a01
|
||||
111 Alick b01
|
||||
201 rick c01
|
||||
1
|
||||
Test inverted(2) on UTF-8 data
|
||||
af inverted
|
||||
102 clickhouse你好
|
||||
1
|
||||
Test max_digestion_size_per_segment
|
||||
af inverted
|
||||
BC614E,05397FB1,6969696969898240,CF3304
|
||||
1
|
||||
Test density==1
|
||||
af inverted
|
||||
1
|
||||
1
|
||||
Test density==0.1
|
||||
af inverted
|
||||
1
|
||||
1
|
||||
|
@ -2,7 +2,7 @@ SET allow_experimental_inverted_index = 1;
|
||||
SET log_queries = 1;
|
||||
|
||||
----------------------------------------------------
|
||||
-- Test inverted(2)
|
||||
SELECT 'Test inverted(2)';
|
||||
|
||||
DROP TABLE IF EXISTS tab;
|
||||
|
||||
@ -58,7 +58,7 @@ SELECT read_rows==8 from system.query_log
|
||||
LIMIT 1;
|
||||
|
||||
----------------------------------------------------
|
||||
-- Test inverted()
|
||||
SELECT 'Test inverted()';
|
||||
|
||||
DROP TABLE IF EXISTS tab_x;
|
||||
|
||||
@ -111,7 +111,7 @@ SELECT read_rows==4 from system.query_log
|
||||
LIMIT 1;
|
||||
|
||||
----------------------------------------------------
|
||||
-- Test on array columns
|
||||
SELECT 'Test on array columns';
|
||||
|
||||
DROP TABLE IF EXISTS tab;
|
||||
|
||||
@ -138,7 +138,7 @@ SELECT read_rows==2 from system.query_log
|
||||
LIMIT 1;
|
||||
|
||||
----------------------------------------------------
|
||||
-- Test on map columns
|
||||
SELECT 'Test on map columns';
|
||||
|
||||
DROP TABLE IF EXISTS tab;
|
||||
|
||||
@ -178,7 +178,8 @@ SELECT read_rows==8 from system.query_log
|
||||
LIMIT 1;
|
||||
|
||||
----------------------------------------------------
|
||||
-- Test inverted(2) on a column with two parts
|
||||
SELECT 'Test inverted(2) on a column with two parts';
|
||||
|
||||
|
||||
DROP TABLE IF EXISTS tab;
|
||||
|
||||
@ -206,7 +207,7 @@ SELECT read_rows==6 from system.query_log
|
||||
LIMIT 1;
|
||||
|
||||
----------------------------------------------------
|
||||
-- Test inverted(2) on UTF-8 data
|
||||
SELECT 'Test inverted(2) on UTF-8 data';
|
||||
|
||||
DROP TABLE IF EXISTS tab;
|
||||
|
||||
@ -234,7 +235,7 @@ SELECT read_rows==2 from system.query_log
|
||||
LIMIT 1;
|
||||
|
||||
----------------------------------------------------
|
||||
-- Test max_digestion_size_per_segment
|
||||
SELECT 'Test max_digestion_size_per_segment';
|
||||
|
||||
DROP TABLE IF EXISTS tab;
|
||||
|
||||
@ -265,7 +266,7 @@ SELECT read_rows==256 from system.query_log
|
||||
LIMIT 1;
|
||||
|
||||
----------------------------------------------------
|
||||
-- Test density==1
|
||||
SELECT 'Test density==1';
|
||||
|
||||
DROP TABLE IF EXISTS tab;
|
||||
|
||||
@ -294,7 +295,7 @@ SELECT read_rows==0 from system.query_log
|
||||
LIMIT 1;
|
||||
|
||||
----------------------------------------------------
|
||||
-- Test density==0.1
|
||||
SELECT 'Test density==0.1';
|
||||
|
||||
DROP TABLE IF EXISTS tab;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user