Commit Graph

107890 Commits

Author SHA1 Message Date
Robert Schulze
690d873126
Merge pull request #46088 from ClickHouse/rs/fix-liburing-build
Fix build with `-DENABLE_LIBURING=0` (or `-DENABLE_LIBRARIES=0`)
2023-02-07 12:16:14 +01:00
Sergei Trifonov
950c04cb0e
Merge pull request #44907 from azat/dist/async-INSERT-error-message-fix
Fix error message for a broken distributed batches ("While sending batch")
2023-02-07 12:14:52 +01:00
Vitaly Baranov
f021c0eab6
Merge pull request #46058 from vitlibar/remove-unnecessary-execute-for-const-expr
Remove unnecessary execute() while evaluating a constant expression.
2023-02-07 12:09:37 +01:00
Robert Schulze
f9b6c10700
Merge pull request #46072 from ClickHouse/rs/follow-up-to-46057
Smallish follow-up to #46057
2023-02-07 11:52:51 +01:00
Azat Khuzhin
6587d11885 Check return value of close() in self-extracting-executable
And also add description into perror() over callign simply
perror(nullptr).

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-07 11:28:22 +01:00
Azat Khuzhin
8cc41b7f41 Check return value of ::close()
Note, that according close(2), EINTR should not be retriable for close()

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-07 11:28:22 +01:00
taiyang-li
f41f41c78c fix doc; enable int type for pad 2023-02-07 18:25:36 +08:00
Salvatore Mesoraca
b627e6d827
tests: add tests for sipHash128Reference{,Keyed} 2023-02-07 11:19:05 +01:00
Salvatore Mesoraca
aa4faae85d
docs: functions: hash: add doc for sipHash126Reference{,Keyed} 2023-02-07 11:19:04 +01:00
Salvatore Mesoraca
14acaa04a9
docs: functions: hash: fix wrong doc 2023-02-07 11:19:04 +01:00
Salvatore Mesoraca
970a4586a1
docs: functions: hash: add warning about sipHash128{,Keyed}
sipHash128{,Keyed} does not comply with the reference
implementation of SipHash and it's weaker then it should
2023-02-07 11:19:04 +01:00
Salvatore Mesoraca
476342602b
Functions: Hashing: add sipHash128Reference{,Keyed} 2023-02-07 11:19:04 +01:00
Salvatore Mesoraca
001b714d3e
Common: SipHash: add original 128-bit output implementation 2023-02-07 11:19:04 +01:00
Kseniia Sumarokova
e6e482201c
Merge pull request #46078 from ClickHouse/kssenii-patch-6
Disable temporarily rabbitmq tests which use channel.startConsuming()
2023-02-07 11:17:27 +01:00
taiyang-li
59d4136142 fix fast tests 2023-02-07 17:29:13 +08:00
Smita Kulkarni
135615cda6 Removed unwanted check from before callback - Updated checking of SYSTEM SYNC REPLICA 2023-02-07 10:27:45 +01:00
Smita Kulkarni
ef29b61786 Updated callback to return log entry ids - Updated checking of SYSTEM SYNC REPLICA 2023-02-07 10:02:38 +01:00
Smita Kulkarni
f34ef86332 Moved background task trigger before getting log entries to wait - Updated checking of SYSTEM SYNC REPLICA 2023-02-07 08:49:41 +01:00
mateng915
708111b62f
Merge branch 'master' into replicas_status_api_optimize 2023-02-07 14:51:27 +08:00
zk_kiger
294cb5acf4
Merge branch 'ClickHouse:master' into improve_format_datetime_joda 2023-02-07 11:59:11 +08:00
kigerzhang
28d1670373 add fromUnixTimestampInJodaSyntax test 2023-02-07 11:56:47 +08:00
kigerzhang
1dbfd5b3f4 Merge remote-tracking branch 'origin/improve_format_datetime_joda' into improve_format_datetime_joda 2023-02-07 10:05:59 +08:00
kigerzhang
46161bc4e9 fix style 2023-02-07 10:03:03 +08:00
Vitaly Baranov
1fc82fbeec Fix test 01114_database_atomic (more rows to fit to execution time expected in test). 2023-02-07 02:31:58 +01:00
Vitaly Baranov
bc63042723 Fix test "00626_in_syntax" (elements of set after IN must be const). 2023-02-07 02:31:58 +01:00
Vitaly Baranov
d27a83ee21 Fix error code in test "01934_constexpr_aggregate_function_parameters" (parameter of groupArray must be const). 2023-02-07 02:31:58 +01:00
Vitaly Baranov
db500b856f Fix test "01834_alias_columns_laziness_filimonov" (no more sleeping in ExpressionAnalyzer). 2023-02-07 02:31:58 +01:00
Anton Popov
7dfea59267 remove an assertion 2023-02-07 00:50:41 +00:00
Alexander Tokmakov
bd68612f10
Merge pull request #46077 from ClickHouse/fix_test_00002
Fix 00002_log_and_exception_messages_formatting
2023-02-07 03:27:07 +03:00
Alexander Tokmakov
13da43ead8
Merge branch 'master' into fix_test_00002 2023-02-07 03:25:42 +03:00
HarryLeeIBM
3f78c86b31 Fix endian issue in CityHash for s390x 2023-02-06 15:51:08 -08:00
Alexey Milovidov
f1b8d1d9d7 Improve performance of Decimal conversion when scale does not change 2023-02-07 00:27:12 +01:00
Anton Popov
e1581a0d63 remove test 2023-02-06 22:22:48 +00:00
Anton Popov
3ad5a085da
Merge pull request #45987 from CurtizJ/fix-sparse-columns-crash
Fix `INTERSECT` and `EXCEPT` with sparse columns
2023-02-06 23:01:02 +01:00
Alexey Milovidov
6a389eef32
Add a comment 2023-02-06 22:27:46 +03:00
Azat Khuzhin
0ab351c82e Add close() return value check in check-style
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-06 20:20:15 +01:00
Azat Khuzhin
fc48f89b76 Improve chassert() macro to suppress warning in release builds
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-06 20:13:17 +01:00
Azat Khuzhin
e83163e25f Add sanity check of evtimer_del() in QueryProfiler
Saw this one time on CI with EINVAL [1], while this was EINVAL this
time, next time it can be completelly different fd and break something
in a different place.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/45654/1716af465d376f5335720b5045bcccdd9e1823aa/fast_test.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-06 20:13:05 +01:00
Azat Khuzhin
ad3b4da488 Add also last messages from stdout/stderr/debuglog in clickhouse-test
First lines not very helpful usually, since the problem usually happens
at the end [1], though some tricky stuff may happens at the beginning,
so let's output both.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/45654/1716af465d376f5335720b5045bcccdd9e1823aa/fast_test.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-06 19:47:44 +01:00
Rich Raposa
07545d7386
Merge pull request #46048 from ClickHouse/add-executable-engine
Add docs for Executable and ExecutablePool table engines
2023-02-06 12:36:57 -06:00
rfraposa
f3136e3f25 Resolve feedback 2023-02-06 10:48:54 -07:00
Han Fei
d1d893275a fix 2023-02-06 18:46:23 +01:00
Dmitry Novik
1e065b32f3 Add MemoryTracker for the background tasks 2023-02-06 17:25:58 +00:00
kssenii
6cea67d58b Cleanup 2023-02-06 18:11:33 +01:00
Robert Schulze
8840aa9242
Fix build with -DENABLE_LIBURING=0 (or -DENABLE_LIBRARIES=0)
Follow-up to #38456

The problem was that code which uses liburing was conditionally build
depending on define OS_LINUX and not based on whether liburing was
enabled/disabled at build time.
2023-02-06 16:57:42 +00:00
Yakov Olkhovskiy
e433c26cf9 allow bloom filter for IPv4 and IPv6 2023-02-06 16:30:18 +00:00
Han Fei
eb76041312 address comments and add one more test 2023-02-06 17:26:20 +01:00
Alexander Tokmakov
af655eb7dc
Merge pull request #45889 from CheSema/release-merge-blocker-drop-part
do not block merges when old parts are droping in drop queries
2023-02-06 19:09:09 +03:00
MeenaRenganathan22
b90411f323 Fix the indentation 2023-02-06 10:24:54 -05:00
kssenii
ab0dedf0c8 Simplify code around storage s3 configuration 2023-02-06 16:23:17 +01:00