Commit Graph

127138 Commits

Author SHA1 Message Date
Kseniia Sumarokova
8984ba9c7e
Merge branch 'master' into fix-flaky-s3-queue-test 2023-10-27 14:14:24 +02:00
robot-ch-test-poll
ed41508374
Merge pull request #56075 from RoryCrispin/patch-3
Fix dead link to Virtual Columns
2023-10-27 13:11:30 +02:00
frinkr
18c50c11b3
Multithreading after window functions (#50771)
* feat: Preserve number of streams after evaluation the window functions to allow parallel stream processing

* fix style

* fix style

* fix style

* setting query_plan_preserve_num_streams_after_window_functions default true

* fix tests by SETTINGS query_plan_preserve_num_streams_after_window_functions=0

* fix test references

* Resize the streams after the last window function, to keep the order between WindowTransforms (and WindowTransform works on single stream anyway).

* feat: Preserve number of streams after evaluation the window functions to allow parallel stream processing

* fix style

* fix style

* fix style

* setting query_plan_preserve_num_streams_after_window_functions default true

* fix tests by SETTINGS query_plan_preserve_num_streams_after_window_functions=0

* fix test references

* Resize the streams after the last window function, to keep the order between WindowTransforms (and WindowTransform works on single stream anyway).

* add perf test

* perf: change the dataset from 50M to 5M

* rename query_plan_preserve_num_streams_after_window_functions -> query_plan_enable_multithreading_after_window_functions

* update test reference

* fix clang-tidy

---------

Co-authored-by: Nikita Taranov <nikita.taranov@clickhouse.com>
2023-10-27 12:36:28 +02:00
Rory Crispin
b817ab45bd
Fix dead link to Virtual Columns 2023-10-27 12:03:15 +02:00
Nikita Mikhaylov
f5890a5b4c
Added healthcheck for LDAP (#55571) 2023-10-27 10:53:59 +02:00
Robert Schulze
a68e8be08f
Merge pull request #55696 from zvonand/zvonand-datetime-ranges
Introduce setting `date_time_overflow_behavior` to control the overflow behavior when converting to `Date` / `Date32` / `DateTime` / `DateTime64`
2023-10-27 10:40:20 +02:00
Robert Schulze
5801b06529
Merge pull request #55983 from rschu1ze/snowflake-scale
Fix dateTime64ToSnowflake64() with non-default scale
2023-10-27 10:22:35 +02:00
lgbo
489e6d9bdc
Optimization for getting value from map, arrayElement(1/2) (#55929) 2023-10-27 09:54:25 +02:00
Andrey Zvonov
2da12ec291
Update FunctionsConversion.h 2023-10-27 01:13:52 +02:00
zvonand
35baf7792d cleanup after rebase, add [[unlikely]] 2023-10-26 23:56:45 +02:00
Robert Schulze
325ff33c3a
Merge pull request #55239 from aiven-sal/aiven-sal/format_query
Add formatQuery function
2023-10-26 22:46:01 +02:00
Robert Schulze
b1fd28d0f4
Try to stabilize test, pt. II 2023-10-26 19:41:29 +00:00
robot-clickhouse-ci-1
d2461671bd
Merge pull request #56056 from ClickHouse/vdimir/fix_doc_function_json
Fix function_json_value_return_type_allow_nullable setting name in doc
2023-10-26 21:08:00 +02:00
Alexander Tokmakov
eacf1ee79b
Merge pull request #56026 from ClickHouse/make_code_worse
Fix some bad code by making it worse
2023-10-26 20:18:04 +02:00
vdimir
dbaf66b8f2
Fix function_json_value_return_type_allow_nullable setting name in doc 2023-10-26 19:26:18 +02:00
Konstantin Bogdanov
ecafc77e0f
Merge pull request #55521 from ClickHouse/fix-query-params-with-custom-http-handlers
Fix Query Parameters not working with custom HTTP handlers
2023-10-26 18:34:37 +02:00
Alexander Tokmakov
c588a7f386 Merge branch 'master' into make_code_worse 2023-10-26 17:39:10 +02:00
kssenii
5d700605a5 Merge remote-tracking branch 'upstream/master' into fix-flaky-s3-queue-test 2023-10-26 17:18:26 +02:00
Salvatore Mesoraca
4db31d55fb
Restart CI 2023-10-26 16:22:36 +02:00
Alexander Tokmakov
fa963d60d0
Merge pull request #55641 from evillique/resubmit-cluster-groups
Resubmit #54421
2023-10-26 15:53:53 +02:00
Alexander Tokmakov
463a728b09
Merge pull request #56023 from ClickHouse/fix_02438
Fix 02438_sync_replica_lightweight
2023-10-26 15:48:43 +02:00
Andrey Zvonov
71287788d1
Merge branch 'ClickHouse:master' into zvonand-datetime-ranges 2023-10-26 14:14:32 +02:00
robot-ch-test-poll4
73d6f0ddaf
Merge pull request #56040 from bezik/patch-3
Update index.md
2023-10-26 14:13:31 +02:00
robot-ch-test-poll
da42f2eb0f
Merge pull request #55887 from ucasfl/fix-union-distinct
Fix normalize ASTSelectWithUnionQuery strip FORMAT of the query
2023-10-26 13:53:58 +02:00
Alexey Milovidov
9313b343e4
Merge pull request #55240 from aiven-sal/aiven-sal/client
clickhouse-client: don't show "0 rows in set" if it is zero and if exception was thrown
2023-10-26 13:52:53 +02:00
Anton Popov
9e64f51ffa
Merge pull request #56020 from CurtizJ/minor-style-fixes
Correct the implementation of function `jsonMergePatch`
2023-10-26 13:26:55 +02:00
helifu
4015176d27
A small fix (#55938) 2023-10-26 13:19:58 +02:00
Salvatore Mesoraca
56bd61d207
Rename formatQueryOneLine -> formatQuerySingleLine 2023-10-26 13:09:20 +02:00
robot-clickhouse-ci-1
f3e07b0fb3
Merge pull request #56042 from bezik/patch-4
Update distinctive-features.md
2023-10-26 13:08:12 +02:00
Salvatore Mesoraca
21e0c510c8
formatQuery: improve doc 2023-10-26 13:08:11 +02:00
Alexey Milovidov
0794f1faa7
Merge pull request #55775 from kitaisreal/decimal-column-improve-get-permutation-revert-revert
Improve ColumnDecimal, ColumnVector getPermutation performance using pdqsort with RadixSort fix
2023-10-26 12:36:57 +02:00
Alexey Milovidov
ffcf1f02cb
Merge pull request #55662 from amosbird/fix-55643
Add a test to avoid incorrect decimal sorting
2023-10-26 12:36:46 +02:00
AN
6487622d30
Update distinctive-features.md
Minor Russian language-related fixes (term unifications, hyphens, punctuation etc.)
2023-10-26 13:00:45 +03:00
AN
ba418271c0
Update index.md
Minor Russian language fixes (hyphens in compounds, term unification)
2023-10-26 12:51:34 +03:00
Andrey Zvonov
5737369d0b
Merge branch 'ClickHouse:master' into zvonand-datetime-ranges 2023-10-26 11:42:13 +02:00
Raúl Marín
71dfdf5bfe
Merge pull request #56009 from Algunenano/stress_cont
Stress tests: Try to wait until server is responsive after gdb detach
2023-10-26 11:37:49 +02:00
vdimir
12890eb70c
Merge pull request #55806 from canhld94/rocksdb_trivial_count
Support trivial count for rocksdb and storage join
2023-10-26 11:22:38 +02:00
vdimir
1d5f75fd71
Merge pull request #53404 from ClickHouse/vdimir/check_table_improvements2
Improve CHECK TABLE system query, support checking part
2023-10-26 10:57:44 +02:00
Andrey Zvonov
6fccd55d30
Merge branch 'ClickHouse:master' into zvonand-datetime-ranges 2023-10-26 10:49:38 +02:00
robot-ch-test-poll4
23b7102a39
Merge pull request #55985 from bezik/patch-2
Update architecture.md
2023-10-26 10:11:32 +02:00
Alexey Milovidov
4351446373
Merge pull request #55910 from ClickHouse/remove-cpp-templates
Remove C++ templates, because they are stupid
2023-10-26 09:29:07 +02:00
robot-ch-test-poll3
90c8efa23f
Merge pull request #55979 from kitaisreal/add-show-setting-query
Add SHOW SETTING query
2023-10-26 09:09:25 +02:00
Anton Popov
95df08dee2 fix test 2023-10-25 23:55:39 +00:00
zvonand
0766c73aab Rename date_time_overflow_mode -> date_time_overflow_behavior, moved it to format settings 2023-10-25 23:11:13 +02:00
zvonand
5b86e8c714 updated after review 2023-10-25 23:10:58 +02:00
zvonand
2f3695add8 Introduce setting for dt overflow exception
Added tests and docs
2023-10-25 23:10:24 +02:00
Robert Schulze
0770744032
Try to stabilize test 2023-10-25 21:07:03 +00:00
Robert Schulze
a6eb57a14c
Merge pull request #56006 from rschu1ze/no-scopedlock
Convert unnecessary std::scoped_lock usage to std::lock_guard
2023-10-25 22:59:27 +02:00
Alexey Milovidov
bb5a60dc19
Merge pull request #55893 from ClickHouse/revert-partial-result-2
Revert "Revert "Revert "Add settings for real-time updates during query execution"""
2023-10-25 22:20:28 +02:00
Robert Schulze
425706d76e
Merge pull request #56014 from rschu1ze/protobuf-21.9
Bump protobuf to v21.9
2023-10-25 22:19:49 +02:00