Commit Graph

1996 Commits

Author SHA1 Message Date
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
Denny Crane
27326da00b
Update partition.md 2022-07-17 21:12:53 -03:00
Andrey Zvonov
e0d1954fac
Merge branch 'master' into dt64_timeslots 2022-07-16 22:33:46 +02:00
zvonand
728219e640 updated due to review 2022-07-16 22:16:19 +02:00
zvonand
d07a652883 merge 2022-07-16 19:05:07 +02:00
zvonand
4ab52b6873 added new DataType + fixes 2022-07-16 18:58:47 +02:00
Nikolay Degterinsky
9ca2935d72 Add default argument to function file 2022-07-14 09:54:44 +00:00
Nikolay Degterinsky
e3a79520c1 Merge remote-tracking branch 'upstream/master' into translate 2022-07-13 11:42:40 +00:00
Nikolay Degterinsky
185978bfbe Add docs 2022-07-13 01:52:25 +00:00
Andrey Zvonov
7bfe155f09
Merge branch 'master' into dt64_timeslots 2022-07-12 10:26:38 +03:00
Alexey Milovidov
74d02aeca7
Merge pull request #38907 from evillique/compression_level
Add compression level for data export
2022-07-07 22:27:21 +03:00
Denny Crane
29d75e5a12
Update column.md 2022-07-07 08:21:01 -03:00
Nikolay Degterinsky
fcb6cfb6df Fix style issues 2022-07-07 08:31:55 +00:00
Nikolay Degterinsky
54d210d714 Add documentation 2022-07-07 01:59:00 +00:00
Denny Crane
9d520e391f
Update index.md 2022-07-06 20:57:25 -03:00
Denny Crane
0a70e596a8
Update update.md 2022-07-06 20:55:19 -03:00
Denny Crane
f361ddcf49
Update partition.md 2022-07-06 20:48:07 -03:00
Denny Crane
d542e8fb7b
Update exchange.md 2022-07-06 20:43:45 -03:00
GruffGemini
9fc7c9f575
Update group-by.md
docs (group-by.md): fixed broken links
2022-06-28 17:55:16 +03:00
Andrey Zvonov
c18d09a617
Merge branch 'master' into zvonand-base58 2022-06-24 07:05:49 +03:00
zvonand
a94c40e33a Merge branch 'master' of github.com:ClickHouse/ClickHouse into dt64_timeslots 2022-06-23 17:08:28 +05:00
mergify[bot]
234f0c6399
Merge branch 'master' into revert-35914-FIPS_compliance 2022-06-23 12:06:17 +00:00
zvonand
946117ec89 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-base58 2022-06-23 17:04:40 +05:00
zvonand
e33324bd35 fix docs 2022-06-23 16:56:28 +05:00
zvonand
a7ff956c83 updated docs 2022-06-22 14:56:37 +05:00
Alexey Milovidov
5855668514 Remove trash 2022-06-22 06:23:35 +02:00
Anton Petrov
d595006f6f
Update view.md
fix typo
2022-06-21 22:19:03 +03:00
zvonand
9c6b2b9ba0 added docs 2022-06-20 20:10:28 +05:00
Alexey Milovidov
9d6c6b5e13
Merge pull request #38139 from ClickHouse/Avogar-patch-5
Fix docs about encryption functions
2022-06-18 04:10:24 +03:00
DanRoscigno
14ecf4c497 s/Clickhouse/ClickHouse/ 2022-06-17 08:40:14 -04:00
Kruglov Pavel
489765aa6d
Fix ru docs 2022-06-16 14:51:49 +02:00
Antonio Andelic
b9cf6fe367 Merge branch 'master' into pp-system-unfreeze 2022-06-13 14:46:30 +00:00
zvonand
fb67b080b9 added docs 2022-06-10 14:30:17 +03:00
Kseniia Sumarokova
daec3d1c87
Update check-table.md 2022-06-09 14:58:37 +02:00
Maksim Kita
ec7b99e564 ExecutableUserDefinedFunctions added parameters documentation 2022-06-08 16:59:41 +02:00
Vadim Volodin
637d293fbd Add SYSTEM UNFREEZE query 2022-06-08 15:21:14 +03:00
Denny Crane
dc9b11b814
Update map.md 2022-06-01 15:39:45 -03:00
Denny Crane
931d424fa1
Update tuple-map-functions.md 2022-06-01 15:37:13 -03:00
Denny Crane
5d3cc4be26
Update tuple-map-functions.md 2022-06-01 15:35:58 -03:00
Denny Crane
219e46dc8f
Update map.md 2022-06-01 15:29:58 -03:00
Denny Crane
2b78adf628
Update map.md 2022-06-01 15:27:31 -03:00
Denny Crane
1d2cf73b81
Update external-dicts-dict-layout.md 2022-05-28 17:14:36 -03:00
Denny Crane
2395764a92
Update external-dicts-dict-layout.md 2022-05-28 17:07:39 -03:00
Denny Crane
bfc7cbaf1f
Update external-dicts-dict-layout.md 2022-05-28 17:02:27 -03:00
Denny Crane
4573c2431e
Update external-dicts-dict-layout.md 2022-05-28 16:59:55 -03:00
Denny Crane
c478f2c21a
Update uuid-functions.md 2022-05-22 20:13:43 -03:00
Yakov Olkhovskiy
a5e421581d docs fix 2022-05-20 01:30:45 -04:00
Yakov Olkhovskiy
b7bc40ce58 documentation updated 2022-05-19 22:16:08 -04:00
Denny Crane
f7ead85150
Update boolean.md 2022-05-17 10:49:21 -03:00
Denny Crane
52b7f899b2
Update syntax.md 2022-05-16 11:27:49 -03:00
rfraposa
044e76d91b Add BLAKE3 hash function 2022-05-11 12:10:16 -06:00
Rich Raposa
34f0d1c5f8
Revert "BLAKE3 hash function documentation" 2022-05-10 13:28:36 -06:00
Rich Raposa
23608b5e53
Merge pull request #36999 from BoloniniD/BLAKE3_docs
BLAKE3 hash function documentation
2022-05-10 13:28:21 -06:00
Vladimir C
425d429044
Merge pull request #37049 from ni1l/master 2022-05-10 12:58:30 +02:00
ni1l
f1eee40345 Add isIPAddressInRange function example 2022-05-10 00:03:10 +08:00
hardstep33
d0bb66604c
Update int-uint.md (#36404)
add UInt128 in documentation

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-09 13:36:18 +02:00
Alexey Milovidov
3a2ddac2e6
Merge pull request #33861 from RogerYK/fix-substring-negative-offset-length
Fix substring negative offset length
2022-05-08 01:09:36 +03:00
Alexey Milovidov
acf48ef933
Merge pull request #36456 from dzhiryakov/patch-1
Fix typo in LowCardinality doc
2022-05-07 15:33:51 +03:00
Alexey Milovidov
43b2664c87
Update array-functions.md 2022-05-07 13:49:03 +03:00
mergify[bot]
2d1057bc87
Merge branch 'master' into fix-substring-negative-offset-length 2022-05-07 10:30:39 +00:00
BoloniniD
0cf6f66fcf Add BLAKE3 hash docs 2022-05-07 12:08:37 +03:00
Rich Raposa
8c3f313671
Merge pull request #36791 from ClickHouse/rfraposa-patch-3
Various docs fixes
2022-04-29 06:09:23 -06:00
rfraposa
e7b7b7ecd3 Various docs fixes 2022-04-29 05:33:51 -06:00
Maksim Kita
fc4f241f01 Fix documentation for executable user defined functions configuration 2022-04-28 18:01:10 +02:00
mergify[bot]
705d5af3a0
Merge branch 'master' into to_start_of_five_minutes 2022-04-24 22:24:24 +00:00
Alexey Milovidov
b06c544256
Merge pull request #36292 from simpl1g/simpl1g/fix-json-value-docs
[DOCS] JSON_VALUE return unquoted string after 21.12
2022-04-25 01:22:22 +03:00
ifinik
2bfda10c76
Update quantiledeterministic.md
Пара побившихся ссылок
2022-04-22 23:48:00 +03:00
Memo
956d525840 fix conflict 2022-04-22 11:22:50 +08:00
Memo
39aadf0975 replaced toStartOfFiveMinute to toStartOfFiveMinutes 2022-04-22 10:49:59 +08:00
dmitriy
30c99d3ef2
Fix typo in LowCardinality doc 2022-04-20 15:55:51 +03:00
Mikhail f. Shiryaev
1e9d80a9c2
Merge pull request #36297 from ClickHouse/docs-staging
Docs staging
2022-04-20 10:47:54 +02:00
Yakov Olkhovskiy
f6a7b6c2a1
Merge pull request #36352 from awakeljw/fork_chmaster
Possible range issues in automatic assigned enums, also fix error message.
2022-04-19 23:34:35 -04:00
Yakov Olkhovskiy
389cc4b17b
Update enum.md
automatic assigned enums for ru is added
2022-04-19 23:33:04 -04:00
rfraposa
476122e92a
Fix broken links 2022-04-19 20:17:01 +02:00
Mikhail f. Shiryaev
7925d925a9
Merge branch 'master' into docs-staging 2022-04-19 11:00:03 +02:00
yjant
0cc90c9568
Update nothing.md
Links are wrong.
2022-04-18 09:56:08 +08:00
rfraposa
fb08c5b7e1 Merge branch 'master' into docs-staging 2022-04-15 07:25:27 -06:00
Konstantin Ilchenko
1b8b43af52 [DOCS] JSON_VALUE return unqouted string after 21.12 2022-04-15 13:03:59 +02:00
rfraposa
1afe4300e8 Fixed broken links 2022-04-11 09:55:54 -06:00