Commit Graph

56054 Commits

Author SHA1 Message Date
Azat Khuzhin
86ead0f0a9 Suppress UBsan for addMinutes/addHours/addWeeks with inf
https://clickhouse-test-reports.s3.yandex.net/19466/bb6f775b89da564cff9892a2443332a758e884c0/fuzzer_ubsan/report.html#fail1
2021-01-23 08:31:20 +03:00
Alexey Milovidov
6b06fbe791 Fix fast test 2021-01-23 05:43:33 +03:00
alexey-milovidov
feebf64cb1
Merge pull request #19397 from ClickHouse/aes-msan
Fix MSan report in AES functions
2021-01-23 04:47:36 +03:00
Alexey Milovidov
b326a4b7f9 Integrate with Big List of Naughty Strings for better fuzzing 2021-01-23 04:42:04 +03:00
Alexey Milovidov
1b6ee55c6a More tests 2021-01-23 04:26:03 +03:00
Alexey Milovidov
7005e3a826 Fix wrong serde of ColumnsDescription 2021-01-23 04:11:18 +03:00
Alexey Milovidov
02d28c1f9b Fix UBSan report in avgWeighted 2021-01-23 03:17:58 +03:00
Alexey Milovidov
9a28823041 Additions 2021-01-23 03:14:16 +03:00
Alexey Milovidov
7d2108d4e9 Fix double whitespace 2021-01-23 02:57:35 +03:00
Alexey Milovidov
f7db6e10d3 Fix very strange code in AES functions 2021-01-23 02:35:40 +03:00
Alexey Milovidov
4452abf0fc Merge branch 'master' into aes-remove-complications 2021-01-23 02:30:09 +03:00
alexey-milovidov
1fa5677b95
Merge pull request #19442 from ClickHouse/aku/fuzzer-history
Don't dwell on the past in query fuzzer
2021-01-23 02:29:06 +03:00
alexey-milovidov
be2d1deac2
Merge pull request #19431 from ClickHouse/integration_tests_forbid_check_call
Integration tests: print stderr of failed subprocess
2021-01-23 02:28:42 +03:00
Kruglov Pavel
da6a7e6d2f
Merge pull request #19212 from sevirov/sevirov-DOCSUP-5273-edit_translate_russian
DOCSUP-5273: Edit and translate to Russian
2021-01-23 02:28:16 +03:00
Alexander Kuzmenkov
6027827974
Update run-fuzzer.sh 2021-01-23 02:05:18 +03:00
Alexey Milovidov
505898747e Fix buffer overflow in DateLUT 2021-01-23 01:58:41 +03:00
alexey-milovidov
303db08231
Merge pull request #19369 from filimonov/kafka_for_arm64
Kafka for arm64
2021-01-23 01:52:07 +03:00
Alexey Milovidov
bbe3c54f34 Merge branch 'aes-msan' into aes-remove-complications 2021-01-23 00:48:45 +03:00
Alexey Milovidov
9ee9d7293a Remove complications from FunctionsAES 2021-01-23 00:48:03 +03:00
alexey-milovidov
3fffa16aab
Update src/IO/HTTPCommon.cpp
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2021-01-23 00:43:02 +03:00
Azat Khuzhin
bb6f775b89 Fix UBsan report in arraySlice (with INT64_MIN as offset)
- arraySlice([], INT64_MIN) -- FunctionArraySlice::executeImpl

Found with fuzzer [1].

  [1]: https://clickhouse-test-reports.s3.yandex.net/19378/2c42600cf9bd8e9962b5b5a0ebb4bf11a10887ea/fuzzer_ubsan/report.html#fail1

v2: removed fixes that is already included into #19459
    - arraySlice(groupArray([]), INT64_MIN) -- sliceDynamicOffsetUnbounded
2021-01-23 00:25:50 +03:00
Azat Khuzhin
f2910deec2 Fix UBsan report in date functions
Found with fuzzer [1]:

  [1]: https://clickhouse-test-reports.s3.yandex.net/19381/95c9e57ec13e450ec6535cf723f504a2e68e3e2c/fuzzer_ubsan/report.html#fail1
