Commit Graph

432 Commits

Author SHA1 Message Date
Simon Podlipsky
677f296214
docs: use k as constant name instead of a in simpleLinearRegression
Function uses `k` internally.

E.g.

```sql
SELECT arrayReduce('simpleLinearRegression', [0, 1, 2, 3], [0, 1, 2, 3]) FORMAT JsonEachRow
```

outputs `{"arrayReduce('simpleLinearRegression', [0, 1, 2, 3], [0, 1, 2, 3])":{"k":1,"b":0}}`
2024-10-21 15:34:15 +02:00
Robert Schulze
da31d3252e
Merge remote-tracking branch 'ClickHouse/master' into query-time-ef-search 2024-10-15 17:24:32 +00:00
Robert Schulze
a197f19396
Some unrelated minor fixes 2024-10-15 16:59:15 +00:00
Alexey Milovidov
80bd0cd58d Even more files are removed 2024-10-15 00:56:27 +02:00
pufit
a89b81852c
Merge branch 'master' into pufit/fix-implicit-grants 2024-10-08 09:45:02 +08:00
Alexey Milovidov
f657f1e0b4 Fix typos 2024-10-06 11:13:43 +08:00
pufit
1250251b4d add FINAL modifier 2024-10-03 22:59:05 -04:00
pufit
2a107e3429 Add WITH IMPLICIT, fix error with implicit grants 2024-10-02 23:20:33 -04:00
Raúl Marín
cedc1d6ed9 Remove references of avgWeighted(Decimal) from the docs 2024-10-01 18:35:18 +02:00
Nikita Taranov
adc9a0de2c
Update ttl.md 2024-09-24 11:44:58 +02:00
PHO
4b05106cc4 Fix the upper bound of function fromModifiedJulianDay()
The upper bound was supposed to be 9999-12-31 but it was accidentally
set to 9999-01-01.
2024-08-20 17:49:26 +09:00
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