Commit Graph

141592 Commits

Author SHA1 Message Date
qiangxuhui
eb96f19e48 Add support for building with openssl for loongarch64 2024-05-14 07:45:57 +00:00
qiangxuhui
97a5de9653 Initial support for loongarch64
Make ClickHouse compilable and runnable on loongarch64

So far only basic functionality was tested (on real hw),
clickhouse server runs, exceptions works, client works,
simple tests works.
2024-05-14 07:45:26 +00:00
Michael Kolupaev
0fd52c36c6
Merge pull request #61632 from bigo-sg/opt_string_ascii
Process string functions XXXUTF8 'asciily' if input strings are all ascii chars
2024-05-13 22:13:01 +00:00
Nikolai Kochetov
ebd0865fb0
Merge pull request #62922 from ClickHouse/more-cases-for-group-by-use-nulls
group_by_use_nulls strikes back
2024-05-13 18:00:33 +00:00
Kruglov Pavel
67cf40810a
Merge pull request #63690 from mneedham/patch-3
Explain map insertion order
2024-05-13 13:49:39 +00:00
Nikolai Kochetov
bb9652998b Another attemtp. 2024-05-13 12:26:10 +00:00
Mark Needham
13b2980761
Explain map insertion order 2024-05-13 11:59:47 +01:00
Vitaly Baranov
6c0450f8ff
Merge pull request #62685 from azat/yaml-cpp-merge-key
Bump yaml-cpp for YAML Merge Key support
2024-05-13 09:49:25 +00:00
Alexey Milovidov
f27a0d6801
Merge pull request #60469 from ClickHouse/clang-18-ci
Use clang-18 in CI
2024-05-13 09:35:45 +02:00
Alexey Milovidov
4eb42bba8f Fix test 2024-05-13 07:16:26 +02:00
Alexey Milovidov
b3e6259a3c Fix test 2024-05-13 02:41:14 +02:00
Alexey Milovidov
2d138d3d7e
Merge pull request #63674 from nickitat/remove_monotonous_func_optimisation_leftovers
Remove leftovers of `optimize_monotonous_functions_in_order_by`
2024-05-12 22:29:52 +00:00
Alexey Milovidov
9c21066c9b Useless changes 2024-05-13 00:26:18 +02:00
Alexey Milovidov
034256b405 Fix test 2024-05-13 00:25:29 +02:00
Alexey Milovidov
c2caaf007c Merge branch 'master' into clang-18-ci 2024-05-13 00:24:06 +02:00
Alexey Milovidov
7cb10c19f9
Merge pull request #63672 from ClickHouse/fix-test-part_log_bytes_uncompressed
Fix bad test `02950_part_log_bytes_uncompressed`
2024-05-12 20:13:14 +00:00
Nikita Taranov
68d9e55302 impl 2024-05-12 20:38:43 +01:00
Alexey Milovidov
bf31d12dc8 Fix bad test 02950_part_log_bytes_uncompressed 2024-05-12 18:54:57 +02:00
Alexey Milovidov
bf0040f383 Debug a test 2024-05-12 18:48:05 +02:00
Alexey Milovidov
c44e42dd7a Useless changes 2024-05-12 18:22:41 +02:00
Alexey Milovidov
24bddeedf9 Useless changes 2024-05-12 18:22:09 +02:00
Alexey Milovidov
fdf092f6b9
Merge pull request #63663 from xogoodnow/master
Update clickhouse-test help section
2024-05-12 15:46:27 +00:00
Alexey Milovidov
258eb72c8a Useless changes 2024-05-12 01:48:03 +02:00
Alexey Milovidov
23cf6d0d8b Useless changes 2024-05-11 22:51:57 +02:00
Ali
c86497831e
Merge pull request #1 from xogoodnow/xogoodnow-patch-1
Update clickhouse-test
2024-05-11 23:22:03 +03:30
Ali
65934b5651
Update clickhouse-test
Fixed a typo
2024-05-11 23:16:42 +03:30
Robert Schulze
3b49cccb7d
Merge pull request #63266 from Blargian/document_addXYZ
[Docs] update `addXYZ` functions
2024-05-11 19:21:10 +00:00
Robert Schulze
c9382252ae
Merge pull request #63520 from Blargian/document_isXYZ
[Docs] add missing `isXYZ` functions
2024-05-11 19:20:25 +00:00
Alexey Milovidov
eff0d7cb8b Merge branch 'master' of github.com:ClickHouse/ClickHouse into clang-18-ci 2024-05-11 14:15:38 +02:00
Alexey Milovidov
c4bb09d559 Fix error 2024-05-11 14:15:28 +02:00
Mikhail f. Shiryaev
f9a7a50fcf
Merge pull request #63123 from ClickHouse/ci_separate_wf_file_for_mq
CI: try separate the workflows file for GitHub's Merge Queue
2024-05-11 10:46:06 +00:00
Mikhail f. Shiryaev
afe37d6095
Bring back hmarr/debug-action as agreed in slack 2024-05-11 12:22:41 +02:00
taiyang-li
dd6774e9fe fix bugs 2024-05-11 11:03:51 +08:00
taiyang-li
f9d43c9a61 fix bugs 2024-05-11 10:58:24 +08:00
Michael Kolupaev
82e6a36bd4
Merge pull request #61966 from ClickHouse/constlc
Fix crash when calling some functions on const low-cardinality columns
2024-05-11 01:27:47 +00:00
Michael Kolupaev
302e56d916
Merge pull request #62104 from ClickHouse/iff
Fix optimize_if_chain_to_multiif const NULL handling
2024-05-11 01:26:47 +00:00
Alexey Milovidov
17b815bcf9 Support for non-constant level in URLHash 2024-05-11 02:38:26 +02:00
Alexey Milovidov
7e0981e2ba Merge branch 'master' of github.com:ClickHouse/ClickHouse into clang-18-ci 2024-05-11 02:12:32 +02:00
Alexey Milovidov
81e03b8613 Fix error 2024-05-11 02:12:17 +02:00
Alexey Milovidov
095b8ca635
Merge pull request #63635 from mstetsyuk/fix-02362-part-log-merge-algorithm
Fix `02362_part_log_merge_algorithm` flaky test
2024-05-10 23:57:29 +00:00
Alexey Milovidov
8b0599b10e
Merge pull request #63634 from azat/tests/log_and_exception_messages_formatting
Fixes for 00002_log_and_exception_messages_formatting
2024-05-10 23:52:58 +00:00
Alexey Milovidov
925714d03d
Merge pull request #63639 from azat/tests/02362_part_log_merge_algorithm
Fix tests flakiness due to long SYSTEM FLUSH LOGS (explicitly specify old_parts_lifetime)
2024-05-10 23:51:17 +00:00
Alexey Milovidov
a1e6d1a6a9 Merge branch 'master' of github.com:ClickHouse/ClickHouse into clang-18-ci 2024-05-11 00:42:14 +02:00
Michael Kolupaev
0323e4e178 Add 02944_variant_as_common_type_analyzer that is just like 02944_variant_as_common_type, but with different expected output 2024-05-10 22:37:35 +00:00
Michael Kolupaev
02fa09dd4c Preserve the non-analyzer behavior to fix a test 2024-05-10 22:37:35 +00:00
Michael Kolupaev
c1ea1726b4 Remove weird special case in if() return type inference, to match multiIf() 2024-05-10 22:37:35 +00:00
Michael Kolupaev
6d3d0cfbcc Revert the type change 2024-05-10 22:04:09 +00:00
Michael Kolupaev
95bdd81d26 Fix crash when calling some functions on const low-cardinality columns 2024-05-10 22:04:09 +00:00
Azat Khuzhin
83a62c1d7c Adjust old_parts_lifetime in 02362_part_log_merge_algorithm as well
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-10 23:00:18 +02:00
Azat Khuzhin
b849890d45 Fix 02362_part_log_merge_algorithm flakiness
SYSTEM FLUSH LOGS can take awhile, which leads to that some parts may be
removed in case of old_parts_lifetime randomized to 10 [1]:

    2024.05.10 21:17:49.920514 [ 14551 ] {c15b0b5e-a1d1-4c87-b983-61ab185d50c1} <Debug> executeQuery: (from [::1]:58902) (comment: 02362_part_log_merge_algorithm.sql) SYSTEM FLUSH LOGS; (stage: Complete)
    2024.05.10 21:17:59.216021 [ 1416 ] {} <Trace> test_9436z6sd.data_horizontal (80dc2a4b-5a0c-4e10-9956-2b0cc1fa0b49): Found 1 old parts to remove. Parts: [all_1_1_0]
    2024.05.10 21:17:59.216192 [ 1416 ] {} <Debug> test_9436z6sd.data_horizontal (80dc2a4b-5a0c-4e10-9956-2b0cc1fa0b49): Removing 1 parts from filesystem (serially): Parts: [all_1_1_0]
    2024.05.10 21:17:59.217760 [ 1416 ] {} <Debug> test_9436z6sd.data_horizontal (80dc2a4b-5a0c-4e10-9956-2b0cc1fa0b49): Removing 1 parts from memory: Parts: [all_1_1_0]
    2024.05.10 21:18:09.403934 [ 14551 ] {8e961419-d1d1-4c0b-b706-8a0b3cdbb1af} <Debug> executeQuery: (from [::1]:58902) (comment: 02362_part_log_merge_algorithm.sql) SELECT table, part_name, event_type, merge_algorithm FROM system.part_log WHERE event_date >= yesterday() AND database = currentDatabase() AND table = 'data_horizontal' ORDER BY event_time_microseconds; (stage: Complete)

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/63634/72f813a42067a94284bdac649751c52c056d53be/stateless_tests__debug__[1_5]/run.log

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-10 22:54:01 +02:00