Commit Graph

5222 Commits

Author SHA1 Message Date
Raúl Marín
aecc135f5d Add more details about how NULLs are processed in aggregations 2024-03-13 17:03:18 +01:00
qaziqarta
b8abd57b0f
Updated references to format settings in datetime.md
Updated references to date_time_input_format and date_time_output_format.
2024-03-13 21:18:05 +06:00
Robert Schulze
7a5ac383e5
Merge pull request #61308 from rschu1ze/docs-sleep
Docs: Follow up to #61258
2024-03-13 15:42:47 +01:00
Robert Schulze
d2a523579a
Merge pull request #61285 from peter279k/improve_null_usage
Improve related NULL functions usage
2024-03-13 15:32:58 +01:00
Robert Schulze
6bbf9eb540
Fixup fixups 2024-03-13 13:57:55 +00:00
Robert Schulze
4f2be00352
Some fixups 2024-03-13 13:55:32 +00:00
Robert Schulze
f16259e54c
Merge pull request #61101 from ClickHouse/docs/add-substring-utf8
Document `substringUTF8` and `substringIndexUTF8`
2024-03-13 14:09:07 +01:00
Robert Schulze
d8c5008280
Follow up to #61258 2024-03-13 13:07:14 +00:00
János Benjamin Antal
cccf054420
Merge pull request #60881 from ClickHouse/add-docs-to-simplejson-and-sin
Add docs to simplejson and sin
2024-03-13 14:00:51 +01:00
Robert Schulze
1e536251a2
Update string-functions.md 2024-03-13 13:41:56 +01:00
Robert Schulze
6ca4fc26f4
Update docs/en/sql-reference/functions/string-functions.md
Co-authored-by: Johnny <9611008+johnnymatthews@users.noreply.github.com>
2024-03-13 13:39:14 +01:00
Robert Schulze
b4953f35b4
Update docs/en/sql-reference/functions/string-functions.md
Co-authored-by: Johnny <9611008+johnnymatthews@users.noreply.github.com>
2024-03-13 13:39:03 +01:00
Robert Schulze
4954bde599
Update docs/en/sql-reference/functions/string-functions.md
Co-authored-by: Johnny <9611008+johnnymatthews@users.noreply.github.com>
2024-03-13 13:38:35 +01:00
Robert Schulze
173fa7934c
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql 2024-03-13 12:31:56 +00:00
peter279k
0353121dcc
Improve related NULL functions usage 2024-03-13 19:17:27 +08:00
robot-ch-test-poll4
455a1bbd54
Merge pull request #61258 from ClickHouse/docs/add-sleep-function
Adds `sleep()` and `sleepEachRow()` docs.
2024-03-13 07:30:33 +01:00
Yakov Olkhovskiy
460692ac74
Update docs/en/sql-reference/functions/other-functions.md 2024-03-13 00:36:23 -04:00
unashi
c78224c2ff Merge branch 'master' into feat-59377 2024-03-13 11:24:00 +08:00
johnnymatthews
2847def517 Formats markdown with prettier. 2024-03-12 13:57:34 -03:00
johnnymatthews
b3cfb8a2cb Adds sleep function docs. 2024-03-12 13:57:03 -03:00
johnnymatthews
53442f4914 Cleans up markdown. 2024-03-12 13:48:47 -03:00
divanik
8f44201f92 Preliminary commit 2024-03-12 16:22:33 +00:00
Pablo Musa
f6abe68b60
Clarify sentence about clusterAllReplicas
The explanation about `clusterAllReplicas` is not clear. This change tries to simplify the sentence and clarify the explanation.
2024-03-12 10:52:22 +01:00
zhongyuankai
c6c40d1ac1 Merge branch 'master' into drop_tables 2024-03-12 08:54:55 +08:00
johnnymatthews
281dc8d29d Improves varSamp docs. Adds varSampStable docs. 2024-03-11 17:48:12 -03:00
johnnymatthews
120a1fdb5f Improves varPop docs. Adds varPopStable. 2024-03-11 17:24:33 -03:00
Nikita Mikhaylov
cfa042cb04 Merge branch 'master' of github.com:ClickHouse/ClickHouse into rip-copier 2024-03-11 15:45:20 +00:00
Robert Schulze
66e7c26bce
Merge pull request #61103 from ClickHouse/docs/add-readWKT-Point-and-Ring
Adds read wkt point and ring docs.
2024-03-11 15:11:43 +01:00
Robert Schulze
1ea68265b5
Revert "Adds makeDateTime64 function."
This reverts commit bd194aab41.
2024-03-11 12:46:30 +00:00
Robert Schulze
683d229d2d
Merge pull request #60868 from Blargian/document_morton_xyz
Add `mortonEncode` and `mortonDecode` to documentation
2024-03-11 13:27:28 +01:00
Robert Schulze
e43ac49d4e
Merge remote-tracking branch 'rschu1ze/master' into locate-mysql 2024-03-11 12:23:15 +00:00
Robert Schulze
a0727ba0af
Merge pull request #60725 from ClickHouse/docs/rand-functions
Document undocumented `rand*` functions
2024-03-11 11:54:29 +01:00
Robert Schulze
27099cedcb
Some fixups 2024-03-11 08:34:01 +00:00
Robert Schulze
3c60e82971
Incorporate review feedback 2024-03-11 07:41:28 +00:00
Johnny
e7270069a4
Removes dupliated h2 header. 2024-03-11 07:38:51 +00:00
johnnymatthews
ade0f9f75f
Adds docs for emptyArrayDate and emptyArrayDateTime. 2024-03-11 07:38:49 +00:00
johnnymatthews
c3895c3546
Adds emptyArrayFloat32/64 docs. 2024-03-11 07:38:46 +00:00
johnnymatthews
515cb59b00
Adds emptyArrayIntX docs. 2024-03-11 07:38:43 +00:00
johnnymatthews
d16c6780c7
Adds basic emptyArrayUIntX docs. 2024-03-11 07:38:40 +00:00
Robert Schulze
349894fc2b
Fixes #61051 2024-03-10 13:13:59 +00:00
johnnymatthews
2196c75dd8 Adds substring-UTF8 docs. 2024-03-08 11:07:04 -04:00
Dmitry Novik
ac3d0e2df8
Merge pull request #60937 from mneedham/patch-2
Window functions intro
2024-03-08 12:06:18 +01:00
Robert Schulze
1366a3ebe2
Merge pull request #60649 from rschu1ze/revert-revert-54746_to_millisecond_function
Revert "Revert "Add `toMillisecond` function""
2024-03-08 10:55:04 +01:00
Nikita Mikhaylov
2bc4d27ac6 Bye bye 2024-03-07 19:24:39 +00:00
johnnymatthews
a00a1fd7b4 Adds readWKT docs. 2024-03-07 14:45:15 -04:00
johnnymatthews
bd194aab41 Adds makeDateTime64 function. 2024-03-07 12:55:21 -04:00
jsc0218
835afe1f34
Merge pull request #60893 from jsc0218/AddNamedCollectionGrantDoc
Add named collection grant description
2024-03-07 10:15:54 -05:00
Yarik Briukhovetskyi
b1b999f1c8
fix typo 2024-03-07 12:44:57 +01:00
Kseniia Sumarokova
de7f7e196e
Update docs/en/sql-reference/statements/grant.md 2024-03-07 13:55:22 +08:00
jsc0218
c901c9c1f3 fix typo 2024-03-07 01:47:10 +00:00
jsc0218
0f4cd3198d add version specification 2024-03-07 01:09:18 +00:00
Shaun Struwig
06a7665d0e
Update encoding-functions.md
Add missing "Result:" after query
2024-03-06 18:19:52 +01:00
János Benjamin Antal
bdb76d9dd4 Fix aspell errors 2024-03-06 16:30:22 +00:00
Mark Needham
d0e887f834
Update index.md 2024-03-06 15:02:18 +00:00
Raúl Marín
314e27a06e Fix groupArraySorted documentation 2024-03-06 12:52:03 +00:00
Robert Schulze
7a60a5c7ab
Merge pull request #60642 from rschu1ze/docs-58023
Docs: Follow-up to #58023
2024-03-06 11:40:39 +01:00
Robert Schulze
06c2492b92
Clarify subtle detail in docs 2024-03-06 09:29:42 +00:00
Robert Schulze
1c10b96361
Merge remote-tracking branch 'rschu1ze/master' into revert-revert-54746_to_millisecond_function 2024-03-06 09:04:57 +00:00
Shaun Struwig
68a3ca37c4
Add examples using columns 2024-03-06 06:42:01 +01:00
jsc0218
cd2a418afd add named collection grant doc 2024-03-06 02:31:21 +00:00
Zach Naimon
f5cf61c32e update documentation without autoformat 2024-03-05 14:28:48 -05:00
Zach Naimon
34d327a08c Revert "update documentation"
This reverts commit d596de7384.
2024-03-05 14:26:57 -05:00
Zach Naimon
d596de7384 update documentation 2024-03-05 14:25:48 -05:00
János Benjamin Antal
981c507d80 Add example to sin. 2024-03-05 17:01:54 +00:00
János Benjamin Antal
aa6b70e5f2 Add documentation to simpleJSON functions 2024-03-05 16:55:08 +00:00
Blargian
45509607ad Fix spelling mistake 2024-03-05 15:50:30 +01:00
Blargian
7930a26df1 Fix formatting of compression/expansion levels 2024-03-05 15:47:45 +01:00
Blargian
bfb703b579 Add mortonEncode and mortonDecode to documentation 2024-03-05 15:38:42 +01:00
johnnymatthews
e98c30c161 Reorganizes rand docs page. 2024-03-03 14:38:59 -07:00
johnnymatthews
77fe221665 Adds undocumented rand functions. Prettifies markdown. 2024-03-03 14:25:25 -07:00
robot-ch-test-poll4
c46ffbaf24
Merge pull request #60700 from Blargian/document_function_today
Update documentation for `today` function
2024-03-03 18:23:01 +01:00
robot-clickhouse-ci-2
0e9f9c6f47
Merge pull request #60707 from peter279k/remove_original_article
Remove original article because it's redundant
2024-03-03 18:14:55 +01:00
robot-clickhouse-ci-1
f87d19efc5
Merge pull request #60679 from Blargian/document_function_TimeDiff
Document `timeDiff` function
2024-03-03 18:02:42 +01:00
Peter
1df42bb86b
Remove original article because it's redundant 2024-03-03 22:49:11 +08:00
Blargian
b910a66f19 Update example to showcase aliases 2024-03-03 13:18:35 +01:00
Blargian
27231a9542 Add example query and response 2024-03-03 13:14:29 +01:00
Blargian
8e79b229b1 Update documentation for function 2024-03-03 10:49:59 +01:00
Alexey Milovidov
1f1e0f082a
Merge branch 'master' into changelog-24.2 2024-03-03 03:27:28 +03:00
Blargian
e3329a44a8 Add missing documentation for timeDiff function 2024-03-01 21:17:49 +01:00
UnamedRus
912b8baf57
Merge branch 'ClickHouse:master' into topk-statistics-count-errors 2024-03-02 00:43:29 +09:00
Robert Schulze
68181ab00f
Revert "Revert "Add toMillisecond function""
This reverts commit 5225fc6a14.
2024-03-01 13:14:44 +00:00
Alexander Tokmakov
5225fc6a14
Revert "Add toMillisecond function" 2024-03-01 13:59:03 +01:00
Robert Schulze
dc2d022cc4
Docs: Follow-up to #58023 2024-03-01 12:29:57 +00:00
Robert Schulze
2e256b4c17
Merge pull request #60500 from allmazz/feature/increase_dns_cache_size
Rename dns_cache_max_size to dns_cache_max_entries
2024-03-01 12:38:07 +01:00
Robert Schulze
44c3de1a0b
Merge pull request #60281 from Blargian/54746_to_millisecond_function
Add `toMillisecond` function
2024-03-01 11:34:20 +01:00
Blargian
3e5bf7935e Fix documentation 2024-02-29 21:46:25 +01:00
Robert Schulze
e760c082bf
More fixups for tukey 2024-02-29 12:23:17 +00:00
Robert Schulze
cfed36e8a9
Merge remote-tracking branch 'rschu1ze/master' into byteSlice 2024-02-29 11:29:15 +00:00
Robert Schulze
070f9d952f
Merge remote-tracking branch 'ClickHouse/master' into feature/increase_dns_cache_size 2024-02-29 11:27:59 +00:00
Kirill Nikiforov
fe247cb64d rename dns_cache_max_size to dns_cache_max_entries 2024-02-29 06:03:44 +03:00
Kruglov Pavel
a7eabbbe3a
Merge branch 'master' into variant-improvements 2024-02-28 17:38:54 +01:00
Robert Schulze
e02c083e60
Add convenience alias byteSlice for substring 2024-02-28 13:32:56 +00:00
Robert Schulze
b380d06e6e
Update date-time-functions.md 2024-02-28 12:20:29 +01:00
Robert Schulze
6306e51ee9
Update date-time-functions.md 2024-02-28 12:18:58 +01:00
Robert Schulze
613e426484
Some fixups 2024-02-28 11:14:53 +00:00
pufit
330a206470
Add definers for views (Attempt 2) (#60439) 2024-02-27 19:00:17 -05:00
Anton Popov
3cdd3495fd
Merge pull request #60435 from CurtizJ/return-back-58140
Revert "Revert "Add table function `mergeTreeIndex`""
2024-02-28 00:52:44 +01:00
Alexey Milovidov
186c786104
Update docs/en/sql-reference/table-functions/fileCluster.md 2024-02-28 01:20:14 +03:00
Alexey Milovidov
4df5d13a33
Update docs/en/sql-reference/table-functions/fileCluster.md 2024-02-28 01:19:54 +03:00
Igor Nikonov
4e406c6d8d
Fix query example in fileCluster.md 2024-02-27 17:40:36 +01:00
Yarik Briukhovetskyi
7c6a5f4513
Merge pull request #59598 from yariks5s/group_array_intersect
New aggregate function groupArrayIntersect
2024-02-27 14:30:49 +01:00
Alexey Milovidov
cf7a0b0d8f
Merge pull request #60337 from ClickHouse/docs-insert-details
[Docs] Add more details on INSERTs
2024-02-27 03:57:17 +03:00
Alexey Milovidov
71bbb86802
Merge pull request #60424 from ClickHouse/docs/add-version-function
Adds docs for version().
2024-02-27 03:44:13 +03:00
Alexey Milovidov
78af414629
Merge pull request #60367 from charliegroll/patch-1
[Docs] Grammar corrections for clarity
2024-02-27 03:39:28 +03:00
Anton Popov
d683977fe9 Revert "Revert "Add table function mergeTreeIndex""
This reverts commit 1e4199d704.
2024-02-26 22:47:39 +00:00
Kirill Nikiforov
8b314a3ac8
Implement system.dns_cache table and dns_cache_max_size server setting (#60257)
* system.dns_cache table WIP

* system.dns_cache table

* rollback unexpected contrib changes

* rollback unexpected changes

* add docs

* code style fixes

* optimize dns cache exporting

* stateful test for system.dns_cache table

* stateful test for system.dns_cache table

* cr fixes

* stateful test for system.dns_cache table

* stateful test for system.dns_cache table

* implement system.dns_cache table

* system.dns_cache test

* system.dns_cache fix docs

* system.dns_cache prettify

* dns_cache_max_size settings

* fix system.dns_cache test

* Update dns_cache.md

* fix doc

Co-authored-by: pufit <pufit@clickhouse.com>

---------

Co-authored-by: pufit <pufit@clickhouse.com>
2024-02-26 15:48:02 -05:00
Alexander Tokmakov
1e4199d704
Revert "Add table function mergeTreeIndex" 2024-02-26 19:37:06 +01:00
Johnny
5bd8f4356c
Cleans up version() example. 2024-02-26 12:41:44 -04:00
Anton Popov
814cd53918
Merge pull request #58140 from CurtizJ/storage-merge-tree-index
Add table function `mergeTreeIndex`
2024-02-26 16:31:56 +01:00
Kruglov Pavel
1a9ee8c318
Merge pull request #60372 from HowePa/single_arg_merge
Support single-argument version for the merge table function
2024-02-26 13:43:04 +01:00
Yarik Briukhovetskyi
e04a89349d
Merge branch 'ClickHouse:master' into group_array_intersect 2024-02-26 12:29:22 +01:00
Robert Schulze
5c967c44de
Merge pull request #60248 from ClickHouse/revert-59450-order-by-all-ambiguities
Revert "Replace `ORDER BY ALL` by `ORDER BY *`"
2024-02-26 10:23:41 +01:00
HowePa
17f60b54cb single arg merge table func 2024-02-24 08:02:13 +08:00
avogar
8fa75a21c5 Don't allow suspicious variant types by default, add notes in documentation 2024-02-23 20:48:38 +00:00
Charlie
05e16e6249
Update stochasticlinearregression.md 2024-02-23 12:33:14 -07:00
avogar
39ad054e94 Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-improvements 2024-02-23 18:59:34 +00:00
9611008+johnnymatthews@users.noreply.github.com
290de0a810 Adds docs for version(). 2024-02-23 12:26:29 -04:00
Nikita Mikhaylov
8fef0b71c4
Merge pull request #60350 from ClickHouse/revert-54901-pufit/views-sql-security
Revert "Add definers for views"
2024-02-23 15:15:36 +01:00
Sergei Trifonov
2c766cf75f
Merge pull request #59507 from ClickHouse/alter-table-forget-partition
Add `FORGET PARTITION` query to remove old partition nodes from ZooKeeper
2024-02-23 12:55:08 +01:00
Raúl Marín
464b5e0e15
Revert "Add definers for views (#54901)"
This reverts commit 57306706b3.
2024-02-23 12:44:31 +01:00
Justin de Guzman
1df831b717
[Docs] Clarify that async inserts are deduplicated by default 2024-02-23 02:18:04 -08:00
Justin de Guzman
4af942567d
[Docs] Add info on squashing for large inserts 2024-02-23 01:39:45 -08:00
Justin de Guzman
8de4810374
[Docs] Fix typo
Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2024-02-22 14:58:24 -08:00
Justin de Guzman
bd5e4f42a6
[Docs] Add more details on INSERTs 2024-02-22 12:53:02 -08:00
pufit
57306706b3
Add definers for views (#54901) 2024-02-22 17:47:50 +01:00
Shaun Struwig
0eca413fe2
Update date-time-functions.md
correct casing in documentation
2024-02-22 12:38:01 +01:00
Robert Schulze
ae597d86dd
Merge remote-tracking branch 'rschu1ze/master' into vector-dot-product 2024-02-22 10:16:28 +00:00
Blargian
f9e608f369 update documentation and add a failing test 2024-02-21 21:30:49 +01:00
Robert Schulze
52afa46e23
Revert "Replace ORDER BY ALL by ORDER BY *" 2024-02-21 19:05:20 +01:00
Robert Schulze
5ea3afb06e
Docs: Correct variable names for simpleLinearRegression
Fixes: #59729
2024-02-21 16:29:47 +00:00
serxa
69c5fae1bc review fixes 2024-02-21 15:11:50 +00:00
avogar
bd2390996e Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-improvements 2024-02-21 13:16:07 +01:00
Robert Schulze
db974098d0
More refactoring and cleanup 2024-02-20 21:22:58 +00:00
serxa
27371ae4c4 add docs 2024-02-20 19:16:47 +00:00
avogar
122dc6769d Fixes and improvements for Variant type 2024-02-20 18:58:06 +00:00
Robert Schulze
914b19aade
Merge pull request #59450 from rschu1ze/order-by-all-ambiguities
Replace `ORDER BY ALL` by `ORDER BY *`
2024-02-20 18:16:22 +01:00
unashi
28282eee91 [fix] Add description in partition.md 2024-02-20 21:37:09 +08:00
Raúl Marín
793ae52bf8 Fix cosineDistance crash with Nullable 2024-02-19 17:30:00 +01:00
Robert Schulze
6f6e74ad8b
Merge remote-tracking branch 'rschu1ze/master' into order-by-all-ambiguities 2024-02-19 15:19:13 +00:00
Anton Popov
0aa8dafe0a Merge remote-tracking branch 'upstream/master' into HEAD 2024-02-19 14:07:55 +00:00
Alexey Milovidov
4c2ee23429
Update insert-into.md 2024-02-17 01:50:20 +01:00
Justin de Guzman
77c8f671cd
[Docs] Add info on using select_sequential_consistency for INSERTS in cloud 2024-02-15 18:09:11 -08:00
Yarik Briukhovetskyi
a41edd8646
Merge branch 'master' into group_array_intersect 2024-02-15 19:50:57 +01:00
Igor Nikonov
062602d433 Merge remote-tracking branch 'origin/master' into docs_fix_typos 2024-02-15 18:22:00 +00:00
Robert Schulze
058461e786
Merge remote-tracking branch 'rschu1ze/master' into order-by-all-ambiguities 2024-02-15 16:21:16 +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
Yarik Briukhovetskyi
a7af4e860e
Merge pull request #60014 from ClickHouse/docs-starts-with-UTF8-min-version
[Docs] Add min version for startsWithUTF8
2024-02-15 13:09:25 +01:00
Robert Schulze
ddaef8d342
Merge pull request #59752 from rschu1ze/countMatches-fuzzed
Fix AST fuzzer issue in function `countMatches`
2024-02-15 10:02:48 +01:00
Justin de Guzman
a037933cc6
[Docs] Add min version for startsWithUTF8 2024-02-14 22:57:23 -08:00
divanik
97aec71fe4 Merge branch 'master' of github.com:ClickHouse/ClickHouse into divanik/generate_series_function 2024-02-14 21:05:48 +00:00