Commit Graph

119498 Commits

Author SHA1 Message Date
alesapin
5fe90208cf
Merge branch 'master' into fix_flaky_test_lost_part 2023-07-18 14:43:18 +02:00
Ilya Yatsishin
73246b4788
Merge pull request #52056 from ClickHouse/ignore-create-index-query
Allow to ignore CREATE INDEX query for better SQL syntax compatibility
2023-07-18 14:40:38 +02:00
Nikolai Kochetov
58c5e91047
Merge pull request #52152 from amosbird/add_optimize_use_implicit_projections
Disable implicit projections by default
2023-07-18 14:32:04 +02:00
Nikita Mikhaylov
2aa339fb2c
Merge pull request #52227 from ClickHouse/slightly-better-diagnostics-2
Slightly better diagnostics in a test
2023-07-18 14:21:49 +02:00
Kruglov Pavel
37054e7b47
Merge pull request #51603 from Avogar/full-filename-placeholder
Add placeholder for full filename in rename_files_after_processing setting
2023-07-18 13:37:06 +02:00
Nikolai Kochetov
b542fe364a
Merge pull request #52223 from ClickHouse/rename-constants-in-key-condition
Fix 01889_key_condition_function_chains for analyzer.
2023-07-18 13:19:02 +02:00
Nikolai Kochetov
d69df6975f
Merge branch 'master' into add_optimize_use_implicit_projections 2023-07-18 13:17:12 +02:00
Nikolai Kochetov
83e9ec117c
Merge pull request #51481 from ClickHouse/fix-the-same-names-for-lift-up-functions-before-sorting
Fix optimization to move functions before sorting.
2023-07-18 12:34:51 +02:00
Nikolai Kochetov
008238be71
Merge pull request #52235 from ClickHouse/vdimir/02273_no_upgrade_check
Enable no-upgrade-check for 02273_full_sort_join
2023-07-18 12:16:54 +02:00
robot-ch-test-poll2
d816d8b92f
Merge pull request #52198 from azat/qemu-compressor
Fix self extracting binaries under qemu linux-user (qemu-$ARCH-static)
2023-07-18 12:02:47 +02:00
vdimir
dc55c8ed8e
Enable no-upgrade-check for 02273_full_sort_join 2023-07-18 09:54:33 +00:00
Amos Bird
c782689c2d
added to compatibility setting 2023-07-18 09:50:44 +08:00
Amos Bird
ef521fd6ce
Fix more tests 2023-07-18 09:50:43 +08:00
Amos Bird
796a92d9ab
Fix tests 2023-07-18 09:50:42 +08:00
Amos Bird
d8dd480cd7
Disable implicit projections by default 2023-07-18 09:50:41 +08:00
Alexey Milovidov
8a4f939e1a Slightly better diagnostics in tests 2023-07-18 02:37:50 +02:00
Alexey Milovidov
182d8b8f08 Remove useless header 2023-07-18 02:37:30 +02:00
Alexey Milovidov
5637c419bd
Merge pull request #52124 from ClickHouse/update-cctz-5
Update CCTZ
2023-07-18 03:29:52 +03:00
Alexey Milovidov
f4e095b502
Merge pull request #52149 from ucasfl/array_concat_agg
Add array_concat_agg for compatibility with BigQuery
2023-07-18 03:03:27 +03:00
Robert Schulze
46e03432a9
Merge pull request #52196 from rschu1ze/simplify-job-limiting
CMake: Simplify job limiting
2023-07-17 22:43:40 +02:00
robot-clickhouse-ci-1
2b1be4b89d
Merge pull request #52063 from valbok/disconnect-on-dtor
MySQL: Delay disconnection of mysqlxx::Pool::Entry until refcount==0
2023-07-17 22:29:58 +02:00
Nikolai Kochetov
a955d5621d Rename constants in KeyCondition analysis. 2023-07-17 18:53:12 +00:00
Kruglov Pavel
d3d0f101f7
Merge branch 'master' into full-filename-placeholder 2023-07-17 19:14:10 +02:00
Robert Schulze
1dbc88630d
Cosmetics 2023-07-17 17:10:08 +00:00
Alexey Milovidov
9f45513acf
Merge pull request #52173 from ClickHouse/fix-slow-test-02317_distinct_in_order_optimization
Fix slow test `02317_distinct_in_order_optimization`
2023-07-17 19:57:41 +03:00
Kruglov Pavel
2793305a71
Merge pull request #51825 from ucasfl/schema
Fix use_structure_from_insertion_table_in_table_functions does not work with materialized and alias columns
2023-07-17 18:25:54 +02:00
Nikita Mikhaylov
d4c8383627
Merge pull request #52216 from ClickHouse/revert-51736-oss-fuzz-fixes
Revert "Fixed several issues found by OSS-Fuzz"
2023-07-17 17:19:18 +02:00
Antonio Andelic
bfe349a7e4
Merge pull request #52189 from ClickHouse/fix-test_multiple_disks
Fix `test_multiple_disks/test.py::test_start_stop_moves`
2023-07-17 16:28:02 +02:00
Nikita Mikhaylov
2a2ebb1f31 Bump 2023-07-17 14:26:11 +00:00
Antonio Andelic
51f0089457
Merge branch 'master' into fix-test_multiple_disks 2023-07-17 16:25:06 +02:00
vdimir
5de1cfee7d
Merge pull request #51735 from arenadata/ADQM-976 2023-07-17 16:24:11 +02:00
Nikita Mikhaylov
9a30aaa9aa
Revert "Fixed several issues found by OSS-Fuzz" 2023-07-17 16:14:58 +02:00
Robert Schulze
8f8cb5eb82
Update cmake/limit_jobs.cmake
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-07-17 15:48:12 +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
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
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
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
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