Han Fei
ba878fb43a
support rename
2023-10-04 00:58:26 +02:00
Han Fei
4e7745f757
Merge branch 'master' into hanfei/statistic
2023-09-26 21:43:53 +02:00
Robert Schulze
d170304359
Parallelize Annoy index creation + minor test fix
2023-09-25 17:07:23 +00:00
Han Fei
10c622fa08
Merge branch 'master' into hanfei/statistic
2023-08-24 15:56:06 +02:00
Han Fei
f5c9d278ad
use statistic to order prewhere conditions better
2023-08-09 22:57:49 +02:00
ltrk2
51e2c58a53
Implement endianness-independent SipHash and MergeTree checksum serialization
2023-07-19 10:01:55 -07:00
Sema Checherinda
fd292dc730
work with comment on the PR
2023-06-20 20:02:04 +02:00
Sema Checherinda
47484faace
do abort/cancel/deletion merge/mutate task with exception context
2023-06-16 16:48:21 +02:00
Sema Checherinda
1cb02e2710
do call finalize for all buffers
2023-06-16 16:38:18 +02:00
Robert Schulze
4c9b9b362c
Replace dynamic_cast by typeid_cast
2023-02-27 10:01:21 +00:00
Robert Schulze
cc0c0c6133
A better alternative to #46344
...
The (experimental) inverted index writes/reads files different from the
standard files written by the other skip indexes. The original problem
was that with database engine "ordinary", DROP TABLE of a table with
inverted index finds unknown files in persistence and complains. The
same will happen with engine "atomic" but deferred. As a hotfix, the
error was silenced by explicitly adding the four files created in a
specific test to the deletion code.
This PR tries a cleaner solution where all needed files are provided via
the normal checksum structure. One drawback remains which is that the
affected files were written earlier and we don't have their checksums
available. Therefore, the inverted index is currently excluded from
CHECK TABLE.
Minimal repro:
SET allow_experimental_inverted_index = 1;
DROP TABLE IF EXISTS tab;
CREATE TABLE tab(s String, INDEX af(s) TYPE inverted(2)) ENGINE = MergeTree() ORDER BY s;
INSERT INTO tab VALUES ('Alick a01');
CHECK TABLE tab;
DROP TABLE IF EXISTS tab;
run ./clickhouse-test with --db-engine Ordinary
2023-02-26 21:06:38 +00:00
Anton Popov
a252d3a139
Revert "Merge pull request #46236 from ClickHouse/revert-45681-compact-parts-vertical-merge"
...
This reverts commit 27bc317ef9
, reversing
changes made to ccf7b6f4c1
.
2023-02-10 14:13:29 +00:00
Anton Popov
612fe0bd00
Revert "Allow vertical merges from compact to wide parts"
2023-02-09 15:42:46 +01:00
Anton Popov
3f1db52d51
Merge remote-tracking branch 'upstream/master' into compact-parts-vertical-merge
2023-01-27 14:38:37 +00:00
Anton Popov
9c1717b42d
fix computation of granularity in vertical merges
2023-01-27 13:35:04 +00:00
Robert Schulze
9ff2bfcbf5
Merge remote-tracking branch 'origin/master' into inv-index-cleanup
...
src/Interpreters/GinFilter.cpp
src/Interpreters/InterpreterCreateQuery.cpp
src/Storages/MergeTree/MergeTreeData.cpp
src/Storages/MergeTree/MergeTreeDataPartWriterOnDisk.cpp
src/Storages/MergeTree/MergeTreeIndexInverted.cpp
2023-01-24 10:09:42 +00:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages ( #45449 )
...
* save format string for NetException
* format exceptions
* format exceptions 2
* format exceptions 3
* format exceptions 4
* format exceptions 5
* format exceptions 6
* fix
* format exceptions 7
* format exceptions 8
* Update MergeTreeIndexGin.cpp
* Update AggregateFunctionMap.cpp
* Update AggregateFunctionMap.cpp
* fix
2023-01-24 00:13:58 +03:00
Robert Schulze
bfc3b4f5ca
Suffix "GinFilter" --> "Inverted"
2023-01-20 12:02:35 +00:00
Robert Schulze
72973076c9
Rename MergeTreeIndexGin.h/cpp to MergeTreeIndexInverted.h/cpp
2023-01-20 11:42:36 +00:00
Robert Schulze
1ef2704539
Cosmetics
2023-01-20 11:39:23 +00:00
Robert Schulze
58df3953bb
Move some code around (no other changes)
2023-01-20 11:24:23 +00:00
Larry Luo
71da1b1379
Updated inverted index to use ActionsDAG
2022-12-31 18:05:06 -08:00
Larry Luo
f0a2c06261
Fixed errors caused by merging.
2022-12-31 18:05:06 -08:00
Larry Luo
0b63d6b5be
Resolve conflicts and style errors.
2022-12-31 18:03:13 -08:00
HarryLeeIBM
bc8be368bb
Fix coding styles
2022-12-31 18:03:13 -08:00
Larry Luo
91b79b26e3
Use DataPartStorage in GinIndexStore
2022-12-31 18:03:02 -08:00
HarryLeeIBM
0839ff60ee
Initial Checkin of full text search
2022-12-31 18:00:17 -08:00
Alexey Milovidov
71850f6913
Check for bad index_granularity
2022-12-25 16:06:34 +01:00
Kruglov Pavel
c35b2a6495
Add a limit for string size in RowBinary format ( #43842 )
2022-12-02 13:57:11 +01:00
Anton Popov
b40d9200d2
better semantic of constsness of DataPartStorage
2022-10-23 15:24:20 +00:00
Anton Popov
56e5daba0c
remove DataPartStorageBuilder
2022-10-23 00:23:15 +00:00
Alexey Milovidov
b4eec0e6f4
Fix strange code
2022-09-05 06:31:19 +02:00
Alexey Milovidov
6bc814a860
Renaming
2022-09-05 04:47:32 +02:00
zhongyuankai
c1d7f60064
fix test
2022-08-30 08:50:27 +08:00
Alexey Milovidov
5ee81598b5
Merge branch 'compress_marks_and_primary_key' of github.com:zhongyuankai/ClickHouse into compress-marks
2022-08-28 04:19:14 +02:00
zhongyuankai
71935b96ef
support compress marks and primary key
2022-08-10 18:07:14 +08:00
Nikolai Kochetov
854d148d73
Add some comments. Remove some commented code.
2022-06-21 12:31:02 +00:00
Nikolai Kochetov
dccf90b1ea
Cleanup.
2022-06-20 18:18:17 +00:00
Nikolai Kochetov
4a20e4f37e
Fixing build.
2022-05-03 15:48:05 +00:00
Nikolai Kochetov
e44af67fee
Merge branch 'master' into refactor-something-in-part-volumes
2022-04-26 21:08:00 +02:00
Nikolai Kochetov
76870ad92a
Part 5
2022-04-12 18:59:49 +00:00
kssenii
afd0c64a1a
Better
2022-03-21 15:04:16 +01:00
Nikolai Kochetov
2a6eb593be
Revert "Revert "Add pool to WriteBufferFromS3""
2022-02-01 13:36:51 +03:00
alexey-milovidov
095d9bfa43
Revert "Add pool to WriteBufferFromS3"
2022-02-01 05:49:40 +03:00
Nikolai Kochetov
b3cbb63487
Merge branch 'master' into add-pool-to-s3-write-buffer
2022-01-21 21:41:54 +03:00
Nikolai Kochetov
28f2012b06
Add some more async writing.
2022-01-11 19:02:48 +00:00
Azat Khuzhin
cb70544dfe
Move LockMemoryExceptionInThread and MemoryTrackerBlockerInThread
2022-01-10 22:39:10 +03:00
Nikolai Kochetov
68bf38133a
Add pool to WriteBufferFromS3
2021-12-29 14:04:21 +00:00
Anton Popov
9823f28855
fix nested
2021-11-02 06:03:52 +03:00
Anton Popov
0099dfd523
refactoring of SerializationInfo
2021-10-29 20:21:02 +03:00