Commit Graph

109735 Commits

Author SHA1 Message Date
Maksim Kita
3cd88003dd
Merge pull request #47101 from kitaisreal/analyzer-planner-fixes-before-enable-by-default
Analyzer Planner fixes before enable by default
2023-03-02 22:16:39 +03:00
Nikolai Kochetov
e91cdb4f8d Add stupid retries in clickhouse-test health check. 2023-03-02 19:03:17 +00:00
Alexander Tokmakov
547319eb37 fix 2023-03-02 19:53:47 +01:00
Alexander Tokmakov
edd238273c fix another bug in client 2023-03-02 19:51:05 +01:00
Sema Checherinda
7a9f4aab8e do not call adjustWithUntrackedMemory when untracked_memory is 0 2023-03-02 19:21:03 +01:00
Sema Checherinda
a6c2473518 do flushUntrackedMemory when context swith 2023-03-02 19:21:03 +01:00
Dan Roscigno
fbabba78c9
Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2023-03-02 12:55:23 -05:00
Dan Roscigno
9cb70723d1
Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2023-03-02 12:55:16 -05:00
Dan Roscigno
2db7df6153
Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2023-03-02 12:55:04 -05:00
robot-ch-test-poll4
20bebf7a16
Merge pull request #47150 from Dmitry-k42/master
A few misspells fixed in Russian documentation
2023-03-02 18:53:58 +01:00
Robert Schulze
a0a40fb057
nam --> name 2023-03-02 17:51:43 +00:00
Azat Khuzhin
167e4903a8 Fix concrete columns PREWHERE support
This is the fix for the IStorage::supportedPrewhereColumns() API.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-02 18:51:23 +01:00
robot-clickhouse
fdcbec4fee Automatic style fix 2023-03-02 17:35:56 +00:00
Dan Roscigno
38fbd61788
Merge branch 'master' into DanRoscigno-patch-4 2023-03-02 12:32:04 -05:00
Dan Roscigno
4457ebab48
Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2023-03-02 12:31:56 -05:00
Alexander Tokmakov
c518f3690e Merge branch 'master' into fix_insert_cancellation_in_native_protocol 2023-03-02 18:24:08 +01:00
Alexander Tokmakov
fc8ea01c2b use unique names and paths in test_replicated_database 2023-03-02 18:23:31 +01:00
avogar
14351922e3 Fix possible deadlock in QueryStatus 2023-03-02 17:20:29 +00:00
Alexey Milovidov
2faec6ae54
Merge pull request #47117 from supun-io/master
adds hyvor/clickhouse-php to docs
2023-03-02 20:11:00 +03:00
Robert Schulze
4d444d6f7a
Merge pull request #47149 from ClickHouse/rs/switch-rows
Docs: Switch two rows for consistency
2023-03-02 18:06:18 +01:00
Robert Schulze
d378ae9c76
Docs: Switch two rows for consistency 2023-03-02 17:05:11 +00:00
Azat Khuzhin
63eeec1785 Mark 01771_bloom_filter_not_has as no-parallel and long
This test can take long enough time in debug build > 10min, and because
clickhouse-test does not wait the test in this case and simply call DROP
DATABASE, this will eventually lead to error during DROP since the table
is still in use.

