Commit Graph

1465 Commits

Author SHA1 Message Date
tavplubix
1f07dd06fc
Merge pull request #25375 from atereh/terehova-DOCSUP-10113-update-function-range
DOCSUP-10113: Update the function range docs
2021-06-22 17:43:43 +03:00
Anton Popov
eea4aac0db
Merge pull request #25065 from gyuton/gyuton-DOCSUP-7551-Allow-nested-with-multiple-nesting-and-subcolumns-of-complex-types
DOCSUP-7551: Documented nested with multiple nesting and subcolumns of complex types
2021-06-22 17:41:45 +03:00
tavplubix
a6a43ce3ee
Revert "Implement h3ToGeo function" 2021-06-22 17:25:21 +03:00
Alina Terekhova
749855f1c8
Removed start-end comparison statement 2021-06-22 15:43:16 +02:00
Nikita Mikhaylov
19b3659517
Merge pull request #24867 from bharatnc/ncb/h3-indexing-funcs
Implement h3ToGeo function
2021-06-22 15:59:09 +03:00
George
6edf9e1d07 Deleted obsolete phrase 2021-06-22 12:27:22 +03:00
George
87e02dca9c Small update 2021-06-22 12:23:12 +03:00
George
eaa0f35811 Documented setting flatten_nested 2021-06-22 03:23:33 +03:00
Alina Terekhova
f531421c33 Rephrasing 2021-06-21 12:11:42 +02:00
Alina Terekhova
fd03f3027b Implementation details 2021-06-21 12:01:23 +02:00
Alina Terekhova
ee82928984 Structure fix 2021-06-21 11:48:24 +02:00
Alina Terekhova
d09ad74c12 Tiret fix 2021-06-20 14:37:28 +02:00
Alina Terekhova
11d350e16d UInt link fixes + small edits 2021-06-20 14:23:18 +02:00
Mike Kot
4c391f8e99
SYSTEM RESTORE REPLICA replica [ON CLUSTER cluster] (#13652)
* initial commit: add setting and stub

* typo

* added test stub

* fix

* wip merging new integration test and code proto

* adding steps interpreters

* adding firstly proposed solution (moving parts etc)

* added checking zookeeper path existence

* fixing the include

* fixing and sorting includes

* fixing outdated struct

* fix the name

* added ast ptr as level of indirection

* fix ref

* updating the changes

* working on test stub

* fix iterator -> reference

* revert rocksdb submodule update

* fixed show privileges test

* updated the test stub

* replaced rand() with thread_local_rng(), updated the tests

updated the test

fixed test config path

test fix

removed error messages

fixed the test

updated the test

fixed string literal

fixed literal

typo: =

* fixed the empty replica error message

* updated the test and the code with logs

* updated the possible test cases, updated

* added the code/test milestone comments

* updated the test (added more testcases)

* replaced native assert with CH one

* individual replicas recursive delete fix

* updated the AS db.name AST

* two small logging fixes

* manually generated AST fixes

* Updated the test, added the possible algo change

* Some thoughts about optimizing the solution:

ALTER MOVE PARTITION .. TO TABLE -> move to detached/ + ALTER ... ATTACH

* fix

* Removed the replica sync in test as it's invalid

* Some test tweaks

* tmp

* Rewrote the algo by using the executeQuery instead of

hand-crafting the ASTPtr.

Two questions still active.

* tr: logging active parts

* Extracted the parts moving algo into a separate helper function

* Fixed the test data and the queries slightly

* Replaced query to system.parts to direct invocation,

started building the test that breaks on various parts.

* Added the case for tables when at least one replica is alive

* Updated the test to test replicas restoration by detaching/attaching

* Altered the test to check restoration without replica restart

* Added the tables swap in the start if the server failed last time

* Hotfix when only /replicas/replica... path was deleted

* Restore ZK paths while creating a replicated MergeTree table

* Updated the docs, fixed the algo for individual replicas restoration case

* Initial parts table storage fix, tests sync fix

* Reverted individual replica restoration to general algo

* Slightly optimised getDataParts

* Trying another solution with parts detaching

* Rewrote algo without any steps, added ON CLUSTER support

* Attaching parts from other replica on restoration

* Getting part checksums from ZK

* Removed ON CLUSTER, finished working solution

* Multiple small changes after review

* Fixing parallel test

* Supporting rewritten form on cluster

* Test fix

* Moar logging

* Using source replica as checksum provider

* improve test, remove some code from parser

* Trying solution with move to detached + forget

* Moving all parts (not only Committed) to detached

* Edited docs for RESTORE REPLICA

* Re-merging

* minor fixes

Co-authored-by: Alexander Tokmakov <avtokmakov@yandex-team.ru>
2021-06-20 11:24:43 +03:00
Alina Terekhova
fdc729764b Edits 2021-06-18 19:53:52 +02:00
Maksim Kita
2792f302fd
Merge pull request #25294 from gyuton/gyuton-DOCSUP-10300-Edit-and-translate-to-Russian
DOCSUP-10300: Edited and translated to Russian
2021-06-18 10:11:10 +03:00
Maksim Kita
b34b66c55d
Merge pull request #25394 from ClickHouse/function-bit-position-to-array-merge
Merging #23843
2021-06-18 01:31:33 +03:00
Maksim Kita
bc86b2b738 Updated function bitPositionsToArray before merge 2021-06-17 12:20:53 +03:00
Alina Terekhova
dd6f93b2a7 Small corrections 2021-06-17 11:02:06 +02:00
Vladimir
7a56ab8b1d
Merge pull request #25299 from mga-chka/equals_op_in_sequence_functions 2021-06-17 11:45:04 +03:00
Maksim Kita
5b2380d541
Merge branch 'function-bit-position-to-array-merge' into feature-function-bitpositionToArray 2021-06-17 10:23:41 +03:00
Alina Terekhova
b61346a708 Examples fix + anchor fix 2021-06-17 02:16:34 +02:00
Alina Terekhova
06261466e4 First edits 2021-06-17 01:34:59 +02:00
Maksim Kita
7b7ce0f741 Added documentation 2021-06-16 21:33:44 +03:00
George
ce02592219 Small fixes 2021-06-16 18:08:47 +03:00
gyuton
dc46d90f4f
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-16 18:03:11 +03:00
George
864b35533e small fixes 2021-06-16 13:53:09 +03:00
gyuton
f877c7ee51
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-16 13:47:46 +03:00
christophe.kalenzaga
2dae69a40b add == operators in sequence*() aggregate fuctions 2021-06-15 18:58:20 +02:00
George
b8c20f201b Small update 2021-06-15 18:11:11 +03:00
George
2f596fba05 Minor improvements 2021-06-15 17:57:49 +03:00
George
2b7547cb13 Small update 2021-06-15 17:52:23 +03:00
George
c50eb78819 Updated EN version 2021-06-15 17:38:08 +03:00
gyuton
70b8758bde
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-15 17:05:43 +03:00
George
81b1ef1b0c Small fixes 2021-06-15 16:58:42 +03:00
George
30f3eacfe7 First draft 2021-06-15 16:32:54 +03:00
Vladimir
be11ff0820
Merge pull request #25236 from kirillikoff/kirillikoff-DOCSUP-9861 2021-06-15 15:49:08 +03:00
AnaUvarova
68b20a934a
DOCSUP-6543: Edit and translate Show Clusters and MergeTree (#24130)
* +

* ready for review

* Update docs/ru/sql-reference/statements/show.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update merge-tree-settings.md

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update merge-tree-settings.md

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update docs/ru/operations/settings/merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>

* Update merge-tree-settings.md

* about fsync

* Update merge-tree-settings.md

* Update merge-tree-settings.md

* Update merge-tree-settings.md

Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-15 15:21:44 +03:00
kirillikoff
e09a09f775
Update index.md 2021-06-15 13:01:20 +03:00
Vladimir
cf2c3ee0d8
Update example for date and time operator
Co-authored-by: Nikolai Kochetov <KochetovNicolai@users.noreply.github.com>
2021-06-15 12:58:51 +03:00
Vladimir
1f88cf3ccf
Merge pull request #25244 from otrazhenia/evgsudarikova-DOCSUP-10025 2021-06-15 12:01:38 +03:00
Vladimir
a43c5c0a7f
Apply suggestions from code review 2021-06-15 10:27:38 +03:00
kirillikoff
8531aef8bd
Update docs/en/sql-reference/operators/index.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-14 23:06:04 +03:00
kirillikoff
a910a15115
Update docs/en/sql-reference/operators/index.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-06-14 23:05:37 +03:00
bharatnc
4487745dde h3ToGeo - docs 2021-06-14 11:38:38 -07:00
Tatiana Kirillova
8a94e9610e Russian translation 2021-06-14 20:19:28 +03:00
Evgeniia Sudarikova
9e11daa8c6 minor changes 2021-06-14 15:54:27 +03:00
Evgeniia Sudarikova
414bde9f2a edited after review and translated notes in RU examples 2021-06-14 15:39:53 +03:00
Evgeniia Sudarikova
8ddb7f7fbf more edits in EN 2021-06-13 15:51:26 +03:00
Evgeniia Sudarikova
6d2c062859 edited EN 2021-06-13 15:20:48 +03:00