Commit Graph

1558 Commits

Author SHA1 Message Date
Robert Schulze
6f6e74ad8b
Merge remote-tracking branch 'rschu1ze/master' into order-by-all-ambiguities 2024-02-19 15:19:13 +00:00
Robert Schulze
1edf3b2254
Replace ORDER BY ALL by ORDER BY * to get rid of ambiguities 2024-02-15 16:19:56 +00:00
Nikolai Fedorovskikh
a98af159b5 [Docs] fix some typos and missing commas 2024-02-13 02:10:41 +01:00
Han Fei
2c107e1925
Update docs/zh/faq/operations/delete-old-data.md 2024-01-22 00:29:06 +01:00
Han Fei
baf42d777f
Update docs/zh/faq/operations/delete-old-data.md 2024-01-22 00:29:01 +01:00
Han Fei
4938bf89de
Update docs/zh/faq/operations/delete-old-data.md 2024-01-22 00:28:55 +01:00
Han Fei
1244818350
Update docs/zh/faq/operations/delete-old-data.md 2024-01-22 00:28:47 +01:00
Han Fei
edccae1d62
Update docs/zh/faq/operations/delete-old-data.md 2024-01-22 00:28:40 +01:00
Han Fei
861e050963
Update docs/zh/faq/operations/delete-old-data.md 2024-01-22 00:28:33 +01:00
Han Fei
db93b72dcc
Update docs/zh/faq/operations/delete-old-data.md 2024-01-22 00:28:27 +01:00
Han Fei
30c6e1f151
Update docs/zh/faq/operations/delete-old-data.md 2024-01-22 00:28:20 +01:00
Han Fei
a1a5ae59d5
Update docs/zh/faq/general/ne-tormozit.md 2024-01-22 00:28:14 +01:00
Han Fei
bc5a6e8e63
Update docs/zh/faq/general/ne-tormozit.md 2024-01-22 00:28:06 +01:00
Han Fei
ab95031399
Update docs/zh/faq/integration/json-import.md 2024-01-22 00:27:59 +01:00
Han Fei
51524aadc5
Update docs/zh/faq/general/ne-tormozit.md 2024-01-22 00:27:52 +01:00
Han Fei
9b5c781932
Update docs/zh/faq/general/ne-tormozit.md 2024-01-22 00:27:44 +01:00
Han Fei
2c394155ad
Update docs/zh/faq/general/ne-tormozit.md 2024-01-22 00:27:35 +01:00
Waterkin
ef044842c5 Translate Eng docs to Chinese.
Signed-off-by: Waterkin <1055905911@qq.com>
2024-01-17 13:33:02 +08:00
Jayme Bird
f7173004cc update docs 2024-01-08 12:40:05 +00:00
Alexey Milovidov
48a397577c Add a style check against DOS and Windows 2023-12-29 13:10:40 +01:00
Kruglov Pavel
ca7001d70f
Merge pull request #57850 from shanielh/feature/s3-session-token
Feature/s3 session token
2023-12-20 17:22:09 +01:00
Robert Schulze
952175ce39
Merge pull request #57875 from zhongyuankai/order_by_all
Support `ORDER BY ALL`
2023-12-19 13:38:07 +01:00
Shani Elharrar
679a0e1300 StorageS3 / TableFunctionS3: Allow passing session_token to AuthSettings
This can help users that want to pass temporary credentials that
issued by AWS in order to load data from S3 without changing
configuration or creating an IAM User.

Fixes #57848
2023-12-19 08:06:36 +02:00
Raúl Marín
2639d0715f Merge remote-tracking branch 'blessed/master' into log_message_string 2023-12-18 10:40:18 +01:00
Robert Schulze
7f675ddf80
Merge pull request #57878 from Jpnock/master
Apply full-text skipping index when using `hasAny()`
2023-12-17 11:06:29 +01:00
zhongyuankai
01f5b20517 Support ORDER BY ALL 2023-12-16 18:48:23 +08:00
Raúl Marín
b269f87f4c Better text_log with ErrnoException 2023-12-15 19:27:56 +01:00
James Nock
2c24e438aa Add docs for skip index support of hasXXX() funcs 2023-12-15 17:28:45 +00:00
Azat Khuzhin
0e86e16a01
Revert "Replace --no-system-tables with loading virtual tables of system database lazily" 2023-12-14 09:07:47 +01:00
Azat Khuzhin
cc9afe6f6e Replace --no-system-tables with loading virtual tables of system database lazily
First of all the problem is that that simple 'SELECT 1' cannot be runned
without system.one, which makes --no-system-tables almost useless:

    $ ./clickhouse-debug local --no-system-tables -q "select 1"
    Code: 81. DB::Exception: Database system does not exist. (UNKNOWN_DATABASE)

