Commit Graph

113078 Commits

Author SHA1 Message Date
Amos Bird
97d27c87a6
Fix key condition on duplicate primary keys
Fix key condition usage when encountering duplicate primary keys. This can happen in projections. This bug was introduced in https://github.com/ClickHouse/ClickHouse/pull/45686.

This PR is also an optimization because we don't need to create unused FieldRefs anymore.
2023-04-17 19:13:42 +08:00
Sema Checherinda
daa55ae0d2 fix the race wait loading parts 2023-04-17 13:01:28 +02:00
serxa
4370abf3c4 Try fix flacky test_concurrent_alter_move_and_drop 2023-04-17 10:33:59 +00:00
Yatsishin Ilya
9bddda6a6e move clickhouse-su to clickhouse-server packager 2023-04-17 09:56:32 +00:00
Kseniia Sumarokova
4e15b66f4c
Fix test 2023-04-17 11:21:16 +02:00
Kseniia Sumarokova
8bc0a3a899
Merge pull request #48759 from kssenii/fix-mysql-named-collection
Fix some settings of mysql dictionary with named collection
2023-04-17 11:18:04 +02:00
Azat Khuzhin
fff6062c7b Update llvm to fix std::stringstream for payload > INT_MAX
Refs: https://reviews.llvm.org/D146294
Refs: https://github.com/ClickHouse/llvm-project/pull/9
Refs: https://github.com/ClickHouse/llvm-project/pull/16
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-17 10:49:55 +02:00
Azat Khuzhin
f5c3f3a4ab Remove quirk for s3_max_single_part_upload_size (when it exceed INT_MAX)
Reverts: #48816
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-17 10:49:55 +02:00
Azat Khuzhin
f55f33b64d Avoid using s3_truncate_on_insert in 02700_s3_part_INT_MAX
Seems that version of MinIO that is used on CI is too slow for this [1],
I've tried the same locally with RELEASE.2023-02-10T18-48-39Z and
everythings works OK, but I have NVME locally and more recent MinIO.

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/47693/5c701b090c3ec10cb2a4a708b60d364eb02192fe/stateless_tests_flaky_check__asan_.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-17 10:47:42 +02:00
Azat Khuzhin
8dcee4c482 Decrease part size in 02700_s3_part_INT_MAX
Seems that the IO is too slow [1].

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/47693/6d869e3b0d3e439260eb54c32e3fa99acecae063/stateless_tests_flaky_check__asan_.html

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-17 10:46:39 +02:00
Azat Khuzhin
91713325a2 Add a test with S3 single part upload that exceeds INT_MAX
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-17 10:46:39 +02:00
Azat Khuzhin
9ea4a55ddf Add a test for stringstream with INT_MAX
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-04-17 10:46:39 +02:00
Alexey Milovidov
6a4422c56d
Merge pull request #48826 from ClickHouse/remove-excessive-logging
Remove excessive logging
2023-04-17 09:30:01 +03:00
clundro
6e8d77a084 Merge branch 'master' of github.com:ClickHouse/ClickHouse 2023-04-17 13:09:23 +08:00
Michael Kolupaev
bd426a7d6d Unbreak reading from web servers that don't support HEAD requests 2023-04-17 04:58:32 +00:00
Michael Kolupaev
473f212c82 Hopefully fix assertion failure in CachedOnDiskReadBufferFromFile 2023-04-17 04:58:32 +00:00
Michael Kolupaev
87be78e6de Better 2023-04-17 04:58:32 +00:00
Michael Kolupaev
e133633359 Parallel decoding with one row group per thread 2023-04-17 04:58:32 +00:00
Michael Kolupaev
683077890f Highly questionable refactoring (getInputMultistream() nonsense) 2023-04-17 04:58:32 +00:00
Michael Kolupaev
2d4fe85513 Something 2023-04-17 04:58:32 +00:00
Michael Kolupaev
dc6e34075e Read less unnecessary data from Parquet files 2023-04-17 04:58:32 +00:00
Alexey Milovidov
0dab82c420
Merge pull request #48824 from ClickHouse/fix-flaky-test-01054-window-view
Fix flaky test 01054_window_view_proc_tumble_to
2023-04-17 06:25:50 +03:00
Alexey Milovidov
82fe9d4dbe
Merge pull request #48789 from vitlibar/fix-flaky-test-backup-all
Fix flaky test test_backup_all
2023-04-17 06:24:58 +03:00
Alexey Milovidov
8a28064ad4 Remove excessive logging 2023-04-17 01:46:58 +02:00
Alexey Milovidov
629bbbd353
Merge pull request #48804 from hanfei1991/hanfei/forbid-gwpasan-debug
forbid gwpsan in debug mode to rescue stress tests
2023-04-17 01:16:12 +03:00
Alexey Milovidov
fb40200302
Merge pull request #48817 from ClickHouse/add-test-38128
Add a test for #38128
2023-04-17 01:15:25 +03:00
Yakov Olkhovskiy
00c87d3235
prevent a small chance insertion was made too late 2023-04-16 16:45:39 -04:00
Kseniia Sumarokova
b37dcaa3ee
Update registerDiskCache.cpp 2023-04-16 21:00:17 +02:00
Kseniia Sumarokova
8becddd400
Merge branch 'master' into process-relative-cache-paths-better 2023-04-16 19:50:05 +02:00
Kseniia Sumarokova
54f660bd4f
Merge pull request #48805 from kssenii/simplify-cache-factory
Simplify FileCacheFactory
2023-04-16 19:47:01 +02:00
Han Fei
fc101a33cd
Update CMakeLists.txt
Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2023-04-16 16:01:41 +02:00
robot-ch-test-poll1
69cac0a788
Merge pull request #48816 from ClickHouse/fix-s3
Prevent a bug in AWS S3
2023-04-16 14:46:02 +02:00
Sema Checherinda
c3b9d5fe6e introduce sqllogic runner 2023-04-16 13:57:24 +02:00
kssenii
f9ed45c9b9 Fix test 2023-04-16 11:56:06 +02:00
Kseniia Sumarokova
000a63d61c
Merge pull request #48803 from vitlibar/allow-integration-tests-without-spark
Allow running integration tests without spark
2023-04-16 11:54:21 +02:00
Alexey Milovidov
8e0b1eae69
Update StorageS3Settings.cpp 2023-04-16 08:53:52 +03:00
Alexey Milovidov
21ce249145 Add a test for #38128 2023-04-16 07:36:31 +02:00
Alexey Milovidov
55d79d4874
Merge pull request #48815 from ClickHouse/whitespaces-2
Fix double whitespace in exception message
2023-04-16 07:57:16 +03:00
Alexey Milovidov
1174f4dcbe Prevent a bug in AWS S3 2023-04-15 23:56:49 +02:00
Alexey Milovidov
7f620bf852 Fix double whitespace in exception message 2023-04-15 23:54:10 +02:00
Alexey Milovidov
44f05e3fca
Merge pull request #48687 from ClickHouse/processor-call-oncancel-once
Call IProcessor::onCancel() once
2023-04-16 00:25:06 +03:00
Alexey Milovidov
df4678a25d
Merge pull request #48675 from ClickHouse/igor/analyzer-test-fixes
Fix tests for analyzer
2023-04-16 00:24:21 +03:00
Alexey Milovidov
75887c30f5
Merge pull request #48740 from ClickHouse/rs/varint-sanity
VarInt coding: Always perform sanity check
2023-04-16 00:18:25 +03:00
robot-clickhouse
f3dd4edbb7
Merge pull request #48793 from ClickHouse/fix_confusing_warning
Fix a confusing warning about interserver mode
2023-04-15 22:56:07 +02:00
Alexey Milovidov
a2793fcea6
Merge pull request #48771 from azat/fix-skip_unavailable_shards
Fix skip_unavailable_shards in case of unavailable hosts
2023-04-15 23:55:41 +03:00
Rich Raposa
0c58c75023
Merge pull request #48762 from et/patch-1
Fix docs for case insensitive searches with a token bloom filter
2023-04-15 10:57:21 -06:00
robot-ch-test-poll3
8c8bd0a6b8
Merge pull request #48808 from ClickHouse/rfraposa-patch-2
Add required PostgreSQL version number to MaterializedPostgreSQL table engine
2023-04-15 16:53:15 +02:00
Rich Raposa
04a8b4bd17
Update materialized-postgresql.md 2023-04-15 08:24:27 -06:00
kssenii
0517de58d1 Simplify FileCacheFactory 2023-04-15 16:15:20 +02:00
Kseniia Sumarokova
e312c4c299
Merge pull request #48783 from kssenii/fix-flaky-test_upgrade_while_mutation
Fix flaky test_version_update_after_mutation/test.py::test_upgrade_while_mutation
2023-04-15 13:20:07 +02:00