Commit Graph

127144 Commits

Author SHA1 Message Date
Azat Khuzhin
da408df4a7 Proper ignoring of retriable errors during merge/mutate
The exception cannot be simply suppressed, since sanity checks in the
WriteBuffer dtor relies on the std::uncaught_exceptions(), and if the
exception will be suppressed, then if the buffer was not finalized, it
may abort (even though it is only in debug/sanitizers build).

So instead, IExecutableTask::printExecutionException() had been
introduced to distinguish when exception should be printed and when not.
2023-10-24 10:19:18 +02:00
Azat Khuzhin
40a01902e9 Convert 02903_rmt_retriable_merge_exception to an sh test with proper retries
CI: https://s3.amazonaws.com/clickhouse-test-reports/55944/bd26f7096a4a3325f7a363c4be919700cdf10ca3/stateless_tests_flaky_check__asan_.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-24 10:19:18 +02:00
taiyang-li
2a894335b7 commit again 2023-10-24 16:16:05 +08:00
taiyang-li
9c186d18a8 retrigger ci 2023-10-24 16:13:53 +08:00
Duc Canh Le
5291cb7790 add document
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2023-10-24 07:07:47 +00:00
taiyang-li
93c1e5a9e6 allow skip null values when serailize tuple to json objects 2023-10-24 12:31:55 +08:00
Srikanth Chekuri
af684a3604 Rename the file number since master already has it 2023-10-24 09:33:27 +05:30
Srikanth Chekuri
ddca9054f4 Merge remote-tracking branch 'upstream/master' into issue-55023 2023-10-24 09:28:50 +05:30
taiyang-li
a02c49e16f allow skip null values when serailize tuple to json objects 2023-10-24 11:47:46 +08:00
Duc Canh Le
e3aa799ca2 disable approximate count by default + fix tests
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2023-10-24 03:18:33 +00:00
Duc Canh Le
e3a63ad527
Update src/Core/Settings.h
Co-authored-by: vdimir <vdimir@clickhouse.com>
2023-10-24 10:44:38 +08:00
Robert Schulze
db1cca592e
Test for Bug 43644 2023-10-23 20:47:58 +00:00
robot-clickhouse-ci-1
2346f30095
Merge pull request #55947 from Algunenano/topk_generic_memory
Prevent excesive memory usage when deserializing AggregateFunctionTopKGenericData
2023-10-23 22:27:54 +02:00
Kseniia Sumarokova
699de2317a
Merge pull request #55863 from jrdi/describe-load-metadata-threads
Add load_metadata_threads to describe filesystem cache
2023-10-23 21:40:52 +02:00
Nikita Taranov
3320b12e59
impl (#55787) 2023-10-23 20:50:40 +02:00
Alexander Gololobov
959b8b64bd Added a setting to allow reading rows marked as deleted 2023-10-23 19:59:17 +02:00
Srikanth Chekuri
f1933d5341 Merge branch 'issue-55023' of github.com:srikanthccv/ClickHouse into issue-55023 2023-10-23 21:24:00 +05:30
FFish
015d041dc3
Update 02902_select_subcolumns_from_engine_null.sql 2023-10-23 23:51:39 +08:00
Srikanth Chekuri
8876a92b42 Merge remote-tracking branch 'upstream/master' into issue-55023 2023-10-23 21:21:25 +05:30
wxybear
ccd4f221d4 feat: add queries for StorageNull with subcolumns 2023-10-23 23:46:34 +08:00
Alexander Tokmakov
6167bf4fca
Update stress.py 2023-10-23 17:27:38 +02:00
Robert Schulze
b9b66e76dd
Switch accumulator and array arguments 2023-10-23 14:59:16 +00:00
Raúl Marín
ef071ac3f8 Fast tests don't build formats 2023-10-23 16:50:23 +02:00
Raúl Marín
0cd79cb7c0 Prevent excesive memory usage when deserializing AggregateFunctionTopKGenericData 2023-10-23 16:11:16 +02:00
Robert Schulze
0703c88381
Merge pull request #55915 from rschu1ze/sanity-check-rpnbuildertreenode
Add sanity check to RPNBuilderFunctionTreeNode
2023-10-23 16:09:56 +02:00
Robert Schulze
bef5cea5a0
Merge remote-tracking branch 'rschu1ze/master' into string-addinterval 2023-10-23 14:08:18 +00:00
Robert Schulze
bb856680e7
Incorporated review feedback 2023-10-23 14:07:14 +00:00
robot-ch-test-poll1
002f7ded74
Merge pull request #55937 from ClickHouse/nickitat-patch-15
Include information about supported versions in bug report issue template
2023-10-23 15:44:06 +02:00
Robert Schulze
601276aa60
Update src/Storages/MergeTree/RPNBuilder.cpp
Co-authored-by: Igor Nikonov <954088+devcrafter@users.noreply.github.com>
2023-10-23 15:23:23 +02:00
Azat Khuzhin
bd26f7096a Add a test for retrible errors (i.e. "No active replica has part {} or covering part")
They should not appears in the error log, only with Information level.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-23 15:14:58 +02:00
Azat Khuzhin
38a4547c05 Do not write retriable errors for Replicated mutate/merge into error log
Fixes: e3f892f84a ("fix gtest with MemoryWriteBuffer, do not mute exception in ReplicatedMergeMutateTaskBase")
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-23 15:14:58 +02:00
Nikita Taranov
cf44a53760 upd reference 2023-10-23 15:13:30 +02:00
vdimir
643fef589d
Revert "[remove before merging] Shuffle CHECK TABLE results"
This reverts commit 8bb2378952.
2023-10-23 12:33:36 +00:00
vdimir
1e068640c8
Add CHECK TABLE PART to docs 2023-10-23 12:33:36 +00:00
vdimir
2245a4fba8
Fix test_store_cleanup/test.py after rebase 2023-10-23 12:33:35 +00:00
vdimir
7583394c9c
Support CHECK TABLE ... PART ... query 2023-10-23 12:33:35 +00:00
Sergei Trifonov
966f1b6378
Merge pull request #55877 from ClickHouse/serxa-patch-3
Fix digest check in replicated ddl worker
2023-10-23 14:25:20 +02:00
Raúl Marín
7d7bf1f565
Merge pull request #55826 from Algunenano/clearer_matview_creation_errors
Provide a better message for common MV pitfalls
2023-10-23 14:07:14 +02:00
Kruglov Pavel
32da07b4ee
Merge pull request #55695 from Avogar/restrict-iceberg
Fixes and improvements for Iceberg storage
2023-10-23 13:58:23 +02:00
Nikita Taranov
900844605f
Optimise memory consumption during loading of hierarchical dictionaries (#55838)
* impl

* add comment

* fix build
2023-10-23 13:52:27 +02:00
Nikita Taranov
32bbee50a2
Include information about supported versions in bug report issue template 2023-10-23 13:44:43 +02:00
Alexander Gololobov
99a14410ee Set storage.has_lightweight_delete_parts flag when a part has been loaded 2023-10-23 13:36:27 +02:00
Duc Canh Le
5923e1b116
Cache cast function in set during execution (#55712)
* Cache cast function in set during execution

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>

* minor fix for performance test

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>

* Update src/Interpreters/castColumn.cpp

Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>

* improvement

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>

* fix use-after-free

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>

---------

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>
2023-10-23 13:31:44 +02:00
flynn
6fa39c8aec Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-union-distinct 2023-10-23 11:05:16 +00:00
vdimir
8bb2378952
[remove before merging] Shuffle CHECK TABLE results 2023-10-23 10:56:06 +00:00
vdimir
3332f70275
upd 2023-10-23 10:56:06 +00:00
Kruglov Pavel
14c97fb426
Update docs/en/engines/table-engines/mergetree-family/mergetree.md 2023-10-23 12:48:05 +02:00
robot-ch-test-poll1
3d8875a342
Merge pull request #55926 from den-crane/patch-63
Doc. fix incorrect arrayFold example
2023-10-23 12:40:27 +02:00
robot-clickhouse-ci-1
792f1e9fb8
Merge pull request #55930 from rschu1ze/docs-homebrew
Docs: Point to formula in community tap for homebrew installation
2023-10-23 12:16:15 +02:00
vdimir
d254c4e4a0
Do no check ast in InterpreterCheckQuery to use max_threads 2023-10-23 10:13:26 +00:00