Secondly there are just too much flags, and this one
(--no-system-tables) is too damn specific.

This patch should improve startup time of the clickhouse-local almost
3x in debug builds.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-12-09 23:08:29 +01:00
hdhoang
fc8292182c
fix typo TKSV
correct name is TS-KV
2023-12-07 20:19:00 +07:00
Alexey Milovidov
0b597eadf8 Clarify the usage of prefer_not_to_merge option 2023-12-06 12:11:03 +01:00
Nikita Taranov
a32c5e976a
Don't print server revision in client on connect (#57435) 2023-12-02 16:32:34 +01:00
Nikolay Degterinsky
de0876ed68
Merge pull request #57234 from evillique/fix-docs-anchors
Fix docs
2023-11-27 01:22:43 +01:00
Nikolay Degterinsky
faa3a43803 Fix docs 2023-11-26 19:21:39 +00:00
slu
4ff41c7e30
fix wrong word order 2023-11-23 17:30:28 +08:00
Alexey Milovidov
f1ccee34cc Fix tests and docs 2023-11-11 09:28:30 +01:00
Azat Khuzhin
c25d6cd624
Rename directory monitor concept into background INSERT (#55978)
* Limit log frequence for "Skipping send data over distributed table" message

After SYSTEM STOP DISTRIBUTED SENDS it will constantly print this
message.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Rename directory monitor concept into async INSERT

Rename the following query settings (with preserving backward
compatiblity, by keeping old name as an alias):
- distributed_directory_monitor_sleep_time_ms -> distributed_async_insert_sleep_time_ms
- distributed_directory_monitor_max_sleep_time_ms -> distributed_async_insert_max_sleep_time_ms
- distributed_directory_monitor_batch -> distributed_async_insert_batch_inserts
- distributed_directory_monitor_split_batch_on_failure -> distributed_async_insert_split_batch_on_failure

Rename the following table settings (with preserving backward
compatiblity, by keeping old name as an alias):
- monitor_batch_inserts -> async_insert_batch
- monitor_split_batch_on_failure -> async_insert_split_batch_on_failure
- directory_monitor_sleep_time_ms -> async_insert_sleep_time_ms
- directory_monitor_max_sleep_time_ms -> async_insert_max_sleep_time_ms

And also update all the references:

    $ gg -e directory_monitor_ -e monitor_ tests docs | cut -d: -f1 | sort -u | xargs sed -e 's/distributed_directory_monitor_sleep_time_ms/distributed_async_insert_sleep_time_ms/g' -e 's/distributed_directory_monitor_max_sleep_time_ms/distributed_async_insert_max_sleep_time_ms/g' -e 's/distributed_directory_monitor_batch_inserts/distributed_async_insert_batch/g' -e 's/distributed_directory_monitor_split_batch_on_failure/distributed_async_insert_split_batch_on_failure/g' -e 's/monitor_batch_inserts/async_insert_batch/g' -e 's/monitor_split_batch_on_failure/async_insert_split_batch_on_failure/g' -e 's/monitor_sleep_time_ms/async_insert_sleep_time_ms/g' -e 's/monitor_max_sleep_time_ms/async_insert_max_sleep_time_ms/g' -i

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Rename async_insert for Distributed into background_insert

This will avoid amigibuity between general async INSERT's and INSERT
into Distributed, which are indeed background, so new term express it
even better.

Mostly done with:

    $ git di HEAD^ --name-only | xargs sed -i -e 's/distributed_async_insert/distributed_background_insert/g' -e 's/async_insert_batch/background_insert_batch/g' -e 's/async_insert_split_batch_on_failure/background_insert_split_batch_on_failure/g' -e 's/async_insert_sleep_time_ms/background_insert_sleep_time_ms/g' -e 's/async_insert_max_sleep_time_ms/background_insert_max_sleep_time_ms/g'

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Mark 02417_opentelemetry_insert_on_distributed_table as long

CI: https://s3.amazonaws.com/clickhouse-test-reports/55978/7a6abb03a0b507e29e999cb7e04f246a119c6f28/stateless_tests_flaky_check__asan_.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

---------

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-01 15:09:39 +01:00
Daniel Byta
e6f5fb2ffe
Update zh client-libraries.md 2023-10-11 15:44:00 +03:00
Alexey Milovidov
c7ae1afb8f Review #51946 and partially revert it 2023-10-08 15:17:41 +02:00
Alexey Milovidov
25a7f86da7
Update hive.md 2023-10-08 00:51:19 +03:00
Denny Crane
3e80f66d38 update use_local_cache_for_remote_storage settings name 2023-10-03 21:09:35 -03:00
Robert Schulze
d31a43a379
Remove Woboq 2023-09-18 17:44:04 +00:00
kssenii
10518a9c83 Merge remote-tracking branch 'upstream/master' into kssenii-patch-6 2023-09-18 13:00:26 +02:00
LaurieLY
646c07981c
Update stddevsamp.md, fix a broken url in md. 2023-09-15 09:44:28 +08:00
kssenii
beb9a75a68 A few more 2023-09-11 12:40:25 +02:00
robot-clickhouse-ci-2
47c0f8c99f
Merge pull request #54179 from joelynch/http-query-timing
Add elapsed_ns to HTTP headers X-ClickHouse-Progress and X-ClickHouse-Summary
2023-09-11 06:18:47 +02:00
Robert Schulze
4d2223defe
Merge pull request #54119 from mkmkme/mkmkme/aklomp-base64
Replace Turbo-Base64 with aklomp/base64
2023-09-09 16:24:26 +02:00
Robert Schulze
bff06d18aa
Merge pull request #54249 from rschu1ze/multiple_query_arguments
Allow multiple `--query` parameters in clickhouse-client/local.
2023-09-07 21:20:07 +02:00
Robert Schulze
cd3c121a62
Various fixups 2023-09-07 10:32:49 +00:00
Mikhail Koviazin
f98007a4ed
Replace Turbo-Base64 with aklomp/base64
Closes #31643
2023-09-06 13:01:38 +00:00
Joe Lynch
767f2472c2
Add elapsed_ns to HTTP headers X-ClickHouse-Progress and X-ClickHouse-Summary
The TCP interface progress has this field. This is not a super accurate
measure of server side query time, but trying to measure from the client
is even worse.
2023-09-05 21:03:13 +02:00
robot-clickhouse
9cafdbd972
Merge pull request #54309 from evillique/better-docs
Make docs better
2023-09-05 15:58:59 +02:00
Nikolay Degterinsky
2db239d6ad Make docs better 2023-09-05 12:43:53 +00:00
Ziy1-Tan
5db1961129
Allow specifying --query multiple times in the command line 2023-09-04 11:44:22 +00:00
cfanbo
2e49255f06
docs: fix func name error 2023-08-29 15:11:28 +08:00
Alexey Milovidov
88128db26f
Merge pull request #53624 from ClickHouse/docs-smt-zh
Add translated Chinese language docs for SharedMergeTree
2023-08-28 01:07:48 +03:00
Justin de Guzman
09b673c551
Hanfei suggestion 6 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:52:50 -07:00
Justin de Guzman
7ad58881f4
Hanfei suggestion 5 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:52:36 -07:00
Justin de Guzman
c646b71908
Hanfei suggestion 4 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:52:15 -07:00
Justin de Guzman
449ca9032e
Hanfei suggestion 3 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:51:59 -07:00
Justin de Guzman
c09f966a96
Hanfei suggestion 2 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:51:47 -07:00
Justin de Guzman
2c07859529
Hanfei suggestion 1 - SMT translation
Co-authored-by: Han Fei <hanfei19910905@gmail.com>
2023-08-26 17:51:31 -07:00
selfuppen
d1d7f8ad26 [doc/zh]: apply all suggestions from code review 2023-08-24 14:31:20 +08:00
selfuppen
87dbadc634 [fix][doc/zh]: fix some inner-links in sparse-primary-indexes.md 2023-08-22 23:31:56 +08:00
selfuppen
8028b2a378 [fix][doc/zh]: fix binary search algorithm translation in sparse-primary-indexes.md 2023-08-22 22:52:41 +08:00
Justin de Guzman
0f490b6a91
Additional translations for SMT 2023-08-21 08:51:38 -07:00
justindeguzman
5aac627137 Add translated Chinese language docs for SharedMergeTree 2023-08-20 23:22:22 -07:00
selfuppen
178d3e89bc [fix][doc/zh]: fix some pictures path in sparse-primary-indexes.md 2023-08-21 08:28:42 +08:00
selfuppen
22a84551f2 [doc/zh]: translate the last two part of sparse-primary-index chinese doc. 2023-08-20 17:49:33 +08:00
Nikolay Degterinsky
8f3f47a51f
Update insert-into.md 2023-08-14 16:40:36 +02:00
robot-ch-test-poll1
ed0349b59c
Merge pull request #53334 from selfuppen/doc/zh/sparse-primary-indexes-update
[doc/zh]: solve the issue#53254
2023-08-13 17:49:59 +02:00
Alexey Milovidov
d87997d001
Merge pull request #52893 from knoguchi/CVE-2016-2183
CVE-2016-2183: disable 3DES
2023-08-12 03:34:49 +03:00
selfuppen
6a343a0b6f [doc/zh]: issues/53254:1. remove incorrect description about the orange-marked column values;2. remove dated description about the default value of optimize_use_projections ;3. add new note items for projection 2023-08-11 20:43:00 +08:00
Alexey Milovidov
1ab99e5fdd Replace old docs with symlinks 2023-08-08 22:38:52 +02:00
Elena Torró
f423b440d1 Add optional parameters to Engine definition 2023-08-07 09:55:16 +02:00
Alexander Zaitsev
b4d692c95f doc: try to fix PGO docs 2023-08-02 16:08:38 +02:00
Kenji Noguchi
17c4abce10 CVE-2016-2183: disable 3DES 2023-08-01 10:44:43 -07:00
Dmitry Kardymon
810137e57a Add new peak_memory_usage to docs 2023-07-24 05:59:07 +00:00
Samuel Colvin
02fe735b76
fix in other other languages 2023-07-19 20:12:35 +01:00
Dmitry Kardymon
a644317f57 Revert "Merge pull request #52129 from ClickHouse/revert-51291-ADQM-868"
This reverts commit 1b9bcae68e, reversing
changes made to 7284749d05.
2023-07-16 18:07:22 +00:00
Alexey Milovidov
9307e60c20
Revert "Millisecond and microsecond support in date_diff / age functions" 2023-07-14 23:21:26 +03:00
Dmitry Kardymon
3237169c9a Merge remote-tracking branch 'origin/master' into ADQM-868 2023-07-10 13:24:17 +00:00
Alexey Milovidov
cf66be571f
Merge branch 'master' into remove-useless-packages 2023-07-07 13:44:13 +03:00
Rory Crispin
77d62f495b
Merge branch 'master' into docs-remove-async-ml-event-time 2023-07-06 13:38:20 +01:00
Alexey Milovidov
75d051dd55 Remove useless packages 2023-07-06 01:49:53 +02:00
Rory Crispin
c9a26d43c5 (docs) Remove async_metric_log event_time_microseconds
event_time_microseconds was removed from the
system.asynchronous_metric_log in
https://github.com/ClickHouse/ClickHouse/pull/36360
2023-07-04 12:06:15 +01:00
Dmitry Kardymon
ed16828b70 Merge remote-tracking branch 'clickhouse/master' into ADQM-868 2023-07-04 08:18:57 +03:00
taojiatao
351f2757f0 translation correction, about assumeNotNull with null value 2023-06-29 19:34:04 +08:00
Dmitry Kardymon
c85ade9c27 Add const multiplier 2023-06-26 07:44:19 +00:00
Alexey Milovidov
0e88aae9d7 Remove ConsoleCertificateHandler 2023-06-26 04:27:50 +02:00
Dmitry Kardymon
d2635bff64 Merge remote-tracking branch 'origin/master' into ADQM-868 2023-06-22 19:56:15 +00:00
Dan Roscigno
c856c4a7df
Merge branch 'master' into Docs/ip_addresses 2023-06-21 17:26:27 -04:00
Dmitry Kardymon
792cdb6da5 Add millisecond support to age() / add tests 2023-06-20 08:26:59 +00:00
Dmitry Kardymon
02b5b50e41 Add milli/micro seconds support for date_diff 2023-06-16 12:39:46 +00:00
DanRoscigno
005e7d3b27 Chinese also 2023-06-14 17:40:29 -04:00
Denny Crane
aa35689cb1 fix links in other lang-s 2023-06-04 19:39:30 -03:00
Raúl Marín
dcd5579851 Mention ON CLUSTER options for SYSTEM queries 2023-06-02 16:51:04 +02:00
zy-kkk
90ee85d33a
Errata build osx zh doc (#50054) 2023-05-23 17:53:27 +02:00
Nikolay Degterinsky
d4b89cb643
Merge pull request #49356 from Ziy1-Tan/vcol
Support for `_path` and `_file` virtual columns for table function `url`.
2023-05-22 18:10:32 +02:00