Alexey Milovidov
a4abb81194
Merge branch 'master' into bgmem
2023-07-05 01:54:43 +03:00
Alexey Milovidov
a06532630a
Merge branch 'master' into fix-test-object-type
2023-07-05 00:47:30 +02:00
Alexey Milovidov
4d87cf2344
Merge branch 'master' into qemu-chroot-fixes
2023-07-05 01:13:06 +03:00
Alexander Gololobov
c0629a38d1
Fix for incorrect result when parallel replicas not completely disabled
2023-07-04 23:50:19 +02:00
Alexey Gerasimchuck
2b77196a47
Merge branch 'master' into ADQM-970
2023-07-05 07:44:31 +10:00
Alexey Gerasimchuck
ffb7d937dd
Merge branch 'master' into ADQM-956
2023-07-05 07:44:16 +10:00
Alexey Milovidov
3a170c297a
Merge pull request #51392 from ClickHouse/disable-hedged-requests-under-tsan
...
Disable hedged requests under TSan
2023-07-05 00:33:17 +03:00
Alexey Milovidov
3371e038cf
Merge pull request #51498 from ClickHouse/vdimir/test_alter_moving_garbage_51342
...
Fix `test_alter_moving_garbage`: lock between getActiveContainingPart and swapActivePart in parts mover
2023-07-05 00:32:21 +03:00
Han Fei
7f1ee68c87
refine
2023-07-04 23:08:54 +02:00
Nikita Taranov
da105d4916
impl
2023-07-04 23:01:06 +02:00
Alexander Tokmakov
607a8a1c46
fix
2023-07-04 22:52:59 +02:00
Alexander Tokmakov
42222662e6
Merge branch 'master' into fix_broken_parts_handling
2023-07-04 22:46:35 +02:00
Alexey Milovidov
c76cf53391
Address review comments
2023-07-04 22:14:37 +02:00
Alexey Milovidov
4e8405cbda
Merge branch 'master' into disks-space-improvement
2023-07-04 22:00:40 +02:00
Alexey Milovidov
5a32995726
Update src/Disks/IVolume.cpp
...
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2023-07-04 22:57:39 +03:00
Alexey Milovidov
6345879cdf
Update src/Disks/VolumeJBOD.cpp
...
Co-authored-by: Sergei Trifonov <sergei@clickhouse.com>
2023-07-04 22:56:58 +03:00
Yakov Olkhovskiy
bb5b47cacf
do not access Exception::thread_frame_pointers if not initialized
2023-07-04 19:07:11 +00:00
Alexander Tokmakov
d987b94ed4
fix the way how broken parts are detached
2023-07-04 20:51:15 +02:00
Sema Checherinda
7b6b406af1
Merge branch 'master' into write-to-finalized
2023-07-04 20:19:51 +02:00
avogar
32ee0e7d08
Add assert in ThreadStatus destructor for correct current_thread
2023-07-04 17:35:26 +00:00
Alexey Milovidov
f0fb024ce0
Merge branch 'master' into add-test-43358
2023-07-04 20:20:59 +03:00
Alexey Milovidov
81594cc457
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer
2023-07-04 20:20:14 +03:00
Alexey Milovidov
0eeb0b418b
Merge branch 'master' into qemu-chroot-fixes
2023-07-04 20:19:53 +03:00
Alexey Milovidov
35bf33c3d9
Merge branch 'master' into fix-tsan-transform
2023-07-04 20:18:43 +03:00
Dmitry Kardymon
cce06edfa7
Merge remote-tracking branch 'clickhouse/master' into ADQM-868
2023-07-04 19:18:55 +03:00
Dmitry Kardymon
01c89564bc
Merge remote-tracking branch 'clickhouse/master' into Fix-formatDateTime-with-fractional-negative-datetime64
2023-07-04 19:18:05 +03:00
Dmitry Kardymon
825a244aea
Merge remote-tracking branch 'clickhouse/master' into ADQM-870
2023-07-04 19:16:50 +03:00
Igor Nikonov
3155f58941
Merge remote-tracking branch 'origin/master' into fix_logical_error_grace_hash_join
2023-07-04 15:47:04 +00:00
Igor Nikonov
1c2233b693
Fix style check
2023-07-04 15:46:40 +00:00
Robert Schulze
770bf8f4f3
Merge branch 'master' into re2-absl
2023-07-04 17:42:52 +02:00
Han Fei
ca6930eb11
Revert "Revert "Merge pull request #50951 from ZhiguoZh/20230607-toyear-fix""
2023-07-04 17:38:53 +02:00
Kruglov Pavel
bab423acc2
Merge branch 'master' into disable-hedged-requests-under-tsan
2023-07-04 17:37:14 +02:00
kssenii
c979113ea5
Fix
2023-07-04 16:13:33 +02:00
kssenii
6bca452924
Fix tests
2023-07-04 12:42:27 +02:00
Vitaly Baranov
c092b9974c
Merge branch 'master' into fix-race-in-context-access
2023-07-04 12:37:41 +02:00
Kseniia Sumarokova
24bb6ed566
Merge branch 'master' into min-file-segment-size
2023-07-04 12:21:41 +02:00
Igor Nikonov
30be0ab4a8
Fix: unexpected number of buckets
...
Number of buckets could become inconsistent
if exception was thrown during new buckets creation
2023-07-04 09:00:53 +00:00
Igor Nikonov
f86c5edfc4
Remove debug tracing
2023-07-04 07:55:13 +00:00
Dmitry Kardymon
ab4142eb8f
Merge remote-tracking branch 'clickhouse/master' into ADQM-870
2023-07-04 08:23:31 +03:00
Dmitry Kardymon
2d904c9cc4
Merge remote-tracking branch 'clickhouse/master' into Fix-formatDateTime-with-fractional-negative-datetime64
2023-07-04 08:21:48 +03:00
Dmitry Kardymon
ed16828b70
Merge remote-tracking branch 'clickhouse/master' into ADQM-868
2023-07-04 08:18:57 +03:00
Alexey Gerasimchuck
50d555a398
style correction
2023-07-04 02:45:15 +00:00
Alexey Gerasimchuck
49907818e1
Added waiting before crash log store finish
2023-07-04 02:32:08 +00:00
Alexey Gerasimchuck
3218624461
Merge branch 'master' into ADQM-956
2023-07-04 11:47:24 +10:00
Alexey Milovidov
c25da7cbf4
Fix (benign) data rance in transform
2023-07-04 01:03:49 +02:00
Alexey Milovidov
c65ee49a37
Revert "Merge pull request #51750 from ClickHouse/revert-51296-object_column_invalid_num_of_rows"
...
This reverts commit 73d956249e
, reversing
changes made to 4d76b538c7
.
2023-07-04 00:49:39 +02:00
Alexey Milovidov
03b8c28826
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer
2023-07-04 01:28:05 +03:00
Alexey Milovidov
d7bb68064a
Merge branch 'master' into disable-hedged-requests-under-tsan
2023-07-04 01:14:18 +03:00
Igor Nikonov
287fe91438
Merge branch 'master' into fix_logical_error_grace_hash_join
2023-07-04 00:05:11 +02:00
alekar
2236d848b6
Merge branch 'master' into fix-to-outfile
2023-07-03 15:02:46 -07:00
Igor Nikonov
6742432fd2
Number of bucket always increased by 2, so there is no reason provide it as parameter
2023-07-03 21:58:56 +00:00
Anton Popov
fd4a14d56b
Merge branch 'master' into system.parts_column_modification_time
2023-07-03 23:28:03 +02:00
Alexey Milovidov
912fda680e
Merge branch 'master' into add-test-43358
2023-07-04 00:17:07 +03:00
Alexander Tokmakov
ec5c9a0137
Revert "Fix: Invalid number of rows in Chunk column Object"
2023-07-03 23:43:38 +03:00
velavokr
dcc0076ded
fixed comment
2023-07-03 19:10:39 +03:00
velavokr
ae87d43f88
test fixes
2023-07-03 19:10:39 +03:00
velavokr
2f85d048ae
bugfix
2023-07-03 19:10:39 +03:00
velavokr
66227ce8d3
#51292 added default_temporary_table_engine setting
2023-07-03 19:10:39 +03:00
Vitaly Baranov
8dd1b7b8b9
Merge branch 'master' into add-hex-functions-for-cityhash
2023-07-03 18:00:33 +02:00
Igor Nikonov
ccda3c3a6e
Try to fix logical error #51703
2023-07-03 15:03:40 +00:00
Anton Popov
8bd6532ca7
Merge pull request #51296 from ClickHouse/object_column_invalid_num_of_rows
...
Fix: Invalid number of rows in Chunk column Object
2023-07-03 15:40:41 +02:00
kssenii
ac77f5fe6f
Merge remote-tracking branch 'upstream/master' into add-separate-access-for-use-named-collections
2023-07-03 13:55:45 +02:00
Alexander Gololobov
eff94f5100
Merge pull request #51610 from ClickHouse/fix_move_in_to_prewhere
...
Fix for moving 'IN' conditions to PREWHERE
2023-07-03 13:55:32 +02:00
Kseniia Sumarokova
37dcc36c50
Merge branch 'master' into min-file-segment-size
2023-07-03 13:52:28 +02:00
kssenii
2feb2c0f70
Fix style check
2023-07-03 13:47:08 +02:00
Azat Khuzhin
22e44ced8a
Add column modification time into system.parts_columns
...
This can be useful to obtain at least some time for the part after
mutations, since mutations will change the modification time of all
parts.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-03 13:34:05 +02:00
Kseniia Sumarokova
19508a01a5
Merge branch 'master' into resubmit-51149
2023-07-03 13:12:53 +02:00
kssenii
c4fb532f93
Better
2023-07-03 13:02:10 +02:00
kssenii
b82061ed2d
Merge remote-tracking branch 'origin/more-flexible-drop-cache' into more-flexible-drop-cache
2023-07-03 12:38:55 +02:00
kssenii
c575dc37b3
Remove redundant change
2023-07-03 12:38:12 +02:00
Alexander Tokmakov
ce5ca7d2a5
Merge pull request #51502 from ClickHouse/fix_logical_error_on_mutation
...
Fix a logical error on mutation
2023-07-03 12:52:59 +03:00
Sergei Trifonov
4e099086cd
Merge branch 'master' into fix-shutdown-race
2023-07-03 11:15:34 +02:00
Robert Schulze
fe49e98455
Follow-up to re2 update 2023-06-02 ( #50949 )
2023-07-03 08:28:25 +00:00
Antonio Andelic
50c1a7fda1
Merge pull request #50098 from ClickHouse/keeper-with-disks
...
Support for `IDisk` in Keeper
2023-07-03 09:11:06 +02:00
Ilya Yatsishin
cc448f0f0b
Merge branch 'master' into fix-race-in-context-access
2023-07-03 01:10:31 +02:00
Alexander Tokmakov
392b70d6f8
fix merge_selecting_task scheduling ( #51591 )
...
Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2023-07-02 19:30:18 +03:00
Alexander Tokmakov
43dba76cbf
Merge branch 'master' into fix_logical_error_on_mutation
2023-07-02 19:30:00 +03:00
Vitaly Baranov
35d1b8448b
Merge branch 'master' into add-hex-functions-for-cityhash
2023-07-02 01:32:54 +02:00
Antonio Andelic
eba60dd81e
Merge branch 'master' into keeper-with-disks
2023-07-01 20:59:16 +02:00
Antonio Andelic
4f5926153f
Merge branch 'master' into fix-async-insert-dedup-for-merging-algorithms
2023-07-01 20:59:06 +02:00
Alexander Gololobov
f36f981f15
Move adding CreateSets to the end of optimizations, after applying key conditions and indexes
2023-07-01 20:05:18 +02:00
Alexander Gololobov
05d399c0b3
Handle subqueries and sets when collecting table columns
2023-07-01 20:05:18 +02:00
Sema Checherinda
3ff5d43dec
Merge branch 'master' into write-to-finalized
2023-07-01 19:40:16 +02:00
Sema Checherinda
8b4fda9672
Merge pull request #51697 from CheSema/less-logs-3
...
do not log exception aborted for pending mutate/merge entries when shutdown
2023-07-01 19:38:35 +02:00
Sema Checherinda
bd3d6d4976
Merge pull request #51404 from CheSema/no-finalize-WriteBufferFromOStream
...
no finalize in d-tor WriteBufferFromOStream
2023-07-01 19:37:54 +02:00
Kseniia Sumarokova
b049f70b0e
Merge branch 'master' into more-flexible-drop-cache
2023-07-01 17:38:25 +02:00
kssenii
4f10a65a12
Fix
2023-07-01 15:09:23 +02:00
Kseniia Sumarokova
35f022cfaf
Merge pull request #51684 from ClickHouse/serxa-patch-3
...
Remove unused code
2023-07-01 13:17:47 +02:00
Kseniia Sumarokova
9f5bd8f853
Merge branch 'master' into cache-add-checks
2023-07-01 13:06:18 +02:00
Kseniia Sumarokova
b4aa0b3e6e
Merge branch 'master' into more-flexible-drop-cache
2023-07-01 12:59:43 +02:00
Kseniia Sumarokova
c616634972
Merge pull request #51552 from kssenii/allow-adding-disk-name-for-custom-disk
...
Allow to add disk name for custom disks
2023-07-01 12:52:14 +02:00
Sema Checherinda
d8e64631cd
Merge branch 'master' into write-to-finalized
2023-07-01 11:03:02 +02:00
Antonio Andelic
5e1cfb0531
Avoid copying block if optimize_on_insert is false
2023-07-01 08:53:23 +00:00
Antonio Andelic
0c31055663
Merge branch 'master' into fix-async-insert-dedup-for-merging-algorithms
2023-07-01 08:34:22 +00:00
alekar
bcf3b710d7
Merge branch 'master' into fix-to-outfile
2023-06-30 16:32:18 -07:00
Sema Checherinda
80b23a59dc
Merge branch 'master' into less-logs-3
2023-06-30 22:59:55 +02:00
Igor Nikonov
2054f630be
Merge remote-tracking branch 'origin/master' into object_column_invalid_num_of_rows
2023-06-30 20:41:56 +00:00
Igor Nikonov
5d652c4fd5
Finalize ColumnObject with only default values
2023-06-30 20:41:14 +00:00
Sema Checherinda
f6ad94d5bc
Merge branch 'master' into no-finalize-WriteBufferFromOStream
2023-06-30 22:12:31 +02:00
Sema Checherinda
fe17a9b589
do not log aborted for pending mutate/merge when shutdown
2023-06-30 19:36:32 +02:00
Sema Checherinda
50449cc68d
fix write to finalized buffer
2023-06-30 19:12:13 +02:00
kssenii
87d2447570
Merge remote-tracking branch 'upstream/master' into more-flexible-drop-cache
2023-06-30 18:22:45 +02:00
Alexey Milovidov
6f6ddb4d13
Merge pull request #51689 from ClickHouse/23.7-prepare
...
Update version after release
2023-06-30 18:27:14 +03:00
Alexey Milovidov
5ee7f47b03
Update autogenerated version to 23.7.1.1 and contributors
2023-06-30 17:09:56 +02:00
Yakov Olkhovskiy
023e40535a
Merge pull request #51349 from ClickHouse/ft-thread-scheduling-stacktrace
...
Collect stack traces from job's scheduling and print along with exception's stack trace.
2023-06-30 11:01:58 -04:00
kssenii
cc7493f076
Merge remote-tracking branch 'upstream/master' into min-file-segment-size
2023-06-30 16:37:11 +02:00
Sema Checherinda
c45fed58fc
Merge branch 'master' into less-logs-2
2023-06-30 15:55:17 +02:00
Sergei Trifonov
48eb188065
Remove unused code
2023-06-30 15:53:37 +02:00
Azat Khuzhin
030999692c
Merge branch 'master' into allocator-tunning
2023-06-30 15:47:35 +02:00
Antonio Andelic
2058b1346e
Merge branch 'master' into keeper-with-disks
2023-06-30 13:22:33 +00:00
Vitaly Baranov
2311dd9b5d
Use TSA_GUARDED_BY() macro in the definition of ContextAccess.
2023-06-30 15:18:54 +02:00
Sergei Trifonov
c8d6aa8b90
Merge branch 'master' into fix-shutdown-race
2023-06-30 15:12:21 +02:00
Alexander Tokmakov
d572eff106
Merge branch 'master' into fix_logical_error_on_mutation
2023-06-30 15:12:35 +03:00
Antonio Andelic
9a79fd6f70
Better
2023-06-30 11:51:20 +00:00
kssenii
58f2919971
Fix
2023-06-30 13:26:40 +02:00
Vitaly Baranov
f134153f4e
Fix race with "user_was_dropped" in ContextAccess.
2023-06-30 13:13:11 +02:00
Kseniia Sumarokova
f6742f61cb
Merge branch 'master' into fix-logical-error-read-unexpected-size
2023-06-30 13:02:49 +02:00
Antonio Andelic
24ae56b5dd
Correctly apply async deduplication for nonordinary ReplicatedMergeTree tables
2023-06-30 11:02:16 +00:00
Sema Checherinda
d0d12bbf3b
Merge branch 'master' into no-finalize-WriteBufferFromOStream
2023-06-30 12:15:17 +02:00
Kruglov Pavel
a628bbb1f5
Fix tests
2023-06-30 10:14:39 +00:00
Alexey Milovidov
b0d4c9c83b
Disable hedged requests under TSan
2023-06-30 10:14:39 +00:00
Michael Kolupaev
2b55734ccf
Fix MergeTreeMarksLoader segfaulting if marks file is longer than expected ( #51636 )
...
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-06-30 11:52:03 +02:00
Alexey Milovidov
0f2d731f1b
Merge branch 'master' into add-test-43358
2023-06-30 12:17:52 +03:00
Alexey Milovidov
2a7ae8f622
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer
2023-06-30 12:16:49 +03:00
Alexey Milovidov
93578c5003
Merge branch 'master' into qemu-chroot-fixes
2023-06-30 12:16:30 +03:00
Robert Schulze
6872084051
Merge pull request #50949 from georgthegreat/update-re2
...
Update contrib/re2 to 2023-06-02
2023-06-30 10:40:17 +02:00
Alexey Milovidov
1e6f6b522c
Merge pull request #51180 from ClickHouse/update-tests-docker
...
Update tests' docker containers
2023-06-30 11:24:59 +03:00
Antonio Andelic
3b7f6a4324
Merge pull request #50796 from ClickHouse/keeper-add-api-version-config
...
Add feature flags for Keeper API
2023-06-30 09:20:52 +02:00
Sema Checherinda
e724397d13
Merge branch 'master' into less-logs-2
2023-06-30 08:02:22 +02:00
Sema Checherinda
2a1f34e3f9
Merge branch 'master' into no-finalize-WriteBufferFromOStream
2023-06-30 08:01:05 +02:00
Manas Alekar
3c4491b706
Ignore APPEND and TRUNCATE modifiers if file does not exist.
2023-06-29 14:31:40 -07:00
Alexey Milovidov
cf60f45885
Merge branch 'master' into add-test-43358
2023-06-29 23:14:08 +03:00
Alexey Milovidov
9a9f992489
Merge branch 'master' into no-finalize-WriteBufferFromOStream
2023-06-29 23:13:32 +03:00
Alexey Milovidov
068b2b6ab9
Merge branch 'master' into vdimir/test_alter_moving_garbage_51342
2023-06-29 23:12:25 +03:00
Alexey Milovidov
2474fc0b9f
Merge branch 'master' into qemu-chroot-fixes
2023-06-29 22:38:09 +03:00
Alexey Milovidov
b6a37fbf18
Merge branch 'master' into many-fixes-2
2023-06-29 22:36:33 +03:00
kssenii
7a98e2b1cd
Merge remote-tracking branch 'upstream/master' into min-file-segment-size
2023-06-29 19:36:13 +02:00
kssenii
f12c257dc9
Fix
2023-06-29 19:25:46 +02:00
Alexander Tokmakov
a28728b7e5
Update DatabaseReplicatedWorker.cpp
...
(cherry picked from commit 43fc1af1b3
)
2023-06-29 19:04:49 +02:00
Ilya Yatsishin
fe43b4d62f
Merge pull request #51499 from ClickHouse/qoega-patch-5
...
Fix segfault in MathUnary
2023-06-29 18:23:33 +02:00
Kseniia Sumarokova
65ecf79a0f
Update getOrCreateDiskFromAST.cpp
2023-06-29 17:52:59 +02:00
Kseniia Sumarokova
4b9fa5bab3
Merge branch 'master' into minor-fix-cache
2023-06-29 17:06:08 +02:00
kssenii
44246363e2
Fix test
2023-06-29 15:37:36 +02:00
Vitaly Baranov
0cccba62cf
Support getHexUIntLowercase() with CityHash_v1_0_2::uint128 parameter.
2023-06-29 15:29:37 +02:00
Kseniia Sumarokova
2a4cfeb01b
Add comment
2023-06-29 15:27:40 +02:00
vdimir
4581526af7
Remove has_null_map template parameter from hash join
2023-06-29 13:24:55 +00:00
vdimir
c43acc6f90
better fix
2023-06-29 13:19:04 +00:00
Alexander Tokmakov
bac126fe3e
fix
2023-06-29 15:11:02 +02:00
vdimir
f1d6954637
Fix logical error in ANTI join with NULL
2023-06-29 13:09:55 +00:00
kssenii
b56d1602e8
Invalidate opened file cache when removing file
2023-06-29 14:25:13 +02:00
Alexander Tokmakov
66b6f61aa8
Merge pull request #51563 from ClickHouse/tavplubix-patch-6
...
Try to fix deadlock in ZooKeeper client
2023-06-29 15:03:04 +03:00
Kseniia Sumarokova
f73d878632
Update src/Disks/getOrCreateDiskFromAST.cpp
...
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2023-06-29 13:31:41 +02:00
Ilya Yatsishin
32d00dc88f
Merge branch 'master' into qoega-patch-5
2023-06-29 13:30:47 +02:00
kssenii
306ca66eb4
Fix
2023-06-29 13:11:22 +02:00
kssenii
4ba334c983
Review fix
2023-06-29 13:01:31 +02:00
Sema Checherinda
919bf54294
fix race condition
2023-06-29 12:38:46 +02:00
Vitaly Baranov
fb6243ec9d
Merge pull request #51040 from vitlibar/reorder-part-checksum-halves
...
Show halves of checksums in correct order
2023-06-29 12:04:51 +02:00
xiaolei565
d3d3a215ed
Merge branch 'master' into xuelei_dev
2023-06-29 17:37:56 +08:00
Antonio Andelic
6e1aec6e0b
Merge branch 'master' into keeper-add-api-version-config
2023-06-29 11:36:49 +02:00
Alexey Milovidov
efb901245b
Merge branch 'master' into ft-thread-scheduling-stacktrace
2023-06-29 11:38:54 +03:00
Igor Nikonov
18cb040342
Merge pull request #51540 from ClickHouse/fix_hash_dict_detach_thread
...
Fix FATAL: query context is not detached from thread group
2023-06-29 10:36:03 +02:00
Igor Nikonov
a8aa6b55d1
Merge branch 'master' into fix_hash_dict_detach_thread
2023-06-29 10:35:09 +02:00
Igor Nikonov
def0adf8f4
Merge branch 'master' into many-fixes-2
2023-06-29 10:33:59 +02:00
Alexey Milovidov
a4d7e48bc9
Merge branch 'master' into resubmit-51149
2023-06-29 11:07:01 +03:00
Alexey Milovidov
0c697b920f
Remove the usage of Analyzer setting in the client
2023-06-29 06:58:53 +02:00
Alexey Milovidov
b6ca956480
Merge branch 'master' into qemu-chroot-fixes
2023-06-29 07:52:08 +03:00
Yuriy Chernyshov
19676e3a92
Merge branch 'master' into update-re2
2023-06-29 00:40:31 +02:00
Alexander Tokmakov
b27cf4e7ba
fix
2023-06-29 00:15:45 +02:00
Alexander Tokmakov
45232770e0
Try to fix deadlock in ZooKeeper client
2023-06-29 00:41:23 +03:00
Alexander Tokmakov
296f9968c0
fix
2023-06-28 23:20:02 +02:00
xiaolei565
9f7df81a5c
Merge branch 'master' into xuelei_dev
2023-06-29 04:52:15 +08:00
Mikhail f. Shiryaev
f728f97350
Add cgroupsv2 for getCGroupLimitedCPUCores
2023-06-28 22:19:44 +02:00
Yakov Olkhovskiy
8854f05a75
style fix
2023-06-28 19:53:49 +00:00
Robert Schulze
5b78b3903b
Fix logical error in tupleElement()
2023-06-28 18:35:33 +00:00
Robert Schulze
bf54fb4caa
tupleElement(): Return default value for out-of-bounds-index
...
Makes the actual and the documented behavior consistent.
2023-06-28 18:35:32 +00:00
Robert Schulze
eea3c39959
Cosmetics
2023-06-28 18:35:27 +00:00
Nikolai Kochetov
e78f3389b7
Merge branch 'master' into fix-creating-set-for-storage-fuzz
2023-06-28 19:27:50 +02:00
robot-ch-test-poll4
aa514dc846
Merge pull request #50551 from ClickHouse/fix-ip-aggregate-state
...
Fix backward compatibility for IP types hashing in aggregate functions
2023-06-28 19:24:04 +02:00
Sema Checherinda
29efeb5547
Merge branch 'master' into less-logs-2
2023-06-28 19:20:14 +02:00
Azat Khuzhin
2a12fb4246
Initialize weight/slot_to_shards for cluster not from xml correcty
...
This is:
- clusterAllReplicas
- copier
- some distributed cases
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-28 19:07:14 +02:00
Azat Khuzhin
c9adfe1efd
Prohibit cluster with zero weight across all shards
...
Before it leads to SIGSEGV, due to either divizion by zero or an
a check in libdivide.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-28 19:07:14 +02:00
Azat Khuzhin
7f8ad3d5cb
Convert assert to LOGICAL_ERROR in createBlockSelector() for zero weight
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-28 19:06:31 +02:00
kssenii
39f8b92e24
Allow to add disk name for custom disk
2023-06-28 19:05:35 +02:00
Igor Nikonov
56354b7251
Fix yet another place
2023-06-28 16:55:22 +00:00
Alexander Tokmakov
372f5786c4
more optimal REPLACE_RANGE with zero-copy
2023-06-28 18:44:54 +02:00
kssenii
1d78bafa82
Flexible drop cache
2023-06-28 18:44:47 +02:00
Alexander Tokmakov
594ec09edf
fix missing metadata_version.txt
2023-06-28 18:19:16 +02:00
Vitaly Baranov
5570863676
Merge branch 'master' into reorder-part-checksum-halves
2023-06-28 17:25:34 +02:00
Sema Checherinda
ecea5da70c
Merge branch 'master' into no-finalize-WriteBufferFromOStream
2023-06-28 17:04:25 +02:00
Igor Nikonov
0b19c1832a
Fix: detach from thread group
2023-06-28 14:15:03 +00:00
Alexey Milovidov
3006113e4d
Merge branch 'master' into add-test-43358
2023-06-28 17:05:51 +03:00
Ilya Yatsishin
fe6031e480
Merge branch 'master' into qoega-patch-5
2023-06-28 16:02:38 +02:00
Alexey Milovidov
a399431977
Update StoragePolicy.cpp
2023-06-28 16:40:57 +03:00
kssenii
15f64a7cb9
Add some checks
2023-06-28 15:27:10 +02:00
Kseniia Sumarokova
5a1bbe5a8d
Update CachedOnDiskReadBufferFromFile.cpp
2023-06-28 14:05:14 +02:00
xuelei
112310e98f
fix storage policy prompt display error
2023-06-28 19:17:53 +08:00
xuelei
2707d06645
Merge branch 'master' of https://ghproxy.com/https://github.com/xiaolei565/ClickHouse into xuelei_dev
2023-06-28 18:39:34 +08:00
Nikolai Kochetov
a029105fd5
Fix duplicate storage set logical error.
2023-06-28 10:35:19 +00:00
Nikita Mikhaylov
b8b0fd3abf
Slightly better code around packets for parallel replicas ( #51451 )
2023-06-28 12:30:15 +02:00
Alexey Milovidov
34f0ec0ab3
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer
2023-06-28 13:23:36 +03:00
Kseniia Sumarokova
0c1f24db77
Add a comment ( #51517 )
...
* Add a comment
* Update DatabaseCatalog.cpp
2023-06-28 13:13:16 +03:00
Alexey Milovidov
e3189e29f7
Allow running in a stripped chroot
2023-06-28 11:56:11 +02:00
vdimir
e2241b8c7c
Merge branch 'grace_hash_join_debug_2306' into many-fixes-2
2023-06-28 09:35:20 +00:00
Sema Checherinda
1596b09dc2
add missing finalize calls
2023-06-28 10:51:54 +02:00
Alexander Tokmakov
0d6c7ffb30
Merge remote-tracking branch 'ch/evillique-patch-1' into many-fixes-2
2023-06-28 10:45:11 +02:00
Alexey Milovidov
7e6d606b1c
Remove bad code and fix a bug
2023-06-28 10:41:39 +02:00
xuelei
68ac4d8cc9
fix storage policy prompt display error
2023-06-28 16:31:57 +08:00
Antonio Andelic
eff1cc0e5d
Remove unused errorcode
2023-06-28 10:20:33 +02:00
Antonio Andelic
be852d554b
Use magic_enum for values
2023-06-28 07:45:20 +00:00
李扬
748cd13fc3
Merge branch 'master' into improve_geohash
2023-06-28 15:02:05 +08:00
robot-clickhouse-ci-1
73fb47e81f
Merge pull request #51479 from kssenii/delay-shutdown-of-temporary-database
...
Delay shutdown of system and temporary databases
2023-06-28 06:20:46 +02:00
Yakov Olkhovskiy
6e769237a7
added setting 'enable_job_stack_trace', default is off
2023-06-28 01:39:06 +00:00
Nikita Taranov
e2f20ea0e2
fix
2023-06-28 00:30:51 +02:00
Alexander Tokmakov
1ed104417a
fix race between executeMetadataAlter and initializeReplication
...
(cherry picked from commit 1d47783e85
)
2023-06-27 23:24:02 +02:00
Alexey Milovidov
a00b785291
Merge branch 'master' into sunny19930321-fix-attach-table-function-name-normalizer
2023-06-27 22:53:38 +03:00
Nikita Taranov
13854e5259
impl
2023-06-27 21:09:00 +02:00
Nikita Mikhaylov
95d569e563
Merge pull request #51480 from vitlibar/fix-memory-leakage-in-compression-codec-deflate-qpl
...
Fix memory leakage in CompressionCodecDeflateQpl
2023-06-27 21:00:40 +02:00
serxa
7583da9b38
fix
2023-06-27 18:48:54 +00:00
Alexander Tokmakov
f5327e79bb
fix a logical error on mutation
2023-06-27 20:18:38 +02:00
Nikita Mikhaylov
48e8475511
Merge pull request #51484 from kssenii/try-data-race-in-bounded-read-buffer
...
Fix race in BoundedReadBuffer
2023-06-27 19:51:09 +02:00
Ilya Yatsishin
d3b8b454f8
Fix segfault in MathUnary
2023-06-27 19:19:58 +02:00
vdimir
0b6d367bdb
Parts mover: lock between getActiveContainingPart and swapActivePart
2023-06-27 17:14:49 +00:00
serxa
40f721ae4f
fix possible race on shutdown wait
2023-06-27 17:14:33 +00:00
Sema Checherinda
d6f1e4b527
Merge branch 'master' into no-finalize-WriteBufferFromOStream
2023-06-27 19:02:27 +02:00
Nikita Mikhaylov
c22b1d3612
Merge pull request #51485 from kssenii/fix-flaky-unit-test
...
Fix flaky unit test
2023-06-27 18:46:12 +02:00
Dmitry Kardymon
e34597e43d
Fix tabulation
2023-06-27 18:36:32 +03:00
Sema Checherinda
fe97021929
add missing finalize calls in buffers
2023-06-27 16:54:14 +02:00
kssenii
b8866e0128
Fix flaky unit test
2023-06-27 16:11:51 +02:00
kssenii
648b647f5f
Fix race
2023-06-27 15:54:06 +02:00
Vitaly Baranov
89de7a64eb
Fix memory leakage in CompressionCodecDeflateQpl.
2023-06-27 15:06:31 +02:00
kssenii
46a69829ff
Delay shutdown of system and temporary databases
2023-06-27 15:05:15 +02:00
Igor Nikonov
d4c8021f80
Extend consistency check for ColumnObject
...
+ check that there arer subcolumns when there are rows
2023-06-27 12:41:21 +00:00
Nikita Mikhaylov
d24c5ab01f
Merge branch 'master' into fix-ip-aggregate-state
2023-06-27 14:11:26 +02:00
Sema Checherinda
749750668e
Merge branch 'master' into less-logs-2
2023-06-27 14:01:07 +02:00
Nikita Mikhaylov
dc0dc227e0
Merge pull request #51455 from ClickHouse/many-fixes
...
Many fixes
2023-06-27 13:57:17 +02:00
Kseniia Sumarokova
817a62b7cf
Merge branch 'master' into minor-changes-cached-buffer
2023-06-27 13:02:37 +02:00
Kseniia Sumarokova
6b06cbe106
Merge branch 'master' into add-checks-for-intersecting-ranges
2023-06-27 12:55:26 +02:00
Vitaly Baranov
1ae51ffa7b
Merge branch 'master' into fix-using-locks-in-process-list
2023-06-27 12:19:02 +02:00
Antonio Andelic
efbe01b6bb
Merge branch 'master' into keeper-add-api-version-config
2023-06-27 10:11:04 +00:00
SmitaRKulkarni
dcf581a985
Merge pull request #50936 from ClickHouse/Fix_race_azure_blob_storage_iterator
...
Fix race azure blob storage iterator
2023-06-27 09:27:45 +02:00
Dmitry Kardymon
8ad1d4b94f
Add comment
2023-06-27 06:31:30 +00:00
Alexey Milovidov
8610ff828e
Merge branch 'fix-attach-table-function-name-normalizer' of github.com:sunny19930321/ClickHouse into sunny19930321-fix-attach-table-function-name-normalizer
2023-06-27 07:58:42 +02:00
Alexey Milovidov
8c38d10bb4
A fix for clang-17
2023-06-27 05:49:03 +02:00
Alexey Milovidov
b5635887c3
Merge remote-tracking branch 'origin/refactor-subqueries-for-in' into many-fixes
2023-06-27 05:39:44 +02:00
Alexey Milovidov
19c054ea21
Merge branch 'fix-using-locks-in-process-list' of github.com:vitlibar/ClickHouse into many-fixes
2023-06-27 05:37:05 +02:00
Alexey Milovidov
ccbcbe3349
Merge remote-tracking branch 'origin/tavplubix-patch-6' into many-fixes
2023-06-27 05:33:29 +02:00
Alexey Milovidov
a686833f8e
Merge branch 'fix-logical-error-address-to-line-with-inlines' into many-fixes
2023-06-27 05:26:05 +02:00
Alexey Milovidov
4615aaacb6
Merge branch 'revert-50951' into many-fixes
2023-06-27 05:23:46 +02:00
Alexey Milovidov
d996dba7c3
Merge branch 'fix-msan-lower-upper' into many-fixes
2023-06-27 05:20:45 +02:00
Alexey Milovidov
b67a621af5
Merge branch 'disable-compile-expressions' into many-fixes
2023-06-27 05:20:29 +02:00
Alexey Milovidov
1d55be0bdc
Merge branch 'replace-trycatch' of github.com:rschu1ze/ClickHouse into many-fixes
2023-06-27 05:19:06 +02:00
Alexey Milovidov
e81b418137
Merge branch 'remove-siphash64-reference-keyed' into many-fixes
2023-06-27 05:16:37 +02:00
Alexey Milovidov
93884f4d34
Merge branch 'generic-transform' into many-fixes
2023-06-27 05:16:16 +02:00
李扬
25d984e2f2
Merge branch 'master' into improve_geohash
2023-06-27 10:05:02 +08:00
Vitaly Baranov
c01d5ed004
Fix after review.
2023-06-27 00:27:51 +02:00
kssenii
72e407eb06
Better
2023-06-26 20:40:18 +02:00
kssenii
01607f0b32
Add check for intersecting ranges
2023-06-26 20:21:25 +02:00
Robert Schulze
61136680e4
Update src/Common/StringSearcher.h
...
Co-authored-by: ltrk2 <107155950+ltrk2@users.noreply.github.com>
2023-06-26 20:05:58 +02:00
Robert Schulze
1ed33b1936
Update src/Common/StringSearcher.h
...
Co-authored-by: ltrk2 <107155950+ltrk2@users.noreply.github.com>
2023-06-26 19:22:46 +02:00
Robert Schulze
d8cee8a34c
Fix style
2023-06-26 19:00:25 +02:00
kssenii
a1eb27ce30
Update log message
2023-06-26 18:12:41 +02:00
Kseniia Sumarokova
4da82d10d0
Update gtest_lru_file_cache.cpp
2023-06-26 17:57:46 +02:00
Robert Schulze
45c263cbb5
Replace try/catch logic in hasTokenOrNull() by sth more lightweight
2023-06-26 15:06:58 +00:00
Robert Schulze
fae545ae5c
Merge pull request #51132 from rschu1ze/inefficient-query-cache
...
Fix ineffective query cache for SELECTs with subqueries
2023-06-26 16:54:54 +02:00
Sema Checherinda
047f656980
add explicit finalize calls
2023-06-26 15:04:50 +02:00
lgbo-ustc
179a7ce202
debug
2023-06-26 20:43:19 +08:00
Nikolai Kochetov
4bfe75ce81
Merge branch 'master' into set-index-nullable-atoms
2023-06-26 14:34:42 +02:00
kssenii
7d8d19d800
Add test
2023-06-26 14:31:05 +02:00
Alexander Tokmakov
eb649873b3
Unify merge predicate ( #51344 )
...
* unify merge predicate
* Update BaseDaemon.cpp
2023-06-26 13:48:21 +03:00
Alexander Tokmakov
e92035072b
Update MergeTreeTransaction.cpp
2023-06-26 13:44:09 +03:00
kssenii
1f60a6ed4e
Fix
2023-06-26 12:34:11 +02:00
Sema Checherinda
ae08fb2019
no finalize in d-tor WriteBufferFromOStream
2023-06-26 12:02:09 +02:00
Dmitry Kardymon
c85ade9c27
Add const multiplier
2023-06-26 07:44:19 +00:00
李扬
0e15266170
Merge branch 'master' into improve_geohash
2023-06-26 14:54:44 +08:00
Sema Checherinda
91c374fcd2
Merge branch 'master' into less-logs-2
2023-06-26 07:55:23 +02:00
Alexey Milovidov
8e6f665585
Fix build
2023-06-26 05:57:38 +02:00
Alexey Milovidov
b8e6bd3299
Merge branch 'master' into refactor-subqueries-for-in
2023-06-26 06:05:12 +03:00
Alexey Milovidov
477b707ff1
Revert "Merge pull request #50951 from ZhiguoZh/20230607-toyear-fix"
...
This reverts commit 6bbd0d144d
, reversing
changes made to 74cb79769b
.
2023-06-26 02:02:24 +02:00
Nikolay Degterinsky
4b02d83999
Merge pull request #50950 from alekar/improve-outfile
...
Address some usability issues with INTO OUTFILE usage.
2023-06-25 18:40:55 +02:00
Vitaly Baranov
f1f0daa654
Show halves of checksums in "system.parts", "system.projection_parts" and error messages in the correct order.
2023-06-25 17:17:56 +02:00
Yakov Olkhovskiy
cc3d27c0a3
clang-tidy fix
2023-06-25 15:14:29 +00:00
Sema Checherinda
79a03432bf
add test, add comment
2023-06-25 13:27:07 +02:00
Alexey Milovidov
071cd58be8
Fix "logical error" in addressToLineWithInlines
2023-06-25 08:31:02 +02:00
Yakov Olkhovskiy
535fef97d5
clang-tidy fix
2023-06-25 04:44:21 +00:00
Alexey Milovidov
650e80663c
Fix MSan report in lowerUTF8/upperUTF8
2023-06-25 05:59:02 +02:00
Alexey Milovidov
d84a4626b0
Disable "compile_expressions" setting by default
2023-06-25 03:22:59 +02:00
Yakov Olkhovskiy
71678f64b1
Merge pull request #49759 from ClickHouse/cast-ipv6-to-ipv4
...
Allow to cast IPv6 to IPv4 for address in proper mapping block
2023-06-24 17:33:15 -04:00
Alexey Milovidov
3ed86867f8
Remove sipHash128ReferenceKeyed
2023-06-24 23:06:13 +02:00
Azat Khuzhin
59f11863d7
Simplify settings overrides or clickhouse-local
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-24 23:42:31 +03:00
Azat Khuzhin
a7b14f87e0
Throw an error instead of silenty ignore storage_file_read_method=mmap in server
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-24 23:42:31 +03:00
Azat Khuzhin
0c7a4142e4
Use separate default settings for clickhouse-local
...
There are already two of them:
- storage_file_read_method can use mmap method for clickhouse-local
- there is no sense in disabling allow_introspection_functions for
clickhouse-local since it can hurt only itself
And likely there will be more, once the infrastructure will be there.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-06-24 23:42:31 +03:00
Yuriy Chernyshov
3e6654a1fe
Merge branch 'master' into update-re2
2023-06-24 22:34:44 +02:00
Yakov Olkhovskiy
e0485778f5
style fix
2023-06-24 19:37:00 +00:00
Alexey Milovidov
cca3f9937c
Merge branch 'master' into retry
2023-06-24 22:29:17 +03:00
Yakov Olkhovskiy
f11e1c25ee
added to fatal errors handler, added comments
2023-06-24 17:24:54 +00:00
Alexander Gololobov
18bab6fee9
Merge pull request #51347 from ClickHouse/speedup_datelut_init
...
Speedup DateLUT initialization
2023-06-24 13:57:35 +02:00
Vitaly Baranov
3711430d9f
Rename member fields of CityHash_v1_0_2::uint128: "first" -> "low64", "second" -> "high64".
2023-06-24 12:25:56 +02:00
Alexey Milovidov
2c69cff589
Merge branch 'master' into set-index-nullable-atoms
2023-06-24 10:18:20 +03:00
Alexey Milovidov
a7febd1c13
Backward compatibility
2023-06-24 08:28:23 +02:00
Alexey Milovidov
ed3ead3493
Add support for Nullable
2023-06-24 07:23:17 +02:00