Commit Graph

607 Commits

Author SHA1 Message Date
Sergei Trifonov
f7a1ed3141
Merge branch 'master' into readonly-settings-allow 2022-09-19 12:52:36 +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
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
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
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
Denny Crane
e3af5a7a11
Doc. Added ON CLUSTER cluster in couple places (#40874) 2022-09-01 13:31:22 +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
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
DanRoscigno
726d3c0739 add slugs to all docs 2022-08-26 13:37:11 -04:00
Rich Raposa
9f85d85e08
The admonitions were missing section endings (#40073) 2022-08-10 21:08:40 +02: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
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
Anton Petrov
d595006f6f
Update view.md
fix typo
2022-06-21 22:19:03 +03:00
Antonio Andelic
b9cf6fe367 Merge branch 'master' into pp-system-unfreeze 2022-06-13 14:46:30 +00:00
Kseniia Sumarokova
daec3d1c87
Update check-table.md 2022-06-09 14:58:37 +02:00
Vadim Volodin
637d293fbd Add SYSTEM UNFREEZE query 2022-06-08 15:21:14 +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
rfraposa
e7b7b7ecd3 Various docs fixes 2022-04-29 05:33:51 -06:00
rfraposa
fb08c5b7e1 Merge branch 'master' into docs-staging 2022-04-15 07:25:27 -06:00
rfraposa
1afe4300e8 Fixed broken links 2022-04-11 09:55:54 -06:00
rfraposa
d9e6f780db Fixed broken links 2022-04-10 23:01:34 -06:00
rfraposa
5250d9ad11 Removed /ja folder, cleaned up /ru markdown 2022-04-09 07:29:05 -06:00
Yakov Olkhovskiy
7dbe8bc2dc major bugs fixed, tests added, docs updated 2022-04-07 01:21:24 -04:00
Yakov Olkhovskiy
90c4cd3de7
Merge branch 'master' into interpolate-feature 2022-04-05 14:39:07 -04:00
Yakov Olkhovskiy
4c14c47786
Update table.md
allow EPHEMERAL without expression
2022-03-29 04:06:01 -04:00
Yakov Olkhovskiy
b01f965f31 Update order-by.md
fix
2022-03-19 03:03:08 -04:00
Yakov Olkhovskiy
f9ed659959 Update order-by.md
INTERPOLATE is added
2022-03-19 03:02:38 -04:00
Yakov Olkhovskiy
40c91c3f98 Update index.md
INTERPOLATE is added
2022-03-19 03:01:56 -04:00
Maksim Kita
1392f980a0
Update limit-by.md 2022-03-06 21:30:59 +01:00
Denny Crane
0f37183ca6
Update limit-by.md 2022-03-06 13:34:34 -04:00
Nikolai Kochetov
ab288642f6 Merge branch 'master' into ephemeral-column 2022-02-15 10:03:34 +00:00
Denny Crane
4554f0d542
Update column.md 2022-02-11 15:45:28 -04:00
Denny Crane
7ad3e182ec
Update column.md 2022-02-11 15:40:57 -04:00
Denny Crane
f935c524ea
fix description of MATERIALIZE COLUMN 2022-02-11 15:28:20 -04:00
yakov-olkhovskiy
b90125bed0
Update table.md 2022-02-08 21:02:47 -05:00
yakov-olkhovskiy
98c5b089a1
Update table.md
EPHEMERAL specifier is added
2022-02-08 11:45:49 -05:00
grantovsky
1eb72b4544
little fix user.md
removed keyword 'NAME' from HOST REGEXP instruction in examples
2022-01-27 12:25:55 +03:00
Filatenkov Artur
852b5fe4b2
Correct paths 2022-01-24 17:37:23 +03:00
mergify[bot]
5ef5e1d558
Merge branch 'master' into karnevil-DOCSUP-18631 2022-01-24 12:09:59 +00:00
Anton Popov
a25f2518e3
Merge pull request #33141 from 1over/feature_default_keyword
Add support of DEFAULT keyword for INSERT
2022-01-18 02:04:37 +03:00
Denny Crane
9de3fd082e
Update grant.md 2021-12-28 14:14:32 -04:00
Denny Crane
6e70d690c8
Update grant.md 2021-12-28 14:12:13 -04:00
Vladimir C
78710d71b5
Specify sql syntax in code snippets in join.md 2021-12-28 10:49:35 +03:00
Tatiana Kirillova
72a9fe51d2
Update join.md 2021-12-28 09:23:19 +03:00
Tatiana Kirillova
8dc204c280 fix diff and translate 2021-12-27 21:23:09 +03:00
Andrii Buriachevskyi
6a0a0efd29 Update docs with DEFAULT keyword for INSERT statement 2021-12-24 13:45:43 +01:00
Denny Crane
43fa39cec1
Update group-by.md 2021-12-15 12:16:49 -04:00
Alexey Gusev
fa4708b9e1
fix typo 2021-12-14 18:42:43 +03:00
cmsxbc
366ee3deba
Support PostgreSQL style ALTER MODIFY COLUMN 2021-11-30 21:07:14 +08:00
Vladimir C
ef2571af06
Merge pull request #31585 from lehasm/alexey-sm-DOCSUP-14893-document-COMPRESSION 2021-11-30 11:36:45 +03:00
Vladimir C
c6d49769d9
Apply suggestions from code review 2021-11-30 11:36:03 +03:00
Alexey
37834c30cf Review addon 2021-11-29 20:17:34 +00:00
lehasm
d1c3f12734
Update docs/ru/sql-reference/statements/insert-into.md
Co-authored-by: gyuton <40863448+gyuton@users.noreply.github.com>
2021-11-29 23:15:29 +03:00
lehasm
69369385ee
Update docs/ru/sql-reference/statements/select/into-outfile.md
Co-authored-by: gyuton <40863448+gyuton@users.noreply.github.com>
2021-11-29 23:13:48 +03:00
Alexey
bc4047ef24 updates 2021-11-28 19:26:51 +00:00
Alexey
c206b903bb ru translation 2021-11-28 19:18:06 +00:00
karnevil13
272a3a1ee9
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-11-24 22:02:22 +03:00
karnevil13
9a60033fef
Merge branch 'master' into karnevil-DOCSUP-18631 2021-11-23 01:05:12 +03:00
karnevil13
77df8ce0dd DOCSUP-18631: Edit and translate 2021-11-23 00:44:08 +03:00
Kseniia Sumarokova
32911193de
Merge pull request #31394 from lehasm/alexey-sm-DOCSUP-17653-doc-WHERE-EXISTS
DOCSUP-17653: document EXISTS(subquery)
2021-11-22 08:57:53 +03:00
Alexey
122b42c36a Formatting updated. Spelling fix.
2 paragraphs reordered.
2021-11-20 08:44:36 +00:00
Alexey
ef6443f3f5 Translated paragraph about NULL from ru to en.
Copied corresponding example
2021-11-19 19:21:50 +00:00
Alexey
4581b37da5 ru 2021-11-16 19:15:02 +00:00
Denny Crane
4302b0504e
Update dictionary.md 2021-11-12 12:51:20 -04:00
alesapin
fe44b167d1
Merge pull request #31110 from sevirov/sevirov-DOCSUP-15458-document_the_alter_table_modify_comment
DOCSUP-15458: Document the SQL-statement ALTER TABLE ... MODIFY COMMENT
2021-11-12 16:45:00 +03:00
Maksim Kita
42ecb28788
Merge pull request #31082 from sevirov/sevirov-DOCSUP-16607-update_the_sql_statement_create_dictionary
DOCSUP-16607: Update the SQL-statement CREATE DICTIONARY
2021-11-12 16:29:27 +03:00
Denny Crane
d7be766581
Update column.md 2021-11-09 17:32:58 -04:00
Denny Crane
8541c21aec
Doc. freeze with name 2021-11-07 17:39:37 -04:00
Dmitriy
2f01d45bb2 Translate to Russian
Выполнил перевод на русский язык.
2021-11-07 19:04:14 +03:00
Dmitriy
1c08065a37 Translate to Russian
Выполнил перевод на русский язык.
2021-11-06 10:52:28 +03:00
tavplubix
3f8f08c49c
Merge pull request #30772 from sevirov/sevirov-DOCSUP-16361-update_the_sql_statement_create_database
DOCSUP-16361: Update the SQL-statement CREATE DATABASE
2021-11-01 21:40:48 +03:00
Dmitriy
4d2be6d8bb Add database engines
Добавил движки баз данных.
2021-11-01 19:39:35 +03:00
alexey-milovidov
211ff056e9
Merge pull request #30419 from karnevil13/karnevil-DOCSUP-16354
DOCSUP-16354: Edit and translate to Russian (listen_backlog)
2021-10-31 22:12:39 +03:00
alexey-milovidov
bc5be3208e
Merge pull request #30815 from simpl1g/doc-add-projection-example
[DOCS] Fix ADD PROJECTION example in ru/en docs
2021-10-31 14:29:48 +03:00
Aleksandr Shalimov
0ff8ab70f6
Fix spelling 2021-10-31 19:02:50 +08:00
Alexey
671b421a31 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into alexey-sm-DOCSUP-14793-document-describe_include_subcolumns 2021-10-28 19:45:53 +00:00
Dmitriy
3515ab99b6 Translate to Russian
Выполнил перевод на русский язык.
2021-10-28 20:27:29 +03:00
Konstantin Ilchenko
88084c715b [DOCS] Fix ADD PROJECTION example in ru/en docs 2021-10-28 17:34:09 +02:00
Alexey
a09746b4e2 updated related data types 2021-10-28 04:47:16 +00:00
Anton Popov
2bb586bed3
Merge pull request #30541 from gyuton/gyuton-DOCSUP-14941-Document-asynchronous-insert-mode
DOCSUP-14941-Document-asynchronous-inserts
2021-10-27 20:25:17 +03:00
gyuton
527474da64 Fix wording 2021-10-27 16:21:50 +03:00
Kseniia Sumarokova
57626438b0
Merge pull request #30469 from kirillikoff/kirillikoff-DOCSUP-13264
DOCSUP-13264: Document the SQL-statements INTERSECT, EXCEPT and ANY, ALL operators
2021-10-27 09:48:12 +03:00
gyuton
901e5170a1 small fixes 2021-10-26 16:42:19 +03:00
gyuton
c08f6cae05 translated to Russian 2021-10-25 22:39:47 +03:00
Tatiana Kirillova
4fa3b94ead
Update intersect.md 2021-10-24 20:29:41 +03:00