CI: https://s3.amazonaws.com/clickhouse-test-reports/45491/99329d868232d9377d7f808763e951e6f15fd71c/stateless_tests__debug__%5B5/5%5D.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-02 17:46:04 +01:00
Dan Roscigno
73a6c920d3
Update date-time-functions.md
closes #42758
2023-03-02 11:31:22 -05:00
Nikolai Kochetov
48fc545e68
Update 01710_projections.sql 2023-03-02 17:27:57 +01:00
Nikolai Kochetov
95292ce5c7 Make 01710_projections more stable. 2023-03-02 16:26:46 +00:00
Robert Schulze
af56646f63
Merge pull request #47139 from ClickHouse/rs/ctad
Shorten some code with CTAD
2023-03-02 17:22:36 +01:00
Anton Popov
fdf8a418f5 better interface 2023-03-02 14:46:26 +00:00
AndyB
cf245538b9 checker fix 2023-03-02 14:31:38 +00:00
Sema Checherinda
bd5d7f3f81
Merge pull request #47098 from CheSema/release-lambda-before
release lambda resources before detaching thread group
2023-03-02 15:28:18 +01:00
Antonio Andelic
9722d8a403 Rename variable 2023-03-02 14:17:48 +00:00
Robert Schulze
8491325b8d
Merge branch 'master' into rs/binary-compat-check-for-arm 2023-03-02 15:08:55 +01:00
Dmitry
29f0f4e745
Typos in the page /docs/ru/sql-reference/statements/create/table.md 2023-03-02 17:54:16 +04:00
kssenii
10610cbdf4 Fix test 2023-03-02 14:46:20 +01:00
Antonio Andelic
5328a0777b Merge branch 'master' into fix-single-thread-parquet 2023-03-02 13:45:27 +00:00
Robert Schulze
c7833bbda9
Merge pull request #47137 from ClickHouse/rs/cleanup-conversion-docs
Cleanup conversion function docs
2023-03-02 14:38:09 +01:00
Robert Schulze
740aeaba1f
Apply some CTAD 2023-03-02 13:36:47 +00:00
kssenii
2883861795 Merge remote-tracking branch 'upstream/master' into allow-nested-disks-in-custom-disks 2023-03-02 14:30:58 +01:00
Kseniia Sumarokova
6299052d5e
Merge pull request #47103 from ClickHouse/kssenii-patch-6
Removing logging of custom disk structure
2023-03-02 14:28:28 +01:00
Dmitry
d42a95a6c5
Type in the page /docs/ru/sql-reference/statements/select/with.md 2023-03-02 17:25:49 +04:00
Dmitry
39aff35ac3
Typos in the page /docs/ru/sql-reference/statements/select/union.md 2023-03-02 17:23:02 +04:00
Dmitry
00d28893e8
Typos in the page /docs/ru/sql-reference/statements/select/sample.md 2023-03-02 17:20:25 +04:00
Dmitry
f57bb3d71e
Typo in the page /docs/ru/sql-reference/statements/select/prewhere.md 2023-03-02 17:14:52 +04:00
Dmitry
4a746f32a5
Typos in the page /docs/ru/sql-reference/statements/select/order-by.md 2023-03-02 17:12:15 +04:00
Robert Schulze
0a9d3bf4ae
Cleanup conversion function docs 2023-03-02 13:05:09 +00:00
Kseniia Sumarokova
e95c4b6379
Merge pull request #47011 from kssenii/fix-azure-test
Fix flaky azure test
2023-03-02 13:59:43 +01:00
Kseniia Sumarokova
2b10f99720
Merge branch 'master' into kssenii-patch-6 2023-03-02 13:56:02 +01:00
alex filatov
bafd9773bc
fix Unknown library method 'extDict_libClone'
We have an issue when using external dictionary. Occasionally library bridge called with extDict_libClone and fails with Unknown library method 'extDict_libClone'. And it looks like it is because of at some point `else if (method == "extDict_libNew")` was changed to  if (lib_new) with no handling for extDict_libClone inside this new if else statement and reporing an error that extDict_libClone is an unknown method.

So there is a two-line fix to handle extDict_libClone properly.

Error logs that we have:

```
2022.12.16 14:17:44.285088 [ 393573 ] {} <Error> ExternalDictionaries: Could not update cache dictionary 'dict.vhash_s', next update is scheduled at 2022-12-16 14:18:00: Code: 86. DB::Exception: Received error from remote server /extdict_request?version=1&dictionary_id=be2b2cd1-ba57-4658-8d1b-35ef40ab005b&method=extDict_libClone&from_dictionary_id=c3537142-eaa9-4deb-9b65-47eb8ea1dee6. HTTP status code: 500 Internal Server Error, body: Unknown library method 'extDict_libClone'
2022.12.16 14:17:44.387049 [ 399133 ] {} <Error> ExternalDictionaries: Could not update cache dictionary 'dict.vhash_s', next update is scheduled at 2022-12-16 14:17:51: Code: 86. DB::Exception: Received error from remote server /extdict_request?version=1&dictionary_id=0df866ac-6c94-4974-a76c-3940522091b9&method=extDict_libClone&from_dictionary_id=c3537142-eaa9-4deb-9b65-47eb8ea1dee6. HTTP status code: 500 Internal Server Error, body: Unknown library method 'extDict_libClone'
2022.12.16 14:17:44.488468 [ 397769 ] {} <Error> ExternalDictionaries: Could not update cache dictionary 'dict.vhash_s', next update is scheduled at 2022-12-16 14:19:38: Code: 86. DB::Exception: Received error from remote server /extdict_request?version=1&dictionary_id=2d8af321-b669-4526-982b-42c0fabf0e8d&method=extDict_libClone&from_dictionary_id=c3537142-eaa9-4deb-9b65-47eb8ea1dee6. HTTP status code: 500 Internal Server Error, body: Unknown library method 'extDict_libClone'
2022.12.16 14:17:44.489935 [ 398226 ] {datamarts_v_dwh_node0032-241534:0x552da2_1_11} <Error> executeQuery: Code: 510. DB::Exception: Update failed for dictionary 'dict.vhash_s': Code: 510. DB::Exception: Update failed for dictionary dict.vhash_s : Code: 86. DB::Exception: Received error from remote server /extdict_request?version=1&dictionary_id=be2b2cd1-ba57-4658-8d1b-35ef40ab005b&method=extDict_libClone&from_dictionary_id=c3537142-eaa9-4deb-9b65-47eb8ea1dee6. HTTP status code: 500 Internal Server Error, body: Unknown library method 'extDict_libClone'
```
2023-03-02 15:53:09 +03:00
Dmitry
6aee723918
Typos in the page /docs/ru/sql-reference/statements/select/join.md 2023-03-02 16:50:28 +04:00
Kseniia Sumarokova
09444eeea1
Merge pull request #47006 from ucasfl/null
Table function null default table structure
2023-03-02 13:43:16 +01:00
Maksim Kita
d55b800fc6 Fixed code review issues 2023-03-02 13:43:03 +01:00