Commit Graph

1534 Commits

Author SHA1 Message Date
jsc0218
a00ce2f2cc fix value and nullable column size for other dicts and add test 2024-01-23 03:29:06 +00:00
Nikolai Kochetov
6dfedc5f06 Fix columns size for flat dictionary. Add check. 2024-01-22 14:31:44 +00:00
jsc0218
2e90f0c7c7 fix the crash from type mismatch in regexpr dict 2024-01-18 20:20:36 +00:00
jsc0218
393e12b0d3 support regexp dict short circuit 2024-01-18 15:51:58 +00:00
jsc0218
091216766f support polygon dict short circuit 2024-01-16 16:16:18 +00:00
jsc0218
7b6f96dede support iptrie dict short circuit 2024-01-15 19:20:43 +00:00
jsc0218
2ed37a016c support direct dict short circuit 2024-01-15 03:13:30 +00:00
jsc0218
3de0fbae87 support ssd cache dict short circuit 2024-01-14 03:37:03 +00:00
jsc0218
0312ea0379 Merge remote-tracking branch 'origin/master' into DictShortCircuit 2024-01-12 01:17:57 +00:00
jsc0218
925f78174d support cache dict short circuit 2024-01-11 15:46:49 +00:00
Raúl Marín
ff90f64bc1 Merge remote-tracking branch 'blessed/master' into speedup_numbers 2024-01-03 13:33:22 +00:00
Raúl Marín
bda6104f84 Replace std::iota with DB::iota where possible 2023-12-29 14:38:22 +01:00
Amos Bird
6b6e40831c
Move symbols from src/* into namespace DB 2023-12-29 14:37:08 +08:00
jsc0218
0fc569a3e3 support range hashed short circuit 2023-12-28 22:21:51 +00:00
jsc0218
17f391abb8 fix nullable issue, range hash setting and strengthen test 2023-12-28 16:16:06 +00:00
jsc0218
fd9a2a6417 support hashed array short circuit 2023-12-27 00:15:57 +00:00
Azat Khuzhin
3be3b0a280 Fix incorrect Exceptions
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-24 21:26:32 +01:00
jsc0218
e25eda91b0 refactor 2023-12-22 22:12:32 +00:00
jsc0218
24e9ba681e Merge remote-tracking branch 'origin/master' into DictShortCircuit 2023-12-20 20:03:14 +00:00
jsc0218
23fb9b802f simplify 2023-12-20 18:42:30 +00:00
vdimir
ae4270465d
Merge pull request #57544 from ClickHouse/vdimir/dict_hashed_array_shard
Support SHARDS for HashedArrayDictionary
2023-12-20 13:02:26 +01:00
jsc0218
3bb196f612 support hash dict short circuit 2023-12-20 02:53:07 +00:00
jsc0218
11f63d59a5 support multi column flat dict short circuit 2023-12-19 02:43:48 +00:00
Nikita Mikhaylov
6360b76792 Merge branch 'master' of github.com:ClickHouse/ClickHouse into remove-the-limit-for-connections-per-endpoint 2023-12-18 21:49:31 +00:00
jsc0218
26a817914e support single column flat dict short circuit 2023-12-18 02:24:10 +00:00
Raúl Marín
b269f87f4c Better text_log with ErrnoException 2023-12-15 19:27:56 +01:00
Nikita Mikhaylov
a0af0392cd
Random changes in random files (#57642) 2023-12-14 12:47:11 +01:00
vdimir
398499d253
Support SHARDS for HashedArrayDictionary 2023-12-13 13:00:28 +00:00
jsc0218
8fa4f29b6f refine interface again 2023-12-13 03:42:15 +00:00
jsc0218
fdcd94bf5f refine the interface 2023-12-12 16:40:18 +00:00
Nikita Mikhaylov
04d167c6d9 Better 2023-12-05 13:34:37 +01:00
Alexey Milovidov
10d5ba57e8
Merge pull request #57124 from azat/build/split-HashedDictionary-CU
Split HashedDictionary CU
2023-11-23 23:14:47 +01:00
Vitaly Baranov
e0c9661115 Check dictionary source type on creation even if "dictionaries_lazy_load" is enabled. 2023-11-23 01:45:08 +01:00
Azat Khuzhin
cf3cd099a5 Split HashedDictionary CU
Before HashedDictionary.cpp exceeds 50MiB, now:

    -rw-r--r-- 1 azat azat  37M Nov 22 17:56 SparseHashedDictionary.cpp.o
    -rw-r--r-- 1 azat azat  34M Nov 22 17:56 HashedDictionary.cpp.o
    -rw-r--r-- 1 azat azat 716K Nov 22 17:56 registerHashedDictionary.cpp.o

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-22 19:00:40 +01:00
Alexey Milovidov
d56cbda185 Add metrics for the number of queued jobs, which is useful for the IO thread pool 2023-11-18 19:07:59 +01:00
Alexey Milovidov
be88873c3e
Merge pull request #56776 from mkmkme/mkmkme/fix-typo
fix typo in ClickHouseDictionarySource
2023-11-15 12:30:25 +01:00
Mikhail Koviazin
aea43bdfad
fix typo in ClickHouseDictionarySource
hostnmae -> hostname
2023-11-15 10:06:00 +02:00
Alexey Milovidov
3bec4dce8e Merge branch 'master' into remove-cpp-templates-2 2023-11-11 00:50:32 +01:00
Alexey Milovidov
9317357873
Merge pull request #56546 from ClickHouse/remove-1
Remove useless using
2023-11-10 16:56:56 +01:00
Kseniia Sumarokova
ecd98006ce
Merge pull request #56306 from ClickHouse/fix-backup-restore-flatten-nested
Fix restore from backup with `flatten_nested` and `data_type_default_nullable`
2023-11-10 11:43:17 +01:00
Alexey Milovidov
8c253b9e3e Remove C++ templates 2023-11-10 05:25:02 +01:00
Alexey Milovidov
3f5b94b8ca Remove useless using 2023-11-09 23:37:39 +01:00
kssenii
41a880e57c Review fix 2023-11-09 16:03:51 +01:00
kssenii
9178fd4ad1 Fix case with replicated database 2023-11-07 16:02:51 +01:00
Nikolay Degterinsky
29da9f9645 Fix ClickHouse-sourced dictionaries with explicit query 2023-11-02 04:31:01 +00:00
vdimir
da6f3346fe
Merge pull request #55839 from ClickHouse/vdimir/async_executor_for_dictionary_load
Use AsyncPipelineExecutor all dictionaries
2023-10-24 11:31:36 +02:00
Nikita Taranov
900844605f
Optimise memory consumption during loading of hierarchical dictionaries (#55838)
* impl

* add comment

* fix build
2023-10-23 13:52:27 +02:00
Anton Popov
5819bcd07a
Support asynchronous inserts for native protocol (#54730)
* support async insert for native protocol

* use separate queue for async inserts via native protocol

* fix test

* better logging for async inserts and more tests

* disable mixed internal and external data in async inserts

* fix tests

* fix quota in async inserts

* disable async insert for secondary query of distributed
2023-10-20 18:39:48 +02:00
vdimir
8bc384e708
More dictionaries support dictionary_use_async_executor 2023-10-20 13:14:15 +00:00
vdimir
1aa4a542bb
Handle empty block in DictionaryPipelineExecutor 2023-10-20 12:30:21 +00:00