Commit Graph

421 Commits

Author SHA1 Message Date
jiaosenvip
10c19d2be1
Conditional statement error
The conditional statement is used incorrectly here, and the two cases are correctly covered after modification.
2024-07-17 11:11:34 +08:00
Maciej Bak
d8eef19f56 Documentation: Add missing IF NOT EXISTS clause for manipulating constraints 2024-06-25 16:41:12 +02:00
Blargian
ce26c4f657 Review changes and replace … with ... 2024-05-23 13:54:45 +02:00
rfraposa
2ce2e2858e Two more slug fixes 2024-05-14 21:50:04 -06:00
Blargian
ca5e70f424 Undo file renaming for ru and zh 2024-05-09 10:57:13 +02:00
Shaun Struwig
16c7ae5a04
Undo renaming 2024-05-09 10:30:22 +02:00
Blargian
a75151e80b Undo renaming and make review changes 2024-05-09 10:29:35 +02:00
Blargian
70c6419651 Standardize file name for null-functions and add isNullable function 2024-05-08 12:51:22 +02:00
Yarik Briukhovetskyi
c0d3be936f
Update rounding-functions.md 2024-04-17 14:42:15 +01:00
Yarik Briukhovetskyi
a3b42abad0
init 2024-04-17 14:34:00 +01:00
Raúl Marín
83d6f2ef99 Correct the documentation about duplicates with argmin and argmax 2024-04-11 21:51:31 +02:00
Robert Schulze
606058c1ca
Consolidate SQL compat alias docs into data type docs + improve sidebar order 2024-04-02 20:26:14 +00:00
yariks5s
9c3bf05675 init 2024-04-02 14:58:45 +00:00
Robert Schulze
84f929ca4e
Merge pull request #61409 from ClibMouse/feature/dateDiff-nanoseconds
Calculate result of `date_diff`/`age` at nanosecond precision
2024-04-02 13:18:19 +02:00
Han Fei
99a5e1ed2d improve 2024-04-01 17:59:38 +02:00
Han Fei
51db06992d refine 2024-04-01 17:54:48 +02:00
Han Fei
fe8d4b5dfc refine 2024-04-01 17:06:54 +02:00
KrJin
f5437d3055
Update string-search-functions.md
Improve zh-cn doc of string-search-functions
2024-03-28 19:08:38 +08:00
Austin Kothig
5020741b25
Add support for nanosecond level precision. 2024-03-14 14:34:45 -07:00
Nikita Mikhaylov
cfa042cb04 Merge branch 'master' of github.com:ClickHouse/ClickHouse into rip-copier 2024-03-11 15:45:20 +00:00
Nikita Mikhaylov
2bc4d27ac6 Bye bye 2024-03-07 19:24:39 +00:00
Alex Cheng
8e4dec3205
Update nullable.md 2024-03-07 17:23:05 +08:00
Alex Cheng
dd5510674e
Update docs/zh/sql-reference/data-types/array.md
Co-authored-by: flynn <fenglv97@gmail.com>
2024-03-07 17:17:47 +08:00
Alex Cheng
ea9ef507fc
Update nullable.md by adding #finding-null 2024-02-29 17:29:37 +08:00
Alex Cheng
7116dd7dca
Update array.md by adding Array Size part 2024-02-29 17:22:25 +08:00
Alexey Milovidov
7c6e28708b
Merge pull request #60370 from ClickHouse/remove-alter-live-view
Remove ALTER LIVE VIEW
2024-02-27 17:45:59 +03:00
Alexey Milovidov
2eb4d25126 Remove ALTER LIVE VIEW 2024-02-23 22:56:18 +01:00
Robert Schulze
52afa46e23
Revert "Replace ORDER BY ALL by ORDER BY *" 2024-02-21 19:05:20 +01:00
Robert Schulze
1edf3b2254
Replace ORDER BY ALL by ORDER BY * to get rid of ambiguities 2024-02-15 16:19:56 +00:00
Jayme Bird
f7173004cc update docs 2024-01-08 12:40:05 +00: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
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
zhongyuankai
01f5b20517 Support ORDER BY ALL 2023-12-16 18:48:23 +08:00
Nikolay Degterinsky
faa3a43803 Fix docs 2023-11-26 19:21:39 +00: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
LaurieLY
646c07981c
Update stddevsamp.md, fix a broken url in md. 2023-09-15 09:44:28 +08: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
cfanbo
2e49255f06
docs: fix func name error 2023-08-29 15:11:28 +08:00
Nikolay Degterinsky
8f3f47a51f
Update insert-into.md 2023-08-14 16:40:36 +02: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
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
Dmitry Kardymon
d2635bff64 Merge remote-tracking branch 'origin/master' into ADQM-868 2023-06-22 19:56:15 +00: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
Denny Crane
aa35689cb1 fix links in other lang-s 2023-06-04 19:39:30 -03:00