Vitaly Baranov
815a3857de
Remove non-const function Context::getClientInfo().
2023-07-17 15:02:07 +02:00
kssenii
9c66655288
Fix tests
2023-07-17 15:01:58 +02:00
Han Fei
68751b88f3
change comments
2023-07-17 15:01:48 +02:00
Val Doroshchuk
4da0782e55
MaterializedMySQL: Add tests to parse db and table names from DDL
2023-07-17 15:01:06 +02:00
Vitaly Baranov
0e4b75a282
Avoid keeping lock Context::getLock() while calculating access rights when a user logs in.
2023-07-17 14:59:14 +02:00
Vitaly Baranov
018546a57d
Avoid keeping lock Context::getLock() while recalculating access rights of a connected user.
2023-07-17 14:59:14 +02:00
Han Fei
b75c4ae2e5
Merge branch 'master' into hanfei/support-insert-token
2023-07-17 14:57:48 +02:00
Antonio Andelic
db1b172770
Merge pull request #52201 from ClickHouse/fix-flaky-checks
...
Fix `Integration tests flaky check (asan)`
2023-07-17 14:24:05 +02:00
robot-clickhouse
71e8465663
Automatic style fix
2023-07-17 12:09:36 +00:00
kevinyhzou
355faa4251
ci fix
2023-07-17 20:08:32 +08:00
Robert Schulze
67e9de14de
Merge pull request #51637 from ClibMouse/feature/grouparray-aggregate-function-big-endian
...
Implement endianness-independent serialization
2023-07-17 14:07:13 +02:00
Robert Schulze
a2e63404b3
Further simplify logic
2023-07-17 12:01:41 +00:00
Alexander Sapin
2993cf3cba
Fix flaky test test_lost_part
2023-07-17 14:01:31 +02:00
Antonio Andelic
152f5527a9
Remove wrong assert
2023-07-17 11:58:22 +00:00
Robert Schulze
96c399ff7b
Simplify a bit further
2023-07-17 11:58:18 +00:00
Raúl Marín
496aaf58c8
Make clang-tidy happy
2023-07-17 13:55:14 +02:00
Robert Schulze
8f1e56167c
NUMBER_OF_TOTAL_CORES is on all platforms != 0
2023-07-17 11:53:12 +00:00
Robert Schulze
7204f70547
cmake_host_system_information provides TOTAL_PHYSICAL_MEMORY on all platforms, including FreeBSD
2023-07-17 11:52:23 +00:00
robot-ch-test-poll2
7f960c2379
Merge pull request #51160 from Algunenano/async_to_query_log
...
Log async insert flush queries into to system.query_log and system.processes
2023-07-17 13:49:22 +02:00
Kseniia Sumarokova
a110c87985
Update 02240_filesystem_cache_bypass_cache_threshold.reference
2023-07-17 13:46:04 +02:00
Nikita Mikhaylov
fa137f283c
Merge pull request #51736 from ClickHouse/oss-fuzz-fixes
...
Fixed several issues found by OSS-Fuzz
2023-07-17 13:44:48 +02:00
Nikita Mikhaylov
d04f39370a
Merge branch 'master' into oss-fuzz-fixes
2023-07-17 13:41:54 +02:00
Kruglov Pavel
9ac1a9c556
Merge branch 'master' into async-connect-to-multiple-ips
2023-07-17 13:40:36 +02:00
Robert Schulze
10c15a6548
Refactor limit_jobs.cmake
2023-07-17 11:37:34 +00:00
robot-ch-test-poll1
89a33c5879
Merge pull request #52176 from FFFFFFFHHHHHHH/add_length_alias
...
Add OCTET_LENGTH as an alias to length
2023-07-17 13:34:01 +02:00
Yatsishin Ilya
5b853c1958
Make ASTFuzzer happy
2023-07-17 11:32:22 +00:00
Azat Khuzhin
1fb7605fb4
Fix self extracting binaries under qemu linux-user (qemu-$ARCH-static)
...
The problem was that the decompressor uses realpath(/proc/self/exe)
instead of readlink(/proc/self/exe), while realpath() does lots of
trickerly [1] which leads to bypassing qemu linux-user override [2] of
/proc/self/exe to the executable with with it had been called -- and
the reason for this is that the getpid() after unshare returns 1, while
reading /proc/self returns the pid that was before unshare (from the
chroot) [3].
[1]: 4290aed051/stdlib/canonicalize.c (L223)
[2]: ed8ad9728a/linux-user/syscall.c (L8634)
[3]: https://gist.github.com/azat/fcbd8b6c26afd505ae5f3387fc15f0e2
But note, that even after this patch qemu without binfmt will not work,
due to internally the code calls execv() while qemu does not handle it
(see [4]).
[4]: https://patchwork.kernel.org/project/qemu-devel/patch/1453091602-21843-1-git-send-email-petrosagg@gmail.com/
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-17 13:10:40 +02:00
Azat Khuzhin
16165d9498
Improve error messages for decompressor
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-17 13:10:40 +02:00
Azat Khuzhin
c374653c7b
Revert "Merge pull request #52138 from azat/decompressor-inode"
...
This reverts commit 6524031348
, reversing
changes made to 9bf114f9a3
.
This was not a good idea, since the underlying problem was that
`/proc/self/exe` was pointing to `qemu-$ARCH-static` (because the code
uses realpath() over normal interface readlink(), which is not caught by
the qemu linux-user).
And this means that later, it will try to overwrite incorrect binary and
then execute some garbage.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-17 13:10:29 +02:00
Alexander Sapin
477b8f04b6
Fix sticky mutations test (and extremely rare race condition)
2023-07-17 13:09:34 +02:00
Kruglov Pavel
df363f444e
Merge pull request #51767 from arenadata/Support-range-nullable
...
Support for function range of Nullable argument
2023-07-17 12:52:19 +02:00
Ilya Yatsishin
65eb937f68
Merge pull request #51765 from arenadata/ADQM-974
...
Allow toUInt128() for UUIDs
2023-07-17 12:50:37 +02:00
Antonio Andelic
61dc020b4d
Merge branch 'master' into feature/keeper-dyn-reconf
2023-07-17 12:50:17 +02:00
Antonio Andelic
9677cc5e2b
Apply suggestions from code review
2023-07-17 12:50:02 +02:00
Robert Schulze
9d7737ba09
Merge pull request #50076 from FFFFFFFHHHHHHH/jaccard_similarity
...
Add function arrayJaccardIndex
2023-07-17 12:22:24 +02:00
robot-ch-test-poll4
036fb1fc9b
Merge pull request #52041 from ClickHouse/docs-organize-user-profiles
...
Docs organize user setting profiles
2023-07-17 12:03:06 +02:00
Raúl Marín
41bdcdabfa
Create ZK ancestors optimistically
2023-07-17 12:02:32 +02:00
Kseniia Sumarokova
200dfc24b6
Merge branch 'master' into fix-pg-sync-tables-exception-broken-sync
2023-07-17 11:53:42 +02:00
kssenii
09d8ca0a40
Update
2023-07-17 11:30:21 +02:00
kssenii
9d645488c6
Merge remote-tracking branch 'upstream/master' into fix-assertions-4
2023-07-17 11:29:37 +02:00
kssenii
1e984da9e6
Fix
2023-07-17 11:26:58 +02:00
Val Doroshchuk
9d396f820a
Merge branch 'master' into disconnect-on-dtor
2023-07-17 10:58:43 +02:00
Antonio Andelic
dfc1cc13c8
Better oldest part selection
2023-07-17 08:57:22 +00:00
Sergei Trifonov
381ab07e1b
Merge pull request #51496 from yariks5s/add-index-bytes-to-system-parts
...
Add column primary_key_size to system.parts
2023-07-17 10:39:56 +02:00
Duc Canh Le
0917cf0588
disable direct join for range dictionary
2023-07-17 08:16:58 +00:00
Lloyd-Pottiger
3636c2a847
Merge branch 'master' into add-alias-for-today-and-now
2023-07-17 14:28:24 +08:00
Dmitry Kardymon
708b980d69
Fix arg name to fix build
2023-07-17 05:36:24 +00:00
Dmitry Kardymon
0353eb1f45
add timezone to datediff() to fix other bug
2023-07-17 05:05:33 +00:00
Alexey Milovidov
44929b7d28
Merge pull request #52154 from ClickHouse/fix-02497_storage_file_reader_selection
...
Fix test 02497_storage_file_reader_selection
2023-07-17 06:45:48 +03:00
FFFFFFFHHHHHHH
3df812f4f0
fix
2023-07-17 11:18:30 +08:00