Commit Graph

127332 Commits

Author SHA1 Message Date
Kruglov Pavel
cb63b07e89
Merge pull request #55912 from wxybear/fix/storage_null_supports_subcolumns
fix: StorageNull supports subcolumns
2023-10-24 14:03:46 +02:00
Alexander Gololobov
04b82d6463
Merge pull request #55935 from ClickHouse/set_has_lwd
Set storage.has_lightweight_delete_parts flag when a part has been loaded
2023-10-24 14:01:11 +02:00
Kruglov Pavel
9a56ec4d63
Merge pull request #55891 from Avogar/try-fix-orc
Try to fix possible segfault in Native ORC input format
2023-10-24 13:57:43 +02:00
Azat Khuzhin
ff7e9e16d5 Fix possible performance test error
CI [1]:

    2023-10-24 12:18:27	 ++ rg -c array_fill.xml changed-test-definitions.txt
    2023-10-24 12:18:27	 + '[' '' -gt 0 ']'
    2023-10-24 12:18:27	 right/scripts/compare.sh: line 288: [: : integer expression expected

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/55944/da408df4a7296835897d7cef80d63f252df79b75/performance_comparison_[2_4]/compare.log

v1: use --include-zero
v2: revert to grep
v3: check exit code
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-24 13:51:57 +02:00
Kruglov Pavel
9f4f851505
Merge pull request #55899 from srikanthccv/issue-55023
Introduce setting `create_table_empty_primary_key_by_default`
2023-10-24 13:47:23 +02:00
Alexander Gololobov
ab8fe68571
Update tests/queries/0_stateless/02902_diable_apply_deleted_mask.sql
Co-authored-by: SmitaRKulkarni <Smita.Kulkarni@clickhouse.com>
2023-10-24 13:45:27 +02:00
Alexander Gololobov
247722d44e
Update tests/queries/0_stateless/02902_diable_apply_deleted_mask.sql
Co-authored-by: SmitaRKulkarni <Smita.Kulkarni@clickhouse.com>
2023-10-24 13:45:19 +02:00
Alexander Gololobov
837637caa6
Fix typo
Co-authored-by: SmitaRKulkarni <Smita.Kulkarni@clickhouse.com>
2023-10-24 13:45:01 +02:00
Salvatore Mesoraca
4cf17dc50a
Add other fuzzer tests 2023-10-24 13:36:56 +02:00
Salvatore Mesoraca
6b7b3a641f
Fix more fuzzying issues 2023-10-24 13:36:56 +02:00
Salvatore Mesoraca
471fe28165
Improve tests 2023-10-24 13:36:56 +02:00
Salvatore Mesoraca
22ae8731f2
Handle the case when bool serialization generates incorrect values on failure
Fix issue found by fuzzer
2023-10-24 13:36:55 +02:00
Salvatore Mesoraca
36da379b93
Revert "Add stronger exception guarantees to bool serialization"
This reverts commit 62d06a0a4cd39344b41b90300b772299f9719924.
2023-10-24 13:36:55 +02:00
Salvatore Mesoraca
f417de4820
Add tests for issue found fuzzing 2023-10-24 13:36:55 +02:00
Salvatore Mesoraca
f29a618d7e
Add stronger exception guarantees to bool serialization
before this change the output column may or may not
contain an invalid value when an exception was thrown.
We now make sure that, in case of error, we either don't
make changes or we revert them.
2023-10-24 13:36:55 +02:00
Salvatore Mesoraca
fa76a88c4f
Revert "Revert "Fix issues in accurateCastOrNull""
This reverts commit 71d37d64ab.
2023-10-24 13:36:52 +02:00
Sergei Trifonov
e2846d4c58
Merge pull request #55922 from joclement/patch-2
docs: state limitations of `USING` clause.
2023-10-24 12:57:58 +02:00
vdimir
f7c1e8f69e
Set tag use-rocksdb for 02892_rocksdb_trivial_count 2023-10-24 12:45:11 +02:00
vdimir
72f2288ee4
Add optimize_trivial_approximate_count_query to stress tests 2023-10-24 12:44:18 +02:00
Robert Schulze
a962161832
Bump to 3.19.6 2023-10-24 10:22:58 +00:00
Robert Schulze
aa977acf6b
Merge pull request #55916 from rschu1ze/grpc-1.42.0
Bump gRPC to v1.42.0
2023-10-24 12:12:17 +02:00
Robert Schulze
666f854b27
Bump protobuf to 3.19.3 2023-10-24 10:00:02 +00:00
Robert Schulze
38a2ba5769
Cosmetics 2023-10-24 09:53:20 +00:00
Raúl Marín
70adb4ca17 Fix SHOW DATABASES LIMIT <N> 2023-10-24 11:42:20 +02:00
vdimir
da6f3346fe
Merge pull request #55839 from ClickHouse/vdimir/async_executor_for_dictionary_load
Use AsyncPipelineExecutor all dictionaries
2023-10-24 11:31:36 +02:00
Robert Schulze
430559c328
Merge remote-tracking branch 'rschu1ze/master' into grpc-1.42.0 2023-10-24 09:16:31 +00:00
Robert Schulze
f2b65aafac
Merge pull request #55869 from rschu1ze/string-addinterval
Support string-encoded date arguments in `add|subtract*()`
2023-10-24 10:58:53 +02:00
Robert Schulze
68c3f41b71
Fix performance tests 2023-10-24 08:56:09 +00:00
Robert Schulze
b361b8e3e3
Merge remote-tracking branch 'rschu1ze/master' into test-bug-43644 2023-10-24 08:53:10 +00:00
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
Smita Kulkarni
1b52418174 Updated with master 2023-10-23 22:17:23 +02:00
Smita Kulkarni
7b1c0c471c Merge branch 'master' into Fix_azurite_port 2023-10-23 22:13:56 +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