Commit Graph

156101 Commits

Author SHA1 Message Date
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
Pavel Kruglov
addd648393
Update settings-formats.md 2024-10-07 12:32:10 +08:00
Pavel Kruglov
7345fb593c
Update settings-formats.md 2024-10-07 12:31:47 +08:00
Pavel Kruglov
84541a3f49
Update formats.md 2024-10-07 12:30:54 +08:00
Pavel Kruglov
291cd824cd
Merge branch 'master' into json-as-string-row-binary 2024-10-07 06:29:51 +02:00
Pavel Kruglov
4ee78ee4f4
Merge branch 'master' into native-json-as-string 2024-10-07 06:06:57 +02:00
Pavel Kruglov
e402f1ae84
Merge pull request #70328 from Avogar/fix-dynamic-reduce-alter
Fix ALTER of Dynamic type with reducing max_types parameter
2024-10-07 04:05:06 +00:00
Julia Kartseva
3668258127 display progress table if toggling is disabled 2024-10-06 20:36:06 +00:00
Julia Kartseva
2d8bda03b5 fix cursor display
Restore cursor when query is canceled by Ctrl-C.
Immediately stop intercepting keystrokes after SIGINT is received.
2024-10-06 20:28:47 +00:00
Azat Khuzhin
17c7fe883b Ignore "Invalid multibyte data detected" error during completion
Due to now the description of settings are also written.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-10-06 21:45:12 +02:00
Blargian
341edc06b1 update extract and add extractGroups 2024-10-06 19:49:18 +02:00
Alexey Milovidov
1e36e19aa9
Merge pull request #70289 from ClickHouse/inline-documentation-for-settings
Make embedded documentation for Settings strictly better than the Markdown docs
2024-10-06 13:05:52 +00:00
Azat Khuzhin
eca9ec566a tests: fix permissions for files in user_files
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-10-06 14:48:52 +02:00
Blargian
ba777cdcc8 document currentSchemas function 2024-10-06 12:32:33 +02:00
Konstantin Bogdanov
537e3714de
Update .git-blame-ignore-revs 2024-10-06 12:30:39 +02:00
Konstantin Bogdanov
307064cae5
Fix broken build 2024-10-06 12:29:45 +02:00
Konstantin Bogdanov
2bbddc2940
Add to .git-blame-ignore-revs 2024-10-06 12:29:45 +02:00
Konstantin Bogdanov
32e7399b91
Fix clang-tidy 2024-10-06 12:29:44 +02:00
Konstantin Bogdanov
5a832fb196
Undo updating .clang-tidy 2024-10-06 12:29:44 +02:00
Konstantin Bogdanov
67c1e89d90
Apply linter changes 2024-10-06 12:29:20 +02:00
Blargian
5f734dbeba remove duplicate connection_id and add it as an alias to connectionId 2024-10-06 12:08:32 +02:00
Blargian
0dd8de1844 update ignore function documentation 2024-10-06 11:42:16 +02:00
Azat Khuzhin
e701cec0f2 Add a test for SYSTEM DROP FORMAT SCHEMA CACHE FOR Protobuf
I was able to reproduce the problem, but only with ASan build, but CI is
better them me in this job.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-10-06 08:11:10 +02:00
Alexey Milovidov
f056c6c2e5 Add words to dict 2024-10-06 11:35:27 +08:00
Alexey Milovidov
d87fcab2fb Fix typos 2024-10-06 11:33:59 +08:00
Alexey Milovidov
c4b89b56f2 Fix style 2024-10-06 11:31:35 +08:00
Alexey Milovidov
acd0760026 Fix style 2024-10-06 11:31:01 +08:00
Alexey Milovidov
0b291cb079 Fix tidy 2024-10-06 11:16:15 +08:00
Alexey Milovidov
9a30ae7c37 Trim newlines 2024-10-06 11:16:02 +08:00
Alexey Milovidov
1ffae83809 Fix style 2024-10-06 11:15:47 +08:00