Commit Graph

2274 Commits

Author SHA1 Message Date
Dmitry Kardymon
5c76a8882e Fix docs by pull request comments 2023-06-09 09:12:07 +00:00
YalalovSM
95c0b942c1
Update projection.md 2023-06-09 10:37:20 +05:00
Andrey Zvonov
d95be4162f
Merge branch 'master' into zvonand-implicit-tz 2023-06-08 18:34:45 +03:00
zvonand
bfdb18619c small docs udpate 2023-06-07 19:25:33 +02:00
Kruglov Pavel
b83b057045
Merge branch 'master' into renamefile 2023-06-06 19:38:05 +02:00
Denny Crane
2e187e0a0e try to fix redirect 2023-06-04 20:12:35 -03:00
Denny Crane
aa35689cb1 fix links in other lang-s 2023-06-04 19:39:30 -03:00
Dmitry Kardymon
c032dee3b4 Merge remote-tracking branch 'origin/master' into ADQM-867 2023-06-04 18:45:47 +00:00
Raúl Marín
dcd5579851 Mention ON CLUSTER options for SYSTEM queries 2023-06-02 16:51:04 +02:00
Dmitry Kardymon
fa5f890a7a Added ru function descriptions (docs) 2023-06-02 12:03:50 +00:00
Andrey Zvonov
2e427ee028
Merge branch 'master' into zvonand-implicit-tz 2023-06-02 01:15:56 +03:00
Andrey Zvonov
87fc780c14
Merge branch 'master' into zvonand-implicit-tz 2023-05-30 13:13:46 +03:00
alekseygolub
63225b37a2
Merge branch 'ClickHouse:master' into renamefile 2023-05-29 16:52:41 +03:00
Victor Krasnov
0ad5b9f598 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-810-dev 2023-05-29 08:26:26 +00:00
alekseygolub
36e8f13242 Added docs for feature 2023-05-25 20:10:02 +00:00
Victor Krasnov
99a7967f11 Amend the dicumentation with regard to toLastDayOfWeek 2023-05-24 11:58:39 +00:00
Dan Roscigno
0c3392662c
Merge branch 'master' into url-function-docs 2023-05-23 08:42:13 -04:00
Robert Schulze
f4c73e94d2
Merge pull request #49989 from arenadata/ADQM-811
Add support of Date|Date32 arguments to the toUnixTimestamp() function
2023-05-23 08:55:56 +02:00
Timur Solodovnikov
1f0250f730 Updating url table functions docs 2023-05-22 13:00:38 -07: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
Victor Krasnov
a7b641134a Follow the reviewer's recommendations regarding the documentation 2023-05-22 08:28:11 +00:00
Alexey Milovidov
f5506210d6 Geo types are production ready 2023-05-19 12:43:55 +02:00
Victor Krasnov
3c68d63213 Amend the toUnixTimestamp function documentation 2023-05-18 09:11:48 +00:00
zvonand
60b69601e9 update docs 2023-05-12 00:27:11 +02:00
zvonand
7762dde325 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-implicit-tz 2023-05-10 14:49:17 +02:00
Roman Vasin
632c0eeefc
Add support of temporary tables in FROM part of ATTACH|REPLACE PARTITION FROM (#49436)
* Add temp tables after FROM

* Resolve works fine with temp and non-temp tables

* Add usage of temporary table in  00626_replace_partition_from_table test

* Update documentation

* Add tests for ReplicatedMergeTree

* Move tests into 02731_replace_partition_from_temporary_table
2023-05-10 15:25:12 +03:00
zvonand
8338d54c34 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-implicit-tz 2023-05-05 15:50:26 +02:00
Ivan Takarlikov
8873856ce5 Fix some grammar mistakes in documentation, code and tests 2023-05-04 13:35:18 -03:00
Ziy1-Tan
2c159061ed Support _path and _file virtual columns for table function url. 2023-05-01 21:40:30 +08:00
Nikita Mikhaylov
da72eb630e Done 2023-04-27 18:14:46 +02:00
pufit
1985fb785e
Merge pull request #48262 from ClickHouse/42497-inherit-grant
GRANT CURRENT GRANTS implementation
2023-04-24 11:11:10 -04:00
Yakov Olkhovskiy
540c33abce
fix grammar 2023-04-20 22:39:26 -04:00
Yakov Olkhovskiy
9ca91e618a
add arrayPartialSort and arrayPartialReverseSort 2023-04-20 22:27:13 -04:00
zvonand
22be85d976 renamed setting 2023-04-18 02:42:30 +02:00
pufit
a9fcff72f3 Update docs 2023-04-13 12:57:21 -04:00
zvonand
2a9f28b73b resolve 2023-04-12 12:54:39 +02:00
pufit
078b8f5399 Small refactor, additional tests 2023-04-11 19:55:59 -04:00
Denny Crane
36871fad34
Update deltasumtimestamp.md 2023-04-09 19:38:08 -03:00
Denny Crane
a4183204f9
Update deltasumtimestamp.md 2023-04-09 19:27:13 -03:00
Denny Crane
c89eb29b0f
Update deltasumtimestamp.md 2023-04-09 19:24:42 -03:00
pufit
8441b0a3e1 Fix comments, tests, docs 2023-04-04 20:43:15 -04:00
Alexander Tokmakov
caf00b5968 Merge branch 'master' into sync_replica_lightweight 2023-03-31 14:52:55 +02:00
zvonand
edc80fbd94 updated docs + fix linker isssue 2023-03-28 13:25:18 +02:00
Alexander Tokmakov
b5fe1ada0b more options for sync replica 2023-03-28 01:39:36 +02:00
zvonand
dbd0ccdb64 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-formatdecimal 2023-03-27 20:21:09 +02:00
zvonand
b7bb09d362 upload 2023-03-27 20:19:52 +02:00
zvonand
b5b200c483 add docs in docs section 2023-03-21 14:28:47 +01:00
Alexander Tokmakov
f1df91cd09
Merge pull request #47659 from ClickHouse/fix_993
Fixes for 993 and friends
2023-03-18 14:46:43 +03:00
rfraposa
ac5ed141d8 New nav - reverting the revert 2023-03-17 21:45:43 -05:00
Alexander Tokmakov
d11aee2b0c
Merge branch 'master' into fix_993 2023-03-17 21:28:23 +03:00
Alexander Tokmakov
ec44c8293a
Revert "New navigation" 2023-03-17 21:21:11 +03:00
Alexander Tokmakov
dfd8b2670a fix tests, update docs 2023-03-17 14:15:03 +01:00
Andrey Zvonov
a871c36d38
Merge branch 'master' into zvonand-implicit-tz 2023-03-17 10:49:35 +01:00
rfraposa
60fb9973d7 trailing slash fixes 2023-03-16 16:43:01 -05:00
Alexander Tokmakov
a72f0cae07
Merge pull request #46071 from arenadata/ADQM-639
Add support of arbitrary engines for temporary tables
2023-03-16 20:56:25 +03:00
Andrey Zvonov
4327d707e0
Merge branch 'master' into zvonand-implicit-tz 2023-03-15 22:18:52 +01:00
Roman Vasin
cf85915466 Refactor grants logic, create test for grants, update docs 2023-03-06 16:37:41 +00:00
Roman Vasin
95a7e11a47 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-639 2023-03-06 09:11:20 +00:00
Roman Vasin
237b5b2bfa Update docs 2023-03-06 08:25:39 +00:00
Dmitry
64a169014c
Markup fixed at the page /docs/ru/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-structure.md 2023-03-06 12:07:57 +04:00
Dmitry
97cbc7e7fe
Typos fixed at the page /docs/ru/sql-reference/operators/in.md 2023-03-04 17:20:54 +04:00
Dmitry
1d7bb4e83b
Markup fixed at the page /docs/ru/sql-reference/operators/exists.md 2023-03-04 17:02:03 +04:00
Dmitry
7c2ccef1b9
Markup fixed at the page /docs/ru/sql-reference/operators/index.md 2023-03-04 17:00:18 +04:00
Dmitry
d55ebe74f6
Markup fixed at the page /docs/ru/sql-reference/data-types/geo.md 2023-03-03 18:27:27 +04:00
Dmitry
dfb9258c28
Markup fixed a the page /docs/ru/sql-reference/data-types/special-data-types/interval.md 2023-03-03 18:22:02 +04:00
Dmitry
420c79a252
Typo at the page /docs/ru/sql-reference/data-types/tuple.md 2023-03-03 18:16:57 +04:00
Dmitry
e06bcf21ec
Markup fixed at the page /docs/ru/sql-reference/data-types/aggregatefunction.md 2023-03-03 18:11:27 +04:00
Dmitry
302e076ddd
Typos at the page /docs/ru/sql-reference/dictionaries/external-dictionaries/external-dicts-dict-polygon.md 2023-03-03 17:21:52 +04:00
Dmitry
5d1f3dbf4e
Typo at the page /docs/ru/sql-reference/dictionaries/external-dictionaries/external-dicts.md 2023-03-03 16:50:14 +04:00
Dmitry
e631a4d9b8
Typo at the page /docs/ru/sql-reference/functions/introspection.md 2023-03-03 12:50:13 +04:00
Dmitry
aa4f72728e
Markup fixed at the page /docs/ru/sql-reference/statements/optimize.md 2023-03-03 11:21:26 +04:00
Dmitry
fda64b503b
Fixed a typo at the page /docs/ru/sql-reference/statements/alter/view.md 2023-03-03 10:47:29 +04:00
Dmitry
29f0f4e745
Typos in the page /docs/ru/sql-reference/statements/create/table.md 2023-03-02 17:54:16 +04:00
Dmitry
d42a95a6c5
Type in the page /docs/ru/sql-reference/statements/select/with.md 2023-03-02 17:25:49 +04:00
Dmitry
39aff35ac3
Typos in the page /docs/ru/sql-reference/statements/select/union.md 2023-03-02 17:23:02 +04:00
Dmitry
00d28893e8
Typos in the page /docs/ru/sql-reference/statements/select/sample.md 2023-03-02 17:20:25 +04:00
Dmitry
f57bb3d71e
Typo in the page /docs/ru/sql-reference/statements/select/prewhere.md 2023-03-02 17:14:52 +04:00
Dmitry
4a746f32a5
Typos in the page /docs/ru/sql-reference/statements/select/order-by.md 2023-03-02 17:12:15 +04:00
Dmitry
6aee723918
Typos in the page /docs/ru/sql-reference/statements/select/join.md 2023-03-02 16:50:28 +04:00
Dmitry
f9e80b4d41
Typo in the /docs/ru/sql-reference/statements/select/group-by.md 2023-03-02 16:36:35 +04:00
zvonand
a9d0f7e7db Added docs for new serverTimeZone function
Updated tests and docs
2023-02-23 19:14:49 +01:00
Roman Vasin
5c1c5199b9
Merge branch 'master' into ADQM-639 2023-02-22 09:25:17 +03:00
Jus
2945125a16
Update docs/ru/sql-reference/functions/other-functions.md
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2023-02-21 10:00:47 +04:00
Jus
d48ec14cab
Add description function
Add description function.
Fix bugs
2023-02-20 10:59:57 +04:00
Roman Vasin
3e2b56fabc
Merge branch 'master' into ADQM-639 2023-02-17 21:14:26 +03:00
Roman Vasin
8cc768fde2 Add KeeperMap as disallowed engine for temporary tables 2023-02-13 16:23:04 +00:00
Antonio Andelic
f96d480563
Merge branch 'master' into add-support-for-settings-alias 2023-02-09 16:07:45 +01:00
Roman Vasin
9488bd834f
Merge branch 'master' into ADQM-639 2023-02-07 09:45:10 +03:00
Roman Vasin
a4079bc360 Update docs for temporary tables 2023-02-06 09:52:52 +00:00
Antonio Andelic
a58653820e Update docs 2023-02-03 18:19:12 +00:00
vdimir
e175b72d79
Update ru doc for sparkbar function 2023-02-03 17:25:28 +00:00
Dan Roscigno
b4ab361366
Merge branch 'master' into docs_optimize_skip_merged_partitions 2023-01-25 19:45:32 -05:00
Robert Schulze
da7a657f1f
Docs: fix docs of EXPLAIN PLAN indexes=1 2023-01-25 11:02:50 +00:00
AVMusorin
5f8658b2d6
docs: added optimize_skip_merged_partitions setting 2023-01-24 14:56:39 +01:00
Azat Khuzhin
4366f7fb3b Remove PREALLOCATE for HASHED/SPARSE_HASHED dictionaries
It does not give significant benefit, but now, you hashed/sparse_hashed
dictionaries can be filled in parallel (#40003), using sharded
dictionaries, and this should be used instead of PREALLOCATE.

Note, that dictionaries, that had been created with PREALLOCATE will
work, but simply ignore this attribute.

Fixes: #41985 (cc @alexey-milovidov)
Reverts: #23979 (cc @kitaisreal)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-18 20:18:37 +01:00
DanRoscigno
7168c217b0 switch text to response for query blocks 2023-01-11 10:08:11 -05:00
serxa
8d099a4417 make more SQL queries copyable from docs in one click 2023-01-11 13:43:51 +00:00
Ivan Blinkov
61c2f23713 Remove leftover empty lines at the end of markdown files 2023-01-09 15:15:18 +01:00
Ivan Blinkov
b7e082d033 Remove "Original article links" 2023-01-09 15:13:36 +01:00
Robert Schulze
421473e974
Merge pull request #44421 from ClickHouse/revert-of-revert-of-age-function
Revert revert of age function
2023-01-03 10:02:18 +01:00
Robert Schulze
3f03b0b53d
Revert "Revert "Add function 'age'""
This reverts commit 4549b14027.
2022-12-20 10:18:43 +00:00
Kruglov Pavel
c5b2e4cc23
Merge branch 'master' into improve-streaming-engines 2022-12-15 18:44:35 +01:00
Alexey Milovidov
4549b14027
Revert "Add function 'age'" 2022-12-13 23:28:09 +03:00
Nikolay Degterinsky
31531dc29e
Fix docs 2022-12-08 14:18:51 +01:00
Dan Roscigno
c5eb269515
Merge pull request #43943 from DanRoscigno/update-operations-docs
Update operations docs
2022-12-05 20:58:42 -05:00
Robert Schulze
b14de0017c
Merge pull request #43788 from arenadata/ADQM-626
Add support of array parameters in `cutURLParameter` function
2022-12-05 16:18:42 +01:00
DanRoscigno
9918e39120 please do not use symlinks in docs 2022-12-05 08:29:57 -05:00
Roman Vasin
373a353ed9 Update docs 2022-12-02 17:34:02 +00:00
Roman Vasin
325cd07fa1 Update docs 2022-12-01 13:47:44 +00:00
Roman Vasin
cea63dbca0 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-626 2022-12-01 07:32:06 +00:00
Roman Vasin
96d7cf319b
Merge branch 'master' into ADQM-623 2022-11-30 19:25:53 +03:00
Roman Vasin
107a0d50f3 Update docs 2022-11-30 16:12:58 +00:00
Roman Vasin
668366af4a Update documentation 2022-11-29 07:10:31 +00:00
Xbitz29
ea60e4e18c
Fixed incorrect example of query
dictGet('ext-dict-mult', ('c1','c2'), number) AS val -> dictGet('ext-dict-mult', ('c1','c2'), number + 1) AS val
2022-11-28 19:38:10 +03:00
Vladimir C
ff5bb69584
Merge branch 'master' into zvonand-decdiv 2022-11-25 17:05:22 +01:00
zvonand
d42a29ac0f fix ubsan + expand docs 2022-11-24 01:23:59 +03:00
zvonand
faef0699b6 fix issues 2022-11-22 17:30:44 +03:00
Kruglov Pavel
406c50277b
Merge pull request #42779 from Avogar/add-format-func-doc
Add documentation for 'format' table function
2022-11-21 15:16:26 +01:00
Nikolay Degterinsky
81971acf35 Fix docs 2022-11-16 02:40:51 +00:00
Christoph Wurm
2a9ab046dd Unify spelling of DateTime 2022-11-15 11:51:14 +00:00
Kruglov Pavel
0270f6003c
Merge branch 'master' into add-format-func-doc 2022-11-11 14:05:34 +01:00
Roman Vasin
753895026f Improve docs and add more queries to 02477_age test 2022-11-10 12:18:29 +00:00
Roman Vasin
31d84d5aed Add doc for age() function 2022-11-10 12:05:53 +00:00
Kruglov Pavel
b124875257
Merge branch 'master' into improve-streaming-engines 2022-11-03 13:22:06 +01:00
zvonand
3c46673534 upd docs 2022-11-01 16:40:26 +03:00
zvonand
83fb05e5ca Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-decdiv 2022-11-01 09:03:29 +03:00
Roman Vasin
24a4f4afe7
Merge branch 'master' into ADQM-605 2022-10-30 18:03:07 +03:00
avogar
5412911592 Add documentation for 'format' table function 2022-10-28 17:43:28 +00:00
avogar
8e13d1f1ec Improve and refactor Kafka/StorageMQ/NATS and data formats 2022-10-28 16:41:10 +00:00
Roman Vasin
fc16752844 Update docs for FROM_UNIXTIME 2022-10-28 12:56:52 +00:00
Kruglov Pavel
0480e12f12
Merge pull request #42736 from evillique/fix-docs-1
Fix docs
2022-10-27 13:11:25 +02:00
Nikolay Degterinsky
0245df6a82 Fix docs 2022-10-27 10:41:45 +00:00
Radistka-75
a36119247f
Update in.md
Change md-formatting for note
2022-10-27 13:06:28 +03:00
Robert Schulze
b746224217
Merge pull request #42554 from arenadata/ADQM-604
Add support of Date32 arguments for dateName function
2022-10-22 17:20:10 +02:00
Alexey Milovidov
bc6762d613
Merge pull request #42565 from alexeyerm/other-functions.md-fix
other-functions.md example fix
2022-10-22 04:20:23 +02:00
Alexey Milovidov
592fbb3eaf
Merge pull request #42367 from ClickHouse/revert-40217
Revert #40217
2022-10-21 21:56:15 +02:00
Dan Roscigno
440af00c74
Merge pull request #42151 from ClickHouse/remove-misc-statements
Docs: Remove obsolete misc page
2022-10-21 13:48:53 -04:00
alexeyerm
4b4d1e8a5d
doc fix fix 2022-10-21 20:09:19 +03:00
alexeyerm
930c60d71e
fix transform() example 2022-10-21 19:45:37 +03:00
Robert Schulze
2d448c139c
Merge pull request #42308 from arenadata/ADQM-584
Add support of Date32 arguments for date_diff function
2022-10-21 13:18:44 +02:00
Roman Vasin
537f7000d6 Update documentation 2022-10-21 06:55:24 +00:00
Robert Schulze
52eefe1ffd
Fix 02403_enable_extended_results_for_datetime_functions 2022-10-20 13:25:48 +00:00
zvonand
890b292c88 added docs 2022-10-19 13:55:24 +03:00
Alexey Milovidov
2023f38764 Fixups 2022-10-17 05:50:24 +02:00
Alexey Milovidov
d1f0c80ffe Revert "Merge pull request #40217 from zvonand/zvonand-minmax"
This reverts commit df934d8762, reversing
changes made to d3a7945b1b.
2022-10-17 04:57:15 +02:00
Kruglov Pavel
7980920bd7
Merge branch 'master' into fix-format-row 2022-10-14 20:49:21 +02:00
Roman Vasin
90f9bd24a3 Update documentation 2022-10-14 08:02:38 +00:00
Alexey Milovidov
9bf5fe728b
Merge pull request #42173 from ClickHouse/remove-temporary-live-view
Remove TEMPORARY LIVE VIEW
2022-10-08 19:05:33 +03:00
Alexey Milovidov
b9159db82f Remove temporary live views 2022-10-08 00:16:36 +02:00
Robert Schulze
3e3c0a7bb6
Docs: Add "TABLE" to CHECK/DESCRIBE statements in sidebar 2022-10-07 14:41:00 +00:00
Robert Schulze
cde0257d11
Docs: Remove obsolete pages
Removes page https://clickhouse.com/docs/en/sql-reference/statements/misc

It indexes "miscellaneous" SQL statements but these are already easily
reachable by the sidebar.
2022-10-07 14:37:22 +00:00
Robert Schulze
e759a64d38
Docs: Redirect links to misc.md
--> https://clickhouse.com/docs/en/sql-reference/statements/misc

This page indexes a bunch of SQL statements but they are easily
reachable by the sidebar already.
2022-10-07 13:22:40 +00:00
Jus
72015dca4d
add %z offset
Add placeholder %z
2022-10-06 16:45:18 +04:00
Sergei Trifonov
939b9091cc
Merge pull request #42007 from aldy505/master
docs(statements): specify ON CLUSTER clause for CREATE ROLE
2022-10-03 15:13:25 +02:00
Reinaldy Rafli
b52d58dcae
docs(statements): specify ON CLUSTER clause for CREATE ROLE 2022-10-02 09:51:17 +07:00
Roman Vasin
f716fc2fe5 Put list of functions in correct order in docs; Use new formatting in exception messages. 2022-09-30 07:54:35 +00:00
Roman Vasin
45414b251d Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-583 2022-09-29 17:02:49 +00:00
Roman Vasin
9dfb2d058c Add DateTime64 returing functions in Note box 2022-09-29 14:23:50 +00:00
mosinnik
a2939c6061
Update from.md 2022-09-29 12:48:38 +03:00
Robert Schulze
6379cb41ce
Merge branch 'master' into fix-links 2022-09-29 09:17:39 +02:00
avogar
c353928eb5 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-format-row 2022-09-28 13:15:51 +00:00
Robert Schulze
fa93952231
Docs: Reference external papers as DOIs
See also #31076 which noted that links were broken but didn't fix.
2022-09-28 12:21:58 +00:00
Robert Schulze
82139fad0e
Docs: Remove obsolete modelEvaluate() mention 2022-09-28 11:47:16 +00:00
avogar
90e0f98d45 Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-format-row 2022-09-20 13:55:44 +00:00
Kruglov Pavel
57f0dc1f89
Merge branch 'master' into fix-format-row 2022-09-19 14:37:58 +02:00
Sergei Trifonov
f7a1ed3141
Merge branch 'master' into readonly-settings-allow 2022-09-19 12:52:36 +02:00
Robert Schulze
38aecc15a2
Merge pull request #41214 from arenadata/ADQM-528-B
Add enable_extended_results_for_datetime_functions option to return results of type Date32
2022-09-17 19:25:11 +02:00
Robert Schulze
b32b02d844
Merge pull request #40897 from ClickHouse/catboost-bridge-resurrected
Move CatBoost evaluation into clickhouse-library-bridge
2022-09-16 13:12:09 +02:00
Roman Vasin
d82cd7b007 Add many cosmetic changes to C++ code and MD docs 2022-09-16 09:37:30 +00:00
Roman Vasin
5c242de43a Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-528-B 2022-09-15 13:47:51 +00:00
Roman Vasin
3ce66eab83 Correct all needed MD files 2022-09-15 13:28:11 +00:00
Kseniia Sumarokova
c511c3f168
Merge pull request #40889 from AVMusorin/docs_table_function_update
Doc. Updated optional parameters for table functions
2022-09-15 13:12:20 +02:00
Robert Schulze
49136d26aa
docs: fix internal links
The links at the very beginning of
https://clickhouse.com/docs/en/sql-reference/statements/system
don't work. They are reference other sections of the same document. This
is weird because there is a small index already on the right side. I
searched our documentation and this seems to be the only pages which do
so. Therefore removing the links altogether instead of fixing them.
2022-09-13 19:45:46 +00:00
Robert Schulze
3e6821e8d7
fix: repair broken documentation links and update docs 2022-09-13 16:00:53 +00:00
Robert Schulze
fac1be9700
chore: restore SYSTEM RELOAD MODEL(S) and moniting view SYSTEM.MODELS
- This commit restores statements "SYSTEM RELOAD MODEL(S)" which provide
  a mechanism to update a model explicitly. It also saves potentially
  unnecessary reloads of a model from disk after it's initial load.

  To keep the complexity low, the semantics of "SYSTEM RELOAD MODEL(S)
  was changed from eager to lazy. This means that both statements
  previously immedately reloaded the specified/all models, whereas now
  the statements only trigger an unload and the first call to
  catboostEvaluate() does the actual load.

- Monitoring view SYSTEM.MODELS is also restored but with some obsolete
  fields removed. The view was not documented in the past and for now it
  remains undocumented. The commit is thus not considered a breach of
  ClickHouse's public interface.
2022-09-12 19:33:02 +00:00
Aleksandr
503398ac96
Merge branch 'master' into docs_table_function_update 2022-09-09 20:54:28 +02:00
avogar
6d5f9e5554 Proper implementation for rowFormat function, delete rowFormatNoNewLine function 2022-09-09 17:42:33 +00:00
Sergei Trifonov
76eb001e78 add test for changeable_in_readonly + fix SQL in docs 2022-09-09 14:01:29 +02:00
Robert Schulze
c16707ff00
chore: delete obsolete modelEvaluate() function + SYSTEM.MODELS view
- The deleted function modelEvaluate() was superseded by
  catboostEvaluate().

- Also delete the external model repository, as modelEvaluate() was it's
  last user. Additionally remove the system view SYSTEM.MODELS for
  inspecting the repository.

- SYSTEM RELOAD MODELS is also obsolete. HOWEVER, it was retained and
  made a no-op instead of deleted.

  Why?
  The reason is that RBAC in distributed setups works by storing
  privileges (granted and revoked) as plain SQL statements in Keeper.
  Nodes read these statements at startup and parse them. If a privilege
  for SYSTEM RELOAD MODELS exists but parser doesn't recognize it
  nodes would fail to come up.

  Considered but rejected alternatives:
  - Ignore SYSTEM RELOAD MODELS during parsing RBAC privileges and
    return an error for regular SYSTEM RELOAD MODELS SQL. Special-case
    of no-op behavior, too brittle.
  - Remove SYSTEM RELOAD MODELS manually from Keeper via command-line
    manipulation of Keeper nodes or via SQL by dropping the privileges.
    Needs user intervention during upgrade.
2022-09-08 09:10:11 +00:00
Alexey Milovidov
1963baa11e
Merge pull request #40964 from ClickHouse/fix-docs-formatting
Fix formatting of notes box in documentation
2022-09-04 03:39:39 +03:00
Robert Schulze
385427ade8
Fix formatting of notes box in documentation
Follow-up to PR #38435
2022-09-03 17:25:14 +00:00
Robert Schulze
53836bbeeb
Fix typo
The system view is called 'role*_*grants', documented on page
'role*-*grants.md'.
2022-09-02 12:49:50 +00:00
Александр
97e55ca2f5
Merge branch 'master' into docs_table_function_update 2022-09-01 14:01:32 +02:00
Denny Crane
e3af5a7a11
Doc. Added ON CLUSTER cluster in couple places (#40874) 2022-09-01 13:31:22 +02:00
Aleksandr Musorin
310e1484f6
docs - updated optional parameters for table functions 2022-09-01 13:28:56 +02:00
Robert Schulze
56eece40ec
Merge pull request #40736 from LevyCory/add-offset-to-formatDateTime
Add timezone offset support  to `formatDateTime`
2022-09-01 09:50:17 +02:00
Robert Schulze
912663b719
Revert "Move CatBoost evaluation into clickhouse-library-bridge" 2022-08-31 20:54:43 +02:00
Robert Schulze
ca01286028
Merge pull request #39629 from ClickHouse/catboost-bridge
Move CatBoost evaluation into clickhouse-library-bridge
2022-08-31 16:16:11 +02:00
Vladimir C
c8c8428052
Apply suggestions from code review 2022-08-30 13:49:21 +02:00
Andrey Zvonov
14adea8792
fix error in docs 2022-08-30 14:40:26 +03:00
Alexey Milovidov
0190c56faf
Merge pull request #40770 from den-crane/patch-40
Doc. Fix cache dictionaries doc.
2022-08-30 02:19:32 +03:00
Cory Levy
1e2eee7146 Remove unnecessary backslashes in markdown sql blocks 2022-08-29 16:31:31 -04:00
Robert Schulze
64a6aa328e
fix: broken links in documentation (hopefully) 2022-08-29 20:27:06 +00:00
DanRoscigno
576b7ea604 updates for filename changes 2022-08-29 14:39:15 -04:00
Denny Crane
19c3a9c6bf
Update external-dicts-dict-layout.md 2022-08-29 15:20:46 -03:00
DanRoscigno
753afd0584 update links 2022-08-28 20:41:29 -04:00
DanRoscigno
3c36660488 replace symlinks 2022-08-28 17:27:24 -04:00
Robert Schulze
df934d8762
Merge pull request #40217 from zvonand/zvonand-minmax
Fix conversion Date32 / DateTime64 / Date to narrow types
2022-08-28 09:42:39 +02:00
DanRoscigno
726d3c0739 add slugs to all docs 2022-08-26 13:37:11 -04:00
zvonand
e257f9d0cd update docs, tests + small fixes 2022-08-24 01:09:14 +03:00
zvonand
a9fd733871 updated docs 2022-08-24 01:09:14 +03:00
Andrey Zvonov
52159b77d0
Merge branch 'master' into zvonand-minmax 2022-08-23 17:18:57 +03:00
konnectr
ee3f6d7783
ru docs update nlp-functions 2022-08-22 19:37:31 +05:00
zvonand
d789dabc9d Fixed , updated docs 2022-08-22 17:36:56 +03:00
zvonand
963d838647 updated docs 2022-08-22 17:36:56 +03:00
zvonand
a7a1269e60 updated tests + improve logic 2022-08-22 17:36:55 +03:00
konnectr
375325601b
ru docs other-functions 2022-08-22 19:36:36 +05:00
konnectr
82b5bb56ca
ru docs update introspection 2022-08-22 19:35:23 +05:00
konnectr
518373e575
ru docs update ext-dict-functions 2022-08-22 19:32:19 +05:00
konnectr
66da1a101c
ru docs update json-functions 2022-08-22 19:29:58 +05:00
konnectr
c53726a236
ru docs update encoding-functions 2022-08-22 19:27:58 +05:00
konnectr
44883aacc4
ru docs update string-search-functions 2022-08-22 19:23:11 +05:00
konnectr
895a5fef4a
ru docs update date-time-functions 2022-08-22 19:20:02 +05:00
konnectr
06d42dcb88
ru update type-conversion 2022-08-22 19:15:25 +05:00
konnectr
8937854dad
ru update array-function 2022-08-22 19:11:55 +05:00
konnectr
f4130c0342
ru docs fix danger 2022-08-21 22:01:17 +05:00
konnectr
c447a8d5ed
docs ru removed blank row 2022-08-21 00:21:19 +05:00
konnectr
00b56552af
docs ru histogram params fixed 2022-08-21 00:18:18 +05:00
konnectr
be821e0143
docs ru fixed danger text 2022-08-20 23:54:19 +05:00
konnectr
29e7c2bb4c
add doc nowInBlock 2022-08-20 22:52:14 +05:00
Robert Schulze
24615059fb
Merge pull request #40319 from ClickHouse/custom-error-code-in-throwif
Allow custom error code in throwIf
2022-08-19 09:49:35 +02:00
Yakov Olkhovskiy
1220ac0b7a
Update docs/ru/sql-reference/functions/other-functions.md 2022-08-17 23:28:26 -04:00
Robert Schulze
f121941916
feat: allow custom error code for SQL function throwIf() 2022-08-17 21:14:40 +00:00
Denny Crane
c7aaf9bbc6
Update array-join.md 2022-08-15 16:44:27 -03:00
Denny Crane
73f51a0f19 doc array-join 2022-08-15 16:40:48 -03:00
Robert Schulze
55ff546322
Fix typo 2022-08-11 20:42:59 +00:00
Dan Roscigno
35ee71a908
Merge pull request #40110 from ClickHouse/fix-docs-for-39287
Fix documentation of "modulo(a, b)"
2022-08-11 16:14:28 -04:00
Robert Schulze
1f10c4be8c
Update docs/ru/sql-reference/functions/arithmetic-functions.md
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2022-08-11 11:25:33 +02:00
Robert Schulze
aa42a42e0f
Fix documentation of "modulo(a, b)"
Fixes #39287

ClickHouse uses the same semantics for modulo on floats as Python, i.e.
  4.2 % 2.0 = 0.2
and not as previously documented:
  4.2 % 2.0 --> (drop decimal places) --> 4 % 2 = 0.

Fixed the documentation.
2022-08-11 08:23:43 +00:00
Alexey Milovidov
8374f31306
Merge pull request #39425 from arenadata/ADQM-485
Add support of dates from year 1900 to 2299 for Date32 and DateTime64
2022-08-11 05:01:53 +03:00
Rich Raposa
9f85d85e08
The admonitions were missing section endings (#40073) 2022-08-10 21:08:40 +02:00
Alexey Milovidov
53097b3d65
Merge pull request #40015 from tbragin/master
Add parseDateTime64BestEffortUS* functions
2022-08-10 20:00:50 +03:00
Tanya Bragin
be51187f85 Update tests to use UTC, and docs to consistent order 2022-08-09 17:27:06 -07:00
Alexey Milovidov
97af108756
Update type-conversion-functions.md 2022-08-10 02:00:54 +03:00
Robert Schulze
76cc0cdc27
Remove redundancy in documentation of parseDateTimeBestEffortUS[OrNull|OrZero]()
The documentation of functions
- parseDateTimeBestEffortUS(),
- parseDateTimeBestEffortUSOrNull() and
- parseDateTimeBestEffortUSOrZero()
previously repeated the text of functions
- parseDateTimeBestEffort(),
- parseDateTimeBestEffortOrNull() and
- parseDateTimeBestEffortOrZero().

In the docs of the first function, the duplication  was removed and we
now emphasize the difference to the non-US version more clearly.

The docs of the second and third functions were just stripped of the
duplication. Chinese docs did not mention the US-date variants, hence
nothing was changed in them.
2022-08-09 16:54:06 +00:00
Robert Schulze
7c59331e0e
Make examples for function 'parseDateTimeBestEffort()' less ambiguous
"12/12" and "12-12" could be interpreted as MM/DD or DD/MM and therefore
were not great examples.
2022-08-09 08:56:05 +00:00
Tanya Bragin
eb61db3b67 initial changes to close #37492 2022-08-08 19:45:00 -07:00
Kruglov Pavel
dfdfabec94
Merge pull request #39218 from evillique/file_default_value
Add default argument to the function `file`
2022-08-01 13:04:19 +02:00
Robert Schulze
b52843d5fd
Merge pull request #37951 from zvonand/dt64_timeslots
Fix timeSlots for DateTime64
2022-07-30 20:49:05 +02:00
Dan Roscigno
b9c8feb2b2
Merge pull request #39356 from nickitat/small_addition_to_docs
Small addition to mysql dictionary docs
2022-07-26 11:11:28 -04:00
Roman Vasin
b462366415 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-485 2022-07-25 17:55:47 +00:00
Nikolay Degterinsky
ac7d83055e
Merge pull request #39311 from whysage/doc-fix-aggregatefunction
Doc. Fix link in doc AggregateFunction
2022-07-25 18:22:35 +02:00
whysage
a7f0886157 Fix second link in doc AggregateFunction 2022-07-25 18:54:02 +03:00
Denny Crane
31630ff38e
Update string-replace-functions.md 2022-07-24 20:18:49 -03:00
Andrey Zvonov
e473606cd1
Merge branch 'master' into zvonand-b58-datatype 2022-07-21 15:55:05 +02:00
Roman Vasin
e3192cf753 Correct docs to reflect new range 1900..2299 for Date32 and DateTime64; Cleanup code 2022-07-20 15:19:02 +00:00
Nikolay Degterinsky
c9ae525da7
Merge branch 'master' into file_default_value 2022-07-20 14:22:58 +02:00
Nikita Taranov
7f6b175c3e impl 2022-07-18 19:39:10 +02:00
whysage
1adfa8e398 Fix link in doc AggregateFunction 2022-07-18 10:41:57 +03:00
Denny Crane
429b19da8b
Update partition.md 2022-07-17 21:16:40 -03:00