2021-01-23 00:25:49 +03:00
Alexey Milovidov
eeafd73890 Fix typo in docs, tnx Egor Savin 2021-01-23 00:08:59 +03:00
Alexey Milovidov
0528ca60d6 Avoid UBSan report in greatCircleDistance 2021-01-23 00:03:59 +03:00
alexey-milovidov
25ea281297
Merge pull request #19360 from vdimir/issue-18197
Fix default value in join types with non-zero default (close #18197)
2021-01-22 23:51:56 +03:00
Alexey Milovidov
4047542b61 Fix UBSan report in runningDifference 2021-01-22 23:46:51 +03:00
Alexey Milovidov
4afcb94a8a Fix Style check 2021-01-22 23:41:26 +03:00
Alexey Milovidov
ae8de8259f Fix UBSan report in substring 2021-01-22 23:40:04 +03:00
alexey-milovidov
a04360e6b2
Update 01664_array_slice_ubsan.sql 2021-01-22 23:36:10 +03:00
Alexey Milovidov
fb71a0704e Fix UBSan report in arraySlice 2021-01-22 23:35:16 +03:00
alexey-milovidov
c3d6c68994
Merge pull request #19408 from olgarev/revolg-DOCSUP-5082-Docs_for_cache_types
DOCSUP-5082: Docs for cache types (continued)
2021-01-22 23:30:41 +03:00
alesapin
7d4945a073
Merge pull request #19412 from ClickHouse/fix_one_more_tiny_race
Fix one more race in TestKeeper
2021-01-22 23:04:01 +03:00
Azat Khuzhin
d1d82bc897 Fix build with unbundled poco
Refs: #13405
Cc: @excitoon
2021-01-22 21:35:48 +03:00
Azat Khuzhin
109dbe5df4 Check the stream before sending while hanlding async INSERTs into Distributed
It is possible to get corruption (even though it is very unlikely, and
initially it wasn't corruption) just before the data block goes in the
file on disk, and in case of batching, it will break the packets, since
it will write the packet type but will not write any data after.
2021-01-22 21:29:58 +03:00
alexey-milovidov
819483fd9a
Merge pull request #19396 from ClickHouse/fuzz-limit-memory
Limit max memory usage in fuzz testing
2021-01-22 21:09:25 +03:00
Alexey Milovidov
70b8c0117d Remove some suppressions 2021-01-22 21:06:40 +03:00
Alexey Milovidov
76ef420d15 Update fast test 2021-01-22 21:05:25 +03:00
tavplubix
49e1321df4
Merge pull request #19072 from ClickHouse/fix_19021
Fix checkpoint in PeekableReadBuffer over ConcatReadBuffer
2021-01-22 21:00:04 +03:00
Dmitriy
23c7f4a0ea Fix the translation
Поправил перевод на русский язык.
2021-01-22 20:41:28 +03:00
Alexander Kuzmenkov
ccf332ea7e Don't dwell on the past in query fuzzer
When we remember too many query fragments, just clean the database
and start collecting it anew. Hopefully this should make the fuzzer more
aggressive.
2021-01-22 20:15:31 +03:00
tavplubix
1b832aa698
Merge pull request #19322 from ClickHouse/fix_18063
Fix segfault on aggregation when MV has unexpected structure
2021-01-22 20:15:09 +03:00
vdimir
ad73dc6c72
Check literal types in RewriteSumIfFunctionMatcher (#19406) 2021-01-22 19:21:45 +03:00
Alexander Tokmakov
963dadae54 fix wrong parts in parts_to_do 2021-01-22 19:07:19 +03:00
Nikolai Kochetov
290eadc121
Merge branch 'master' into split-actions-dag 2021-01-22 18:09:34 +03:00
tavplubix
a3e5e4735f
Merge pull request #19292 from olgarev/revolg-DOCSUP-5918-INSERT_query_support_in_table_functions
DOCSUP-5918: Documented INSERT query support in table functions
2021-01-22 17:47:49 +03:00
alexey-milovidov
8642ba107a
Merge pull request #19246 from sevirov/sevirov-DOCSUP-5840-edit_translate_russian_materializemysql
DOCSUP-5840: Edit and translate to Russian
2021-01-22 17:31:54 +03:00
alexey-milovidov
c057c3bdd2
Merge pull request #19297 from zhangjmruc/master
update clickhouse-local docs to latest
2021-01-22 17:31:10 +03:00
alexey-milovidov
b6822bfd04
Merge pull request #19365 from ClickHouse/tavplubix-patch-3
Better logging in MySQLHandler
2021-01-22 17:29:59 +03:00
alexey-milovidov
1fd500dfa4
Merge pull request #19378 from azat/pushing-to-view-logging
Add log message with elapsed time while pushing to view
2021-01-22 17:28:58 +03:00
alexey-milovidov
21455ae646
Merge pull request #19374 from filimonov/docker_openshift
Allow docker to be executed with arbitrary uid
2021-01-22 17:28:44 +03:00