Sema Checherinda
77e60543fd
Revert "insertion deduplication on retries for materialised views"
2024-07-05 14:58:17 +02:00
Sema Checherinda
02c9a07778
work in progress
2024-05-21 17:07:52 +02:00
Yarik Briukhovetskyi
6277deb166
small fixes
2024-04-08 17:59:54 +02:00
zhongyuankai
9b1b81d921
add tests
2024-04-01 11:55:22 +08:00
Yarik Briukhovetskyi
7fb4ace6ef
clang fix
2024-03-28 19:24:10 +01:00
Yarik Briukhovetskyi
e2b0fde0f0
Remove unused setting
2024-03-28 17:22:14 +01:00
zhongyuankai
f1ae99b113
Support ALTER MODIFY SETTING for Memory tables
2024-03-28 19:55:22 +08:00
Jake Bamrah
5e66cd7154
fix settings seg-fault and expand test case coverage
2024-03-13 18:47:13 +01:00
Yarik Briukhovetskyi
4aab1170ef
fix style
2024-03-13 18:47:13 +01:00
Yarik Briukhovetskyi
77223d682d
reload tests
2024-03-13 18:47:13 +01:00
Jake Bamrah
c73e299820
add size cap to memory tables
2024-03-13 18:47:13 +01:00
Alexey Milovidov
d337379385
Remove in-memory data parts, step 2
2024-03-10 06:44:26 +01:00
Amos Bird
c5e073320c
Unify prewhere optimization
2024-02-26 02:31:56 +08:00
Alexey Milovidov
aec3f28ccb
Support backups for compressed in-memory tables
2024-01-28 23:06:50 +01:00
Sergey Kviatkevich
376d297da2
fix alter table tests
2023-11-30 21:42:13 +03:00
Sergey Kviatkevich
afae432e99
allow ALTER for TEMPORARY table
2023-11-30 21:42:12 +03:00
Vitaly Baranov
e127d27453
Disable using fs cache for backup/restore #2 .
2023-08-03 13:52:35 +02:00
Azat Khuzhin
d40dbdee62
Fix usage of temporary directories during RESTORE
...
Previously during RESTORE you may get the following warning in logs:
<Warning> TemporaryFileOnDisk: Temporary path 'tmp/21672kaaaaa' does not exist in './disks/s3_common_disk/'
The reason is that it uses not disks/s3_common_disk/tmp but instead
disks/s3_common_disk/disks/s3_common_disk/tmp path.
Fix this by adding TemporaryFileOnDisk::getRelativePath() and use it
when appropriate.
And now - `find disks`, does not shows any more temporary leftovers.
v2: rename getPath to getAbsolutePath
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-27 19:24:54 +02:00
Nikolai Kochetov
afa74f697c
Refactor a bit.
2023-06-16 19:38:50 +00:00
Nikolai Kochetov
6ce8329bda
Merge branch 'master' into refactor-subqueries-for-in
2023-06-09 20:04:27 +02:00
Antonio Andelic
b11f744252
Correctly disable async insert with deduplication when it's not needed ( #50663 )
...
* Correctly disable async insert when it's not used
* Better
* Add comment
* Better
* Fix tests
---------
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-06-07 20:33:08 +02:00
Nikolai Kochetov
8cec00dd6e
Merge branch 'master' into refactor-subqueries-for-in
2023-05-30 18:08:37 +02:00
Anton Popov
612173e734
refactoring near alter conversions
2023-05-25 22:54:54 +00:00
Nikolai Kochetov
7ebe19f5fb
Fixing more tests
2023-05-25 19:18:11 +00:00
Vitaly Baranov
f4ac4c3f9d
Corrections after review.
2023-05-17 03:23:16 +02:00
Vitaly Baranov
943707963f
Add backup setting "decrypt_files_from_encrypted_disks"
2023-05-16 14:27:27 +02:00
Vitaly Baranov
5198997fd8
Remove ReadSettings from backup entries.
2023-05-16 14:27:27 +02:00
Vitaly Baranov
c92219f01b
BACKUP now writes encrypted data for tables on encrypted disks.
2023-05-16 14:26:33 +02:00
Konstantin Morozov
e4394debd4
forgot about query_plan
2023-05-02 14:59:41 +02:00
Konstantin Morozov
397a1700c7
apply comments
2023-05-02 14:59:41 +02:00
kst-morozov
f0619910d4
move pipe compute into initializePipeline
2023-05-02 14:59:41 +02:00
Vladimir C
e7a5c96353
Merge pull request #48219 from ClickHouse/vdimir/lock_order_47072
2023-04-06 11:54:33 +02:00
vdimir
01ce3baf0f
Rename Context::getTemporaryVolume to getGlobalTemporaryVolume
2023-04-05 13:42:13 +00:00
Azat Khuzhin
218b1f9c29
Add ability to throttle BACKUPs on per-server/backup basis
...
Server settings:
- backup_read_bandwidth_for_server
- backup_write_bandwidth_for_server
Query settings:
- backup_read_bandwidth
- backup_write_bandwidth
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-05 09:39:48 +02:00
Konstantin Morozov
dec5972194
add optimization for MemoryStorageStep
2023-03-19 20:35:24 +01:00
Vitaly Baranov
00c05f7f8b
Merge pull request #47546 from vitlibar/use-server-side-copy-for-restore
...
Use server-side copy for restore from S3 to S3.
2023-03-15 11:28:29 +01:00
Vitaly Baranov
1cf1ce07fe
Use server-side copy during restore from S3 to S3.
2023-03-13 23:50:13 +01:00
Konstantin Morozov
255102292c
refactoring: remove uselees ctor
2023-03-09 10:02:16 +01:00
Konstantin Morozov
4686eb3cdd
refactoring: create new step only once
2023-03-09 09:57:23 +01:00
Konstantin Morozov
82efbf01aa
fix empty pipe for read
2023-03-09 08:28:55 +01:00
Konstantin Morozov
e0ca12dc66
fix failed CI
2023-03-03 18:16:14 +01:00
Konstantin Morozov
3cb82bfe07
Update read and with ReadFromMemoryStorage
2023-03-03 06:41:48 +01:00
Alexander Gololobov
863548114d
force_wait flag is no longer needed
2023-01-30 18:38:28 +01:00
Alexander Gololobov
2c64f0042a
Added force_wait parameter to IStorage::mutate()
2022-12-30 16:23:03 +01:00
Anton Popov
2ae3cfa9e0
Merge branch 'master' into dynamic-columns-14
2022-10-31 16:15:19 +01:00
Azat Khuzhin
4e76629aaf
Fixes for -Wshorten-64-to-32
...
- lots of static_cast
- add safe_cast
- types adjustments
- config
- IStorage::read/watch
- ...
- some TODO's (to convert types in future)
P.S. That was quite a journey...
v2: fixes after rebase
v3: fix conflicts after #42308 merged
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:19 +02:00
Anton Popov
d1fa2148de
Merge branch 'master' into dynamic-columns-14
2022-09-09 19:32:07 +02:00
Anton Popov
f0a404e2c8
Merge remote-tracking branch 'upstream/master' into HEAD
2022-09-06 15:51:16 +00:00
Anton Popov
f76c1482bd
try to fix filling of missed Nested columns with multiple levels
2022-09-06 13:56:32 +00:00
Anton Popov
9dda9658a8
Merge remote-tracking branch 'upstream/master' into HEAD
2022-09-02 12:48:27 +00:00