Anton Popov
|
2ae3cfa9e0
|
Merge branch 'master' into dynamic-columns-14
|
2022-10-31 16:15:19 +01:00 |
|
Anton Popov
|
cbfa887e52
|
fix merge of projections
|
2022-10-24 23:51:57 +00: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 |
|
Anton Popov
|
f0a404e2c8
|
Merge remote-tracking branch 'upstream/master' into HEAD
|
2022-09-06 15:51:16 +00:00 |
|
Alexander Gololobov
|
1c2dd50ca5
|
Fix vertical merge of parts with lightweight deleted rows
|
2022-08-24 15:18:33 +02:00 |
|
Alexander Tokmakov
|
46aaf842f8
|
Merge pull request #40031 from ClickHouse/fix_old_tmp_dirs_cleanup
Fix old temporary directories cleanup
|
2022-08-12 20:31:20 +03:00 |
|
Anton Popov
|
4bd50bb06c
|
Merge branch 'master' into distinct_sorted_simplify
|
2022-08-12 17:11:18 +02:00 |
|
Alexander Tokmakov
|
fff903ee81
|
fix
|
2022-08-10 15:48:56 +02:00 |
|
Alexander Tokmakov
|
fe572104aa
|
fix old tmp dirs cleanup
|
2022-08-09 18:44:51 +02:00 |
|
Igor Nikonov
|
7b0b38e997
|
DistinctSortedTransform works only if columns contains sort prefix of
sort description
|
2022-07-29 20:01:07 +00:00 |
|
Igor Nikonov
|
ae82bfb7f3
|
Merge remote-tracking branch 'origin/master' into distinct_sorted_simplify
|
2022-07-29 13:12:03 +00:00 |
|
Anton Popov
|
57e4fb2e30
|
Merge remote-tracking branch 'upstream/master' into HEAD
|
2022-07-29 11:42:11 +00:00 |
|
Anton Popov
|
4cf0353892
|
try to fix Nested
|
2022-07-27 14:05:16 +00:00 |
|
Alexander Gololobov
|
48de02a7b8
|
Capitalized const name
|
2022-07-25 16:32:16 +02:00 |
|
Alexander Gololobov
|
460950ecdc
|
Merge branch 'master' into feature/sql-standard-delete
|
2022-07-24 21:27:22 +02:00 |
|
Igor Nikonov
|
eacc57b6a4
|
Simplify DistinctSorted
+ use ordinary Distinct for deduplication in MergeTree when no sorting provided
|
2022-07-24 14:26:25 +00:00 |
|
Alexander Gololobov
|
594195451e
|
Cleanups
|
2022-07-24 12:21:18 +02:00 |
|
Alexander Tokmakov
|
a8da5d96fc
|
remove some dead and commented code
|
2022-07-21 15:05:48 +02:00 |
|
Alexander Gololobov
|
f324ca9921
|
Cleanups
|
2022-07-18 20:07:22 +02:00 |
|
Alexander Gololobov
|
9de72d995a
|
POC lightweight delete using __row_exists virtual column and prewhere-like filtering
|
2022-07-18 20:06:42 +02:00 |
|
Maksim Kita
|
bdc21737d5
|
MergeTree merge disable batch optimization
|
2022-07-05 16:15:00 +02:00 |
|
Nikolai Kochetov
|
ef8b967c3f
|
Fix more tests.
|
2022-06-20 13:07:14 +00:00 |
|
Nikolai Kochetov
|
5bc9b32025
|
Merge branch 'master' into refactor-something-in-part-volumes
|
2022-06-08 11:10:06 +00:00 |
|
Nikolai Kochetov
|
678d978acf
|
Merge branch 'master' into refactor-something-in-part-volumes
|
2022-06-07 15:23:00 +00:00 |
|
Anton Popov
|
df6882d2b9
|
Revert "Fix errors of CheckTriviallyCopyableMove type"
|
2022-06-07 13:53:10 +02:00 |
|
Anton Popov
|
ef6f5a6500
|
Merge pull request #37570 from azat/column-ttl-expired-fix
Do not write expired columns by TTL after subsequent merges
|
2022-06-07 13:05:03 +02:00 |
|
Anton Popov
|
d40b23272e
|
Merge pull request #37755 from CurtizJ/fix-mutations-again
Return back #37266
|
2022-06-06 20:22:03 +02:00 |
|
Robert Schulze
|
2d87af2a15
|
Merge pull request #37647 from DevTeamBK/Fix-all-CheckTriviallyCopyableMove-Errors
Fix errors of CheckTriviallyCopyableMove type
|
2022-06-05 19:58:47 +02:00 |
|
Anton Popov
|
5cf2c67410
|
Merge branch 'master' into fix-mutations-again
|
2022-06-03 14:17:05 +02:00 |
|
Nikolai Kochetov
|
89c5855d20
|
Merge branch 'master' into refactor-something-in-part-volumes
|
2022-06-02 12:19:07 +02:00 |
|
Anton Popov
|
cae2478b3f
|
Revert "Merge pull request #37355 from ClickHouse/revert-37266-fix-mutations-with-object"
This reverts commit a53cfa9fca , reversing
changes made to 9acb42fcdb .
|
2022-06-01 10:57:20 +00:00 |
|
HeenaBansal2009
|
b7eb6bbd38
|
Fixed clang-tidy-CheckTriviallyCopyableMove-errors
|
2022-05-30 11:09:03 -07:00 |
|
Azat Khuzhin
|
73a99d4eee
|
Improve error message for skipped/expired columns
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
|
2022-05-26 20:14:10 +03:00 |
|
Azat Khuzhin
|
f0cac5417a
|
More optional skipping of fully expired columns (by TTL)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
|
2022-05-26 20:14:10 +03:00 |
|
Azat Khuzhin
|
46a94f395d
|
Move the check into IMergedBlockOutputStream::removeEmptyColumnsFromPart()
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
|
2022-05-26 20:14:10 +03:00 |
|
Azat Khuzhin
|
4288d09a85
|
Do not write expired columns by TTL after merge w/o TTL
Usually second merge do not perform TTL, since everything is up to date,
however in this case TTLTransform is not used, and hence expired_columns
will not be filled for new part, and so those columns will be written
with default values.
Avoid this, by manually filling expired_columns.
Here is a simpler reproducer:
Simple reproducer:
```sql
create table ttl_02262 (date Date, key Int, value String TTL date + interval 1 month) engine=MergeTree order by key settings min_bytes_for_wide_part=0, min_rows_for_wide_part=0;
insert into ttl_02262 values ('2010-01-01', 2010, 'foo');
```
```sh
# ls -l .server/data/default/ttl_02262/all_*
.server/data/default/ttl_02262/all_1_1_0:
total 48
-rw-r----- 1 root root 335 May 26 14:19 checksums.txt
-rw-r----- 1 root root 76 May 26 14:19 columns.txt
-rw-r----- 1 root root 1 May 26 14:19 count.txt
-rw-r----- 1 root root 28 May 26 14:19 date.bin
-rw-r----- 1 root root 48 May 26 14:19 date.mrk2
-rw-r----- 1 root root 10 May 26 14:19 default_compression_codec.txt
-rw-r----- 1 root root 30 May 26 14:19 key.bin
-rw-r----- 1 root root 48 May 26 14:19 key.mrk2
-rw-r----- 1 root root 8 May 26 14:19 primary.idx
-rw-r----- 1 root root 99 May 26 14:19 ttl.txt
-rw-r----- 1 root root 30 May 26 14:19 value.bin
-rw-r----- 1 root root 48 May 26 14:19 value.mrk2
```
```sql
optimize table ttl_02262 final;
```
```sh
.server/data/default/ttl_02262/all_1_1_1:
total 40
-rw-r----- 1 root root 279 May 26 14:19 checksums.txt
-rw-r----- 1 root root 61 May 26 14:19 columns.txt
-rw-r----- 1 root root 1 May 26 14:19 count.txt
-rw-r----- 1 root root 28 May 26 14:19 date.bin
-rw-r----- 1 root root 48 May 26 14:19 date.mrk2
-rw-r----- 1 root root 10 May 26 14:19 default_compression_codec.txt
-rw-r----- 1 root root 30 May 26 14:19 key.bin
-rw-r----- 1 root root 48 May 26 14:19 key.mrk2
-rw-r----- 1 root root 8 May 26 14:19 primary.idx
-rw-r----- 1 root root 81 May 26 14:19 ttl.txt
```
```sql
optimize table ttl_02262 final;
```
```sh
.server/data/default/ttl_02262/all_1_1_2:
total 48
-rw-r----- 1 root root 349 May 26 14:20 checksums.txt
-rw-r----- 1 root root 76 May 26 14:20 columns.txt
-rw-r----- 1 root root 1 May 26 14:20 count.txt
-rw-r----- 1 root root 28 May 26 14:20 date.bin
-rw-r----- 1 root root 48 May 26 14:20 date.mrk2
-rw-r----- 1 root root 10 May 26 14:20 default_compression_codec.txt
-rw-r----- 1 root root 30 May 26 14:20 key.bin
-rw-r----- 1 root root 48 May 26 14:20 key.mrk2
-rw-r----- 1 root root 8 May 26 14:20 primary.idx
-rw-r----- 1 root root 81 May 26 14:20 ttl.txt
-rw-r----- 1 root root 27 May 26 14:20 value.bin
-rw-r----- 1 root root 48 May 26 14:20 value.mrk2
```
And now we have `value.*` for all_1_1_2, this should not happen.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
|
2022-05-26 20:14:10 +03:00 |
|
Nikolai Kochetov
|
6d4a26afac
|
Update ReadProgressCallback.
|
2022-05-25 19:45:48 +00:00 |
|
Nikolai Kochetov
|
1b85f2c1d6
|
Merge branch 'master' into refactor-read-metrics-and-callbacks
|
2022-05-25 16:27:40 +02:00 |
|
Nikolai Kochetov
|
56feef01e7
|
Move some resources
|
2022-05-20 19:49:31 +00:00 |
|
Alexander Tokmakov
|
f787dc7097
|
Revert "Fix mutations in tables with columns of type Object "
|
2022-05-19 13:24:48 +03:00 |
|
Anton Popov
|
b6c5ab4fcf
|
fix mutations in tables with columns of type Object
|
2022-05-16 18:26:53 +00:00 |
|
Maksim Kita
|
437d70d4da
|
Fixed tests
|
2022-05-11 21:59:51 +02:00 |
|
Maksim Kita
|
4e7d10297b
|
Fixed style
|
2022-05-11 21:59:51 +02:00 |
|
Maksim Kita
|
ce92f6aab1
|
Fixed tests
|
2022-05-11 21:59:51 +02:00 |
|
Maksim Kita
|
8ceb63ee6c
|
Added JIT compilation of SortDescription
|
2022-05-11 21:59:51 +02:00 |
|
Anton Popov
|
566c08086a
|
support Object type inside other types
|
2022-05-06 14:44:00 +00:00 |
|
Nikolai Kochetov
|
35095191eb
|
Merge branch 'master' into refactor-something-in-part-volumes
|
2022-05-03 17:51:47 +02:00 |
|
Amos Bird
|
4a5e4274f0
|
base should not depend on Common
|
2022-04-29 10:26:35 +08:00 |
|
Nikolai Kochetov
|
e44af67fee
|
Merge branch 'master' into refactor-something-in-part-volumes
|
2022-04-26 21:08:00 +02:00 |
|