Commit Graph

156021 Commits

Author SHA1 Message Date
Pavel Kruglov
30991f29ac
Merge pull request #69691 from Avogar/default-implementation-for-dynamic
Support Dynamic type in most functions
2024-10-08 08:22:26 +00:00
Michael Kolupaev
53f78b2e49
Merge pull request #70462 from ClickHouse/waitwice
Fix flaky test_refreshable_mv_in_replicated_db
2024-10-08 08:11:20 +00:00
Robert Schulze
c9fdeb5174
[Docs] Fix grammar and consistency
Cf. #70219, #70220, #70221, #70255, #70279
2024-10-08 08:05:41 +00:00
Michael Kolupaev
dfd74322b1 Make the test work when ran multiple times with the same fixture 2024-10-08 07:44:03 +00:00
Antonio Andelic
9a3f76a9a5 Add test 2024-10-08 09:38:15 +02:00
János Benjamin Antal
f3071fb01c Fix build 2024-10-08 06:49:57 +00:00
pufit
c901c74a2e
Merge pull request #70293 from ClickHouse/pufit/fix-implicit-grants
`SHOW GRANTS WITH IMPLICIT`, fix error with implicit grants
2024-10-08 06:29:41 +00:00
Raúl Marín
6824b31c4f Fix crash in WHERE with lambda functions 2024-10-08 14:14:55 +08:00
robot-clickhouse
1d70ca4848
Merge pull request #70463 from ClickHouse/auto/v24.8.5.115-lts
Update version_date.tsv and changelog after v24.8.5.115-lts
2024-10-08 05:49:02 +00:00
János Benjamin Antal
2bd0d0cf11
Merge branch 'master' into validate-create-query-after-alter 2024-10-08 07:45:55 +02:00
Robert Schulze
1337f66cd0
Merge pull request #70360 from azat/vector-similarity-comments
Update comments in VectorSimilarityCondition (WHERE is not supported)
2024-10-08 05:30:14 +00:00
robot-clickhouse
9966eea716 Automatic style fix 2024-10-08 05:05:51 +00:00
robot-clickhouse
e54eabde84 Update version_date.tsv and changelogs after v24.8.5.115-lts 2024-10-08 05:00:26 +00:00
Michael Kolupaev
f78b298f61 Fix flaky test_refreshable_mv_in_replicated_db 2024-10-08 04:56:53 +00:00
David Tsukernik
2b94fba674 Style fixes 2024-10-08 04:15:38 +00:00
David Tsukernik
5ecd654ec0 Fix tests 2024-10-08 04:12:14 +00:00
robot-clickhouse
518be41439 Automatic style fix 2024-10-08 04:09:53 +00:00
kssenii
b2184ed6bd Merge remote-tracking branch 'origin' into cache-for-object-storage-table-engines 2024-10-08 06:07:48 +02:00
Michael Kolupaev
f7d9c3a9b1 Fix refreshable MV in system database breaking server startup 2024-10-08 04:00:19 +00:00
liuneng
a1e38decc2 Merge remote-tracking branch 'origin/master' into parquet-prefetch
# Conflicts:
#	src/Core/FormatFactorySettingsDeclaration.h
2024-10-08 11:35:02 +08:00
taiyang-li
af89ec5b82 solve conflicts 2024-10-08 11:34:37 +08:00
David Tsukernik
c876b17702 Add ad test 2024-10-08 02:24:24 +00:00
David Tsukernik
34fe797e02 Use an implicit true value for bool settings 2024-10-08 01:56:06 +00:00
pufit
a89b81852c
Merge branch 'master' into pufit/fix-implicit-grants 2024-10-08 09:45:02 +08:00
Shichao
e78ad9d5e6
Merge pull request #70456 from kylhuk/fix-documentation-reference-to-users-config
fix: fixed filename reference in documentation
2024-10-07 23:08:03 +00:00
kylhuk
97b596123d fix: fixed filename reference in documentation 2024-10-07 23:19:47 +02:00
johnnyfish
92d7b11eef Update gui.md 2024-10-08 00:09:22 +03:00
Arthur Passos
37206d8c9a add setting lost during merge 2024-10-07 16:59:29 -03:00
Arthur Passos
ce74e317a2 Merge branch 'master' into add_parquet_bloom_filters_support 2024-10-07 16:56:37 -03:00
Shichao
8e5781e68b
Merge pull request #70455 from pdruley/pdruley/intersect-doc
minor typo fix for example intersect SQL
2024-10-07 19:28:05 +00:00
Arthur Passos
ed77901a1d progress 2024-10-07 16:14:55 -03:00
Patrick Druley
b9b905089d minor typo fix for example intersect SQL 2024-10-07 14:42:20 -04:00
Shaun Struwig
515361ac3d
Merge branch 'master' into docs_toIP 2024-10-07 18:30:45 +02:00
Blargian
c2d63df5ad add missing toIP functions 2024-10-07 18:25:58 +02:00
Alexander Gololobov
4138ec4d72
Merge pull request #70444 from ClickHouse/make_explain_methods_const
Make QueryPlan explain methods const
2024-10-07 15:38:50 +00:00
Alexander Gololobov
1a2cd1d58f Fix order in 03249_dynamic_alter_consistency 2024-10-07 23:35:00 +08:00
vdimir
925a7f4a61
Merge pull request #70357 from ClickHouse/vdimir/fix_02346_fulltext_index_bug52019
Fix 02346_fulltext_index_bug52019
2024-10-07 15:18:21 +00:00
Antonio Andelic
57fa4239e5 Don't prefetch parts with no rows 2024-10-07 16:56:13 +02:00
vdimir
7b6aa982a3
Update src/Core/Settings.cpp 2024-10-07 12:14:09 +02:00
vdimir
04858096f4
Merge branch 'master' into vdimir/followup-69411 2024-10-07 12:13:34 +02:00
vdimir
baf8c03473
Merge branch 'master' into vdimir/window-funnel-fix-dedup2 2024-10-07 11:59:02 +02:00
Konstantin Bogdanov
2f8d15bcaa
Merge pull request #69768 from ClickHouse/tidy-redability-else-after-return
Prepare to enable `clang-tidy` `readability-else-after-return`
2024-10-07 07:53:18 +00:00
Azat Khuzhin
cd826389e9 Decrease severity of "Will use old analyzer to prepare mutation" to "test"
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-10-07 09:20:28 +02:00
Azat Khuzhin
fdeaf55b0f Increase lock timeout in attempt to fix 02125_many_mutations
Recent failures on CI [1]:

    2024.10.06 16:28:33.624022 [ 620 ] {0e953192-be08-422a-a21f-c3b6f8f5e24d} <Debug> executeQuery: (from [::1]:58814) (comment: 02125_many_mutations.sh) system start merges many_mutations; (stage: Complete)
    2024.10.06 16:28:33.624022 [ 620 ] {0e953192-be08-422a-a21f-c3b6f8f5e24d} <Debug> executeQuery: (from [::1]:58814) (comment: 02125_many_mutations.sh) system start merges many_mutations; (stage: Complete)
    2024.10.06 16:28:33.624408 [ 620 ] {0e953192-be08-422a-a21f-c3b6f8f5e24d} <Debug> TCPHandler: Processed in 0.00091483 sec.
    2024.10.06 16:28:33.624480 [ 929 ] {} <Debug> MutationsInterpreter(test_xa6pnknp.many_mutations): Will use old analyzer to prepare mutation
    ...
    2024.10.06 16:28:33.625358 [ 620 ] {d6a3f295-498f-48e2-8af7-bbec46e03a7e} <Debug> executeQuery: (from [::1]:58814) (comment: 02125_many_mutations.sh) optimize table many_mutations final SETTINGS optimize_throw_if_noop = 1; (stage: Complete)
    ...
    2024.10.06 16:28:37.765705 [ 929 ] {} <Debug> MutationsInterpreter(test_xa6pnknp.many_mutations): Will use old analyzer to prepare mutation
    2024.10.06 16:28:37.765881 [ 929 ] {} <Trace> DiskLocal: Reserved 1.00 MiB on local disk `default`, having unreserved 127.09 GiB.
    2024.10.06 16:28:37.765946 [ 620 ] {d6a3f295-498f-48e2-8af7-bbec46e03a7e} <Debug> test_xa6pnknp.many_mutations (32de70b8-ea0a-4766-ac95-8ebc7923205e): Waiting for currently running merges (1 parts are merging right now) to perform OPTIMIZE FINAL
    ...
    2024.10.06 16:28:37.968946 [ 1227 ] {32de70b8-ea0a-4766-ac95-8ebc7923205e::all_1_1_0_20001} <Debug> MutationsInterpreter(test_xa6pnknp.many_mutations): Will use old analyzer to prepare mutation
    ...
    2024.10.06 16:31:24.077825 [ 620 ] {d6a3f295-498f-48e2-8af7-bbec46e03a7e} <Information> test_xa6pnknp.many_mutations (32de70b8-ea0a-4766-ac95-8ebc7923205e): Cannot OPTIMIZE table: Timeout (120000 ms) while waiting for already running merges before running OPTIMIZE with FINAL. Cannot select pa>
    ...
    2024.10.06 16:31:33.473249 [ 1235 ] {32de70b8-ea0a-4766-ac95-8ebc7923205e::all_1_1_0_20001} <Trace> test_xa6pnknp.many_mutations (32de70b8-ea0a-4766-ac95-8ebc7923205e): Renaming temporary part tmp_mut_all_1_1_0_20001 to all_1_1_0_20001 with tid (1, 1, 00000000-0000-0000-0000-000000000000).
    ...
    2024.10.06 16:31:34.944518 [ 1268 ] {} <Trace> test_xa6pnknp.many_mutations (32de70b8-ea0a-4766-ac95-8ebc7923205e): Removing mutation: mutation_2.txt
    2024.10.06 16:31:34.945149 [ 1268 ] {} <Trace> test_xa6pnknp.many_mutations (32de70b8-ea0a-4766-ac95-8ebc7923205e): Removing mutation: mutation_3.txt

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/70358/eca9ec566a63a9046bb3f1c9373d671946a95ba4/stateless_tests__aarch64_.html

The problem is that after "start merges" all mutations will start, and
the OPTIMIZE may be blocked for too long due to too much mutations in
the queue.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-10-07 09:20:28 +02:00
Alexander Gololobov
25e798e04e Make QueryPlan explain methods const 2024-10-07 15:17:31 +08:00
Azat Khuzhin
3f873f1508 Fix 0.1 second delay for interactive queries (due to keystroke interceptor)
Introduced in #63689, improved from 0.3 to 0.1 in #70423 with condvar.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-10-07 09:17:19 +02:00
Julia Kartseva
a98fca0637
Merge pull request #70423 from ClickHouse/realtime-metrics-followup
Follow-up on clickhouse-client realtime metrics display #63689
2024-10-07 05:07:13 +00:00
Pavel Kruglov
093633bf6a
Merge pull request #69584 from Avogar/fix-postgresql-fixed-string-issue
Fix inserting into FixedString column in PostgreSQL engine
2024-10-07 04:48:14 +00:00
Pavel Kruglov
8348670099
Merge pull request #70172 from Avogar/fix-column-object-copy
Fix crash in JSON column
2024-10-07 04:44:20 +00:00
Pavel Kruglov
819ceaaf4e
Update FormatFactorySettingsDeclaration.h 2024-10-07 12:36:43 +08:00