Commit Graph

20327 Commits

Author SHA1 Message Date
robot-clickhouse
315d38c365 Automatic style fix 2022-08-22 22:43:00 +00:00
alesapin
61d014f6ec
Merge branch 'master' into fix_bad_exception 2022-08-23 00:35:29 +02:00
alesapin
780f39b108 Fix lost errors in AWS CPP SDK 2022-08-23 00:34:39 +02:00
Alexey Milovidov
57e6224fde
Merge pull request #40455 from CheSema/fix-flaky-test
fix flaky 02293_part_log_has_merge_reason: wait merge explicitly
2022-08-23 00:42:35 +03:00
Lloyd-Pottiger
85a1a36167 remove read_only option
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
2022-08-22 23:31:55 +08:00
alesapin
e865959ccc Fix test 2022-08-22 16:53:57 +02:00
Raúl Marín
cda9138d88 Merge remote-tracking branch 'blessed/master' into avoid_printing_settings 2022-08-22 16:07:17 +02:00
alesapin
b4d6afd5b3 Black 2022-08-22 13:51:48 +02:00
Kruglov Pavel
ddaaf7b73d
Fix fasttest 2022-08-22 12:48:27 +02:00
Sema Checherinda
cfc691317a fix flaky 02293_part_log_has_merge_reason: wait merge explicitly 2022-08-22 12:34:03 +02:00
Kruglov Pavel
c5c6f8a3fe
Merge pull request #40424 from azat/tests/test_storage_s3
tests: fix test_storage_s3::test_wrong_format_usage flakiness
2022-08-22 12:24:38 +02:00
Alexey Milovidov
1aa289f80a Add a smoke test 2022-08-22 01:49:23 +02:00
Alexey Milovidov
75c0ed528d Fix test 2022-08-22 01:21:32 +02:00
Alexey Milovidov
2faa23112c Fix test 2022-08-22 00:39:06 +02:00
Alexey Milovidov
a028d22c0b Add a test 2022-08-22 00:26:52 +02:00
Alexey Milovidov
bddf1cc312 Allow to parse Date as DateTime and DateTime64 2022-08-21 23:12:41 +02:00
alesapin
704d7fdc41 Fix copy and use disks 2022-08-21 18:18:35 +02:00
Alexey Milovidov
6fbff6d1f6
Revert "Avx enablement" 2022-08-21 15:47:02 +03:00
Alexey Milovidov
9e06ecd60a
Merge pull request #40440 from ClickHouse/remove-trash
Remove trash (disabled tests for LIVE VIEW)
2022-08-20 21:32:23 +03:00
alesapin
e4d486fbba
Merge pull request #40346 from ClickHouse/fix_ttl_vertical_merge_bug
Fix bug with multiple TTL merges on expired column
2022-08-20 17:09:32 +02:00
Antonio Andelic
76ecb28daf Increase timeouts 2022-08-20 11:52:10 +00:00
Alexey Milovidov
c2301f00e9 Remove trash 2022-08-20 13:24:13 +02:00
Alexey Milovidov
35ce19ab63
Merge pull request #40354 from azat/tests/stress-dmesg-v3
tests/stress: use --privileged over --cap-add syslog to obtain dmesg
2022-08-20 14:13:55 +03:00
Sema Checherinda
1f8ce6d84e
Merge pull request #40292 from CheSema/fix-heap-overflow-httpchunkedreadbuffer
fix heap buffer overflow by limiting http chunk size
2022-08-20 01:01:29 +02:00
Azat Khuzhin
b92d8b302a tests: fix test_storage_s3::test_wrong_format_usage flakiness
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-19 21:51:23 +02:00
avogar
612ffaffde Make schema inference cache better, respect format settings that can change the schema 2022-08-19 16:39:13 +00:00
Duc Canh Le
24682556a4
Fix storage merge on view cannot use primary index (#40233)
* fix storage merge on view cannot use index

* minor fix code + tests

* fix view stage

* fix stage

* fix style

* fix tests
2022-08-19 14:24:22 +02:00
Sergei Trifonov
7c18d5b34f
Merge pull request #40348 from ClickHouse/threads-soft-limit-rename
split concurrent_threads_soft_limit setting into two
2022-08-19 13:39:32 +02:00
Azat Khuzhin
4de309718b tests/stress: use --privileged over --cap-add syslog to obtain dmesg
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-19 13:31:05 +02:00
Kruglov Pavel
c4f9508b80
Merge pull request #40355 from Avogar/better-schema-cache-test
Make test for s3 schema inference cache better
2022-08-19 12:17:49 +02:00
Antonio Andelic
5e2c8869a9 Merge branch 'master' into replicate-tables-readonly 2022-08-19 09:41:11 +00:00
Antonio Andelic
3f7d28cc6b Address PR comments 2022-08-19 09:39:59 +00:00
alesapin
9ec164fc07
Update 02403_ttl_column_multiple_times.sql 2022-08-19 11:36:33 +02:00
Alexander Tokmakov
4bffb76235
Update 02293_part_log_has_merge_reason.sql 2022-08-19 11:27:51 +03:00
Alexander Tokmakov
00a085fe30
Update 02382_filesystem_cache_persistent_files.sql 2022-08-19 11:24:08 +03:00
Robert Schulze
24615059fb
Merge pull request #40319 from ClickHouse/custom-error-code-in-throwif
Allow custom error code in throwIf
2022-08-19 09:49:35 +02:00
Lloyd-Pottiger
51f53af482 fix tests
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
2022-08-19 15:24:00 +08:00
Mikhail f. Shiryaev
e513ad6748
And the last tiny fix for assignees 2022-08-18 23:32:55 +02:00
Mikhail f. Shiryaev
b485afbe2c
Merge pull request #40367 from ClickHouse/cherry-pick-assignees
Fix wrong assignees argument passing
2022-08-18 23:28:31 +02:00
Mikhail f. Shiryaev
dce060bac4
Fix wrong assignees argument passing 2022-08-18 22:22:50 +02:00
Mikhail f. Shiryaev
6b7b25f7af
Merge pull request #40359 from ClickHouse/fix-artifactory-push
Fix typo in the S3 download links for
2022-08-18 21:57:48 +02:00
Kruglov Pavel
b67cb9e378
Merge pull request #40173 from Avogar/arrow-dict
Improve and fix dictionaries in Arrow format
2022-08-18 20:54:55 +02:00
Mikhail f. Shiryaev
13d95ebdef
Fix typo in the S3 download links for 2022-08-18 20:32:33 +02:00
Alexander Tokmakov
e311d06eaa
Merge pull request #40246 from ClickHouse/parallel_drop_ranges_execution
Allow parallel execution of disjoint drop ranges
2022-08-18 21:17:41 +03:00
avogar
67f848a428 Fix style 2022-08-18 17:15:30 +00:00
avogar
1fb99f51b0 Make test for s3 schema inference cache better 2022-08-18 16:50:59 +00:00
Robert Schulze
e3266fe35a
test: extend tests for function throwIf() with edge cases 2022-08-18 15:24:53 +00:00
Robert Schulze
5037ce547f
Only allow 8/16/32-bit signed integers as custom error code data type
The internally used data type for error code is "int", and by
disallowing unsigned integers or integers >= 64 bit we avoid truncation
issues.
2022-08-18 15:16:08 +00:00
Sergei Trifonov
42a711015f split concurrent_threads_soft_limit setting into two: concurrent_threads_soft_limit_{num,ratio_to_cores} 2022-08-18 14:51:08 +02:00
Sema Checherinda
c6f61e6d08 small fix of test 02403_big_http_chunk_size.python 2022-08-18 14:30:52 +02:00
Sema Checherinda
89bada927c fix heap buffer overflow by limiting http chunk size 2022-08-18 14:30:52 +02:00
alesapin
1751ba3e1e
Merge branch 'master' into fix_ttl_vertical_merge_bug 2022-08-18 14:24:05 +02:00
alesapin
20a2e786c9 Fix bug with multiple TTL merges on expired column 2022-08-18 14:21:20 +02:00
Kruglov Pavel
09a2ff8843
Merge pull request #40293 from joshuataylor/feature/arrow-large-binary-string
Add support for LARGE_BINARY/LARGE_STRING with Arrow
2022-08-18 14:01:58 +02:00
Nikolai Kochetov
5a85531ef7
Merge pull request #38286 from Avogar/schema-inference-cache
Add schema inference cache for s3/hdfs/file/url
2022-08-18 13:07:50 +02:00
Alexander Tokmakov
6e5e0689a3
Merge branch 'master' into parallel_drop_ranges_execution 2022-08-18 13:43:29 +03:00
Kseniia Sumarokova
d8fd1f9c37
Merge pull request #36171 from kssenii/make-cache-composable
Make cache composable, allow not to evict certain files (regarding .idx, .mrk, ..), delete old cache version
2022-08-18 12:37:34 +02:00
Kruglov Pavel
d7056376eb
Merge pull request #40068 from Avogar/schema-inference-hints
Allow to specify structure hints in schema inference
2022-08-18 12:19:45 +02:00
Vladimir C
7ac0eb1af1
Merge pull request #40035 from ClickHouse/vdimir/cluster-discovery-observer
Add observer mode to (zoo)keeper cluster discovery feature
2022-08-18 10:53:49 +02:00
Lloyd-Pottiger
d9cfda905c
Merge branch 'master' into feat/support-ttl-for-embeddedrocksdb 2022-08-18 16:27:13 +08:00
Lloyd-Pottiger
635aa52c8a
Update tests/queries/0_stateless/02381_rocksdb_read_only.sql
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-08-18 16:26:16 +08:00
Alexey Milovidov
aaf6a3c862
Merge pull request #40184 from ClickHouse/update-cctz
Update cctz
2022-08-18 10:13:04 +03:00
Yakov Olkhovskiy
0c84cd068d
Update 00602_throw_if.reference 2022-08-17 23:27:03 -04:00
Robert Schulze
f121941916
feat: allow custom error code for SQL function throwIf() 2022-08-17 21:14:40 +00:00
Robert Schulze
164fc3d296
style: improve code aesthetics 2022-08-17 20:39:37 +00:00
Alexander Gololobov
ff87d3b8bf Update the test accoding to fixes for Asia/Tehran tz 2022-08-17 20:34:03 +02:00
Lloyd-Pottiger
340c8d1c18 address comments
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
2022-08-17 23:27:18 +08:00
Lloyd-Pottiger
19c4385881
Merge branch 'master' into feat/support-ttl-for-embeddedrocksdb 2022-08-17 22:17:10 +08:00
kssenii
d63d34f7bb Merge master 2022-08-17 15:49:32 +02:00
kssenii
f9b60916ab Update .reference 2022-08-17 15:34:13 +02:00
avogar
4c64b7a69e Try fix s3 test 2022-08-17 12:25:58 +00:00
Vladimir C
b876cc17c9
Merge pull request #39593 from quickhouse/fixexponentialdecaywindowfunctions
Fixed point of origin for exponential decay window functions to the last value in window
2022-08-17 14:19:59 +02:00
avogar
8dd54c043d Merge branch 'master' of github.com:ClickHouse/ClickHouse into schema-inference-cache 2022-08-17 11:47:40 +00:00
avogar
fd2220b7ce Update test reference 2022-08-17 11:29:53 +00:00
Igor Nikonov
46ed4f6cdf
Merge pull request #38719 from ClickHouse/skipping_sorting_step
SortingStep: deduce way to sort based on input stream sort description
2022-08-17 12:58:11 +02:00
Nikolai Kochetov
8ec3f0821c
Merge pull request #40249 from azat/fix-memory-account-on-error
Fix memory accounting in case of MEMORY_LIMIT_EXCEEDED errors
2022-08-17 12:51:40 +02:00
Nikolai Kochetov
8762b4e2ca
Update 02400_memory_accounting_on_error.sql 2022-08-17 12:50:37 +02:00
Alexander Tokmakov
caa270b72a
Merge pull request #39933 from ClickHouse/auto_convert_ordinary_to_atomic
Add flag that enables automatic conversion from Ordinary to Atomic
2022-08-17 12:40:49 +03:00
Alexander Tokmakov
d23296ef85
Merge pull request #37198 from ClickHouse/replicated_database_improvements
Improvements for Replicated database engine and ON CLUSTER queries
2022-08-17 12:30:04 +03:00
Yakov Olkhovskiy
216a6ce8a4 test is added 2022-08-17 07:52:34 +00:00
Nikita Mikhaylov
a7c3f23dfb
Merge branch 'master' into auto_convert_ordinary_to_atomic 2022-08-17 00:38:25 +02:00
kssenii
d193eee887 Better test 2022-08-17 00:16:46 +02:00
Kruglov Pavel
afd5221d58
FIx check black 2022-08-16 18:53:55 +02:00
Igor Nikonov
fdd699e8a3 Rename tests according to new setting name 2022-08-16 16:37:31 +00:00
Igor Nikonov
d4367de7bb Rename setting to optimize_sorting_by_input_stream_properties 2022-08-16 16:27:41 +00:00
Azat Khuzhin
ded70fbd53 Fix memory accounting in case of MEMORY_LIMIT_EXCEEDED errors
In case of memory allocation had been failed, it should not be take into
account anywhere, otherwise it will report incorrect memory usage for
query and in logs.

I found this while was digging into OOM in stress tests, and saw memory
allocations that had been significantly greater the memory limit (even
with overcommit).

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-16 18:08:56 +02:00
avogar
d5f7337ba3 Try fix tests 2022-08-16 14:57:19 +00:00
Yakov Olkhovskiy
18c3ae5b37
Merge pull request #40269 from ClickHouse/ci-mergeable-add-unit-1
Add update_mergeable_check trigger for Unit tests
2022-08-16 10:52:59 -04:00
Alexander Tokmakov
832d7c6e7c Merge branch 'master' into replicated_database_improvements 2022-08-16 15:49:13 +02:00
Vladimir Chebotaryov
66f9bfca61 Fixed point of origin for exponential decay window functions to the last value in window. 2022-08-16 15:43:37 +02:00
Alexander Tokmakov
47bdd8a3e2
Merge pull request #40248 from ClickHouse/stacktraces_in_integration_tests
Try to print stacktraces if query timeouts in integration tests
2022-08-16 16:39:49 +03:00
robot-clickhouse
15bbb21a09 Automatic style fix 2022-08-16 13:10:28 +00:00
Yakov Olkhovskiy
dfbbc51045
add update_mergeable_check trigger 2022-08-16 09:02:03 -04:00
avogar
99d8727335 Fix tests 2022-08-16 12:56:51 +00:00
Alexander Tokmakov
6fd4d2cfb3 Revert "tests/performance: cover sparse_hashed dictionary (#40027)"
This reverts commit 6a30c23252.
2022-08-16 15:32:50 +03:00
Kruglov Pavel
169b38c878
Fix s3 test 2022-08-16 12:40:10 +02:00
Kruglov Pavel
795262f16c
Fix hdfs test 2022-08-16 12:39:35 +02:00
Kruglov Pavel
9d764a547c
Fix test 2022-08-16 12:37:40 +02:00
kssenii
52832ea788 May be fix database replicated check 2022-08-16 11:51:57 +02:00
avogar
e1ff996ec3 Allow to specify structure hints in schema inference 2022-08-16 09:46:57 +00:00