Commit Graph

2981 Commits

Author SHA1 Message Date
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
Robert Schulze
f121941916
feat: allow custom error code for SQL function throwIf() 2022-08-17 21:14:40 +00:00
Stephan
5252d41fdb
Provide missing documentation for arrayWithConstant
Documentation of `arrayWithConstant(l, const)`-function, as this was not part of the documentation so far.
2022-08-17 13:21:03 +02:00
Stephan
9242c2adb4
Add description of {condition}-keyword
Using the {condition}-keyword for Dictionaries is supported since a few weeks (see https://github.com/ClickHouse/ClickHouse/issues/33746 ). This PR adds a corresponding documentation.
2022-08-17 11:56:48 +02:00
Denny Crane
f574b49825
Update array-join.md 2022-08-15 16:45:07 -03:00
Denny Crane
f3b349fd18
Update array-join.md 2022-08-15 16:42:55 -03:00
Denny Crane
73f51a0f19 doc array-join 2022-08-15 16:40:48 -03:00
DanRoscigno
d47fa94ded promote to H1 to fix case in title 2022-08-15 13:22:10 -04:00
DanRoscigno
71409f8f67 trying tags with Algolia 2022-08-15 11:08:46 -04:00
DanRoscigno
ced68e9298 add title frontmatter 2022-08-15 09:27:20 -04: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
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
DanRoscigno
b268e4206a remove indent as it causes codeblock 2022-08-10 20:09:43 -04: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
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
DanRoscigno
51928ebbac add example 2022-08-05 13:23:53 -04:00
Alexey Milovidov
23353c376f
Update docs/en/sql-reference/aggregate-functions/grouping_function.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-08-05 07:17:50 +03:00
alesapin
29273d2bc1
Merge pull request #39847 from nityanandagohain/patch-1
Extra semicolon removed from the TTL example
2022-08-04 14:48:10 +02:00
Nityananda Gohain
0b82fb7816
Extra semicolon removed from the TTL example
This PR removes an extra semicolon from the TTL example.
2022-08-03 12:52:06 +05:30
Anton Popov
f94d4d4877
Merge branch 'master' into hash-functions-map 2022-08-02 13:26:54 +02:00
Anton Popov
2a841d0860 update docs for hash functions 2022-08-01 14:22:40 +00: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
Alexey Milovidov
45d9bb5270
Update grouping_function.md 2022-07-30 05:27:28 +03:00
Alexey Milovidov
1ab7d68a99
Update grouping_function.md 2022-07-30 05:25:57 +03:00
Alexey Milovidov
99ccbd21f6
Update grouping_function.md 2022-07-30 05:25:31 +03:00
Dan Roscigno
d3477e9b94
Merge pull request #38967 from kceventus/patch-2
Update any.md
2022-07-27 12:02:18 -04:00
alesapin
2dfb547847
Merge pull request #39054 from SmitaRKulkarni/add-option-for-outfile-to-print-stdout
Add an option to INTO OUTFILE to also print details to standard output.
2022-07-27 13:51:38 +02:00
Robert Schulze
7d653b3bd8
Merge pull request #39495 from ClickHouse/mark-qpl-deflate-experimental
Mark new codec DEFLATE_QPL as experimental + cosmetics
2022-07-26 19:00:21 +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
Dan Roscigno
39d6327fe1
Update docs/en/sql-reference/aggregate-functions/reference/any.md 2022-07-26 11:10:16 -04:00
Vladimir C
3bd5ca9b6a
Merge pull request #39271 from vdimir/join-alg-setting
Cleanup logic around join_algorithm setting, add docs
2022-07-26 11:00:22 +02:00
Roman Vasin
b462366415 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-485 2022-07-25 17:55:47 +00:00
Alexey Milovidov
6fdcb009ff
Merge pull request #39533 from ClickHouse/now-in-block
Add function `nowInBlock`
2022-07-25 04:22:11 +03:00
Denny Crane
a1a1d357b4
Update string-replace-functions.md 2022-07-24 20:15:48 -03:00
Alexey Milovidov
0492f23d07 Add the docs 2022-07-24 23:11:54 +02:00
Robert Schulze
2785783def
Mark DEFLAPT_QPL as 'experimental' codec + cosmetics 2022-07-24 20:10:11 +00:00
Robert Schulze
c788e05c77
Merge pull request #39292 from zvonand/zvonand-b58-datatype
Simplify Base58 encoding/decoding
2022-07-24 18:09:40 +02:00
mergify[bot]
0933dd7904
Merge branch 'master' into add-option-for-outfile-to-print-stdout 2022-07-23 19:50:10 +00:00
Kruglov Pavel
f79924f270
Merge branch 'master' into file_default_value 2022-07-22 21:17:37 +02:00
vdimir
e8834c5ea3
Remove trailing whitespaces from docs/en/sql-reference/statements/select/join.md 2022-07-21 14:53:40 +00: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
DanRoscigno
c411763c2f split the note into two notes 2022-07-20 09:41:00 -04:00
Nikolay Degterinsky
c9ae525da7
Merge branch 'master' into file_default_value 2022-07-20 14:22:58 +02:00
Robert Schulze
4e41cac07a
Merge branch 'master' into dev_intel_iaa_deflate 2022-07-19 18:48:24 +02:00
zvonand
30eb2cbcb3 removed Base58 domain type 2022-07-19 14:03:13 +02:00
Kruglov Pavel
12221cffc9
Merge pull request #39071 from jiahui-97/parse_timedelta
implementation of parseTimeDelta function
2022-07-19 12:39:56 +02:00
jasperzhu
c044c67745
Merge branch 'master' into dev_intel_iaa_deflate 2022-07-19 15:32:57 +08:00
jiahui-97
e7af88b688 implementation of parseTimeDelta function
Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
2022-07-19 09:33:02 +08:00
Nikita Taranov
7f6b175c3e impl 2022-07-18 19:39:10 +02:00
Denny Crane
577978026a
Update partition.md 2022-07-17 21:09:01 -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
9ac7e41e07 updated docs 2022-07-16 19:45:33 +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
jinjunzh
d3d0605c00 add words of caution into documentation 2022-07-15 14:33:51 -04:00
Smita Kulkarni
1dc2187f9c Addressed review comments
Implementation:
- Added a new buffer ForkWriteBuffer takes a vector of WriteBuffer and writes data to all of them. It uses the buffer of the first element as its buffer and copies data from first buffer to all the other buffers
Testing:
- Updated tests/queries/0_stateless/02346_into_outfile_and_stdout.sh
Documentation:
- Updated the english documentation for SELECT.. INTO OUTFILE with AND STDOUT.
2022-07-14 22:47:38 +02:00
Xoel Lopez Barata
10625e7c54
Fix typo
Replace "indicies" by "indices"
2022-07-14 17:41:48 +02:00
Dan Roscigno
9955b097d4
spelling 2022-07-14 09:00:54 -04:00
Dan Roscigno
564de52f8d
Merge pull request #39205 from DanRoscigno/fix-indent
fix indent and link on remote table function
2022-07-14 08:54:22 -04:00
Vladimir C
b5011b5157
Merge pull request #39169 from FArthur-cmd/add_docs_for_dist_func
Documentation for array's distance functions
2022-07-14 12:36:17 +02:00
Nikolay Degterinsky
9ca2935d72 Add default argument to function file 2022-07-14 09:54:44 +00:00
Nikolay Degterinsky
cfe7413678
Merge pull request #38935 from evillique/translate
Add functions translate & translateUTF8
2022-07-14 02:31:37 +02:00
DanRoscigno
add169278b fix indent and link 2022-07-13 19:27:33 -04:00
DanRoscigno
7ce5757d90 add migration example 2022-07-13 15:07:20 -04:00
Nikolay Degterinsky
e3a79520c1 Merge remote-tracking branch 'upstream/master' into translate 2022-07-13 11:42:40 +00:00
FArthur-cmd
411a08630c add docs 2022-07-13 10:29:13 +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
Smita Kulkarni
c7967fb721 Add an option to INTO OUTFILE to also print details to standard output.
Implementation:
- Added a bool to ASTQueryWithOutput & patched the usage in ClientBase.
- Added a new buffer TeeWriteBuffer which extends from WriteBufferFromFile (used to write data to the file) and has WriteBufferFromFileDescriptor (used to write data to stdout). The WriteBufferFromFileDescriptor uses the same buffer as TeeWriteBuffer.
- Added a new bool select_into_outfile_and_stdout in ClientBase to enable/disable progress rendering.

Testing:
 - Added a test tests/queries/0_stateless/02346_into_outfile_and_stdout.sh

Documentation:
- Updated the english documentation for the new option in SELECT.
2022-07-09 10:12:46 +02:00
Ilya Yatsishin
54cd5fce29
Update url.md 2022-07-08 15:56:21 +02:00
Alexey Milovidov
3e648acb3b
Merge pull request #38739 from den-crane/patch-19
Doc. WF more examples
2022-07-08 11:03:56 +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
Kerry Clendinning
8d8084d9f3
Update any.md 2022-07-07 10:48:15 -05:00
Alexander Tokmakov
10dc83b7a9
Merge pull request #38934 from den-crane/patch-20
Doc. Added [ON CLUSTER cluster] to alter partition
2022-07-07 12:57:02 +03:00
Nikolay Degterinsky
fcb6cfb6df Fix style issues 2022-07-07 08:31:55 +00:00
Nikolay Degterinsky
5c5c7ae6db Fix typos 2022-07-07 02:17:57 +00:00
Nikolay Degterinsky
54d210d714 Add documentation 2022-07-07 01:59:00 +00:00
Denny Crane
db357f4a3c
Update index.md 2022-07-06 20:57:49 -03:00
Denny Crane
71c4e738d0
Update update.md 2022-07-06 20:55:06 -03:00
Denny Crane
f96225cca4
Update partition.md 2022-07-06 20:50:13 -03:00
Denny Crane
d51f9b954b
Update exchange.md 2022-07-06 20:41:01 -03:00
Nikolay Degterinsky
efcb1c368f
Merge pull request #38800 from railwayc/master
Update drop.md
2022-07-05 11:08:41 +02:00
chen
a0956465cf
Update drop.md 2022-07-04 19:34:26 +08:00
chen
4ca0c50d57
Update function.md
create function already support on cluster.
2022-07-04 19:24:54 +08:00
Denny Crane
59d1bd3e00
Update index.md 2022-07-02 18:46:49 -03:00
Denny Crane
e266ef14a8
Update index.md 2022-07-02 17:34:43 -03:00
Denny Crane
8047e11c09
Update index.md 2022-07-02 16:56:33 -03:00
DanRoscigno
95c3eff4c7 remove 404ing original article URL 2022-06-30 11:17:38 -04:00
Nikolay Degterinsky
95fd67c850
Merge pull request #38539 from GruffGemini/patch-1
Fixed broken links in group-by.md
2022-06-30 09:46:46 +02:00
GruffGemini
572e540217
docs (en, group-by.md): fixed broken links 2022-06-30 09:29:18 +03:00
Nikolay Degterinsky
384603a656
Merge pull request #38592 from ClibMouse/PR_38549_updates
Updated Geo Functions Index.md
2022-06-30 03:20:37 +02:00
HeenaBansal2009
6bf9c7cd4d Updated index file for Geo functions 2022-06-29 12:21:05 -07:00
Maksim Kita
c45e9a36bd
Merge pull request #38549 from ClibMouse/Issue_38457
Updated Index file for GeoFunctions
2022-06-29 12:11:43 +02:00
HeenaBansal2009
d5886e4861 Updated Index file for GeoFunctions 2022-06-28 19:24:06 -07:00
Kruglov Pavel
7ec83add46
Merge pull request #38454 from mdonkers/docs-clarify-datetime64-parsing
Docs: clarify processing of DateTime64 values
2022-06-27 15:09:09 +02:00
Miel Donkers
674188bd7f
Docs: clarify processing of DateTime64 values 2022-06-27 12:19:30 +02:00
xinhuitian
ccb4802ab1 fix some wrong links in alter docs 2022-06-25 14:01:41 +08:00
Alexey Milovidov
8862a8e2ff
Merge pull request #38392 from xinhuitian/fix-titles-and-links-in-alter-docs
Fix some wrong titles and links in alter docs
2022-06-25 06:11:47 +03:00
Alexey Milovidov
ff8c52b087
Update partition.md 2022-06-25 06:11:37 +03:00
xinhuitian
3bb765ae1f fix some wrong titles and links in alter docs 2022-06-24 22:24:48 +08: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
DanRoscigno
aafe91a8ca add H3 tages for Algolia search 2022-06-22 14:48:18 -04:00
DanRoscigno
738770de9a add description 2022-06-22 08:51:55 -04:00
zvonand
7ae7b1e421 fix wrong docs location 2022-06-22 14:58:39 +05:00
zvonand
a7ff956c83 updated docs 2022-06-22 14:56:37 +05:00
zvonand
5653c05d1a added docs for nonNegativeDerivative() 2022-06-22 14:32:14 +05:00
Alexey Milovidov
5855668514 Remove trash 2022-06-22 06:23:35 +02:00
DanRoscigno
f035c860d0 add test output 2022-06-21 18:58:51 -04:00
DanRoscigno
5dd06896a1 mv up a dir 2022-06-21 18:07:29 -04:00
DanRoscigno
4c14f67190 WIP grouping docs 2022-06-21 17:12:31 -04:00
zvonand
9c6b2b9ba0 added docs 2022-06-20 20:10:28 +05:00
mergify[bot]
670a63865e
Merge branch 'master' into window-function-expression 2022-06-19 22:14:54 +00:00
Alexey Milovidov
ac0891a48d
Merge pull request #38166 from ClickHouse/grouping-docs
Update GROUP BY clause docs
2022-06-18 22:12:55 +03:00
Alexey Milovidov
aebc090701
Update index.md 2022-06-18 15:56:37 +03:00
Denny Crane
ac5886939b
Update index.md 2022-06-18 00:27:57 -03:00
Alexey Milovidov
3da495d15e
Merge pull request #37779 from ClickHouse/like_match_utf8
Clarify that match() & like() use UTF-8 for matching
2022-06-18 05:43:52 +03: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
Robert Schulze
ba0761fb6a
More details on matching with Unicode 2022-06-17 15:29:32 +02:00
Robert Schulze
26b3dd2d9e
Fix description 2022-06-17 13:41:58 +02:00
Dmitry Novik
00aca924d0 Update GROUP BY clause docs 2022-06-16 22:45:28 +00:00
DanRoscigno
1ae12e13a1 add H3 headers for operators 2022-06-16 18:34:51 -04:00
Dmitry Novik
644399db8a Add comment and update docs 2022-06-16 15:59:51 +00:00
Kruglov Pavel
023e7132fc
Fix 2022-06-16 14:50:35 +02:00
Kruglov Pavel
d14a2d3583
Fix docs about encryption functions 2022-06-16 14:47:15 +02:00
Robert Schulze
a0d936cc9f
Small follow-up for FPC codec
- add paper reference + doxygen

- remove endianness handling (ClickHouse assumes little endian)

- documentation

- other minor stuff
2022-06-15 14:21:28 +02:00
Jachen Duschletta
140f3633d8
Small typo fix 2022-06-14 12:26:44 -05:00
Dan Roscigno
e85e450200
Merge pull request #37621 from Vxider/wv-doc
Update Window View document, add alter, inner engine, and populate
2022-06-14 12:28:18 -04: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
Vxider
f177435f0c Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into wv-doc 2022-06-10 07:52:31 +00:00
Mikhail f. Shiryaev
62f60c1462
Merge branch 'master' into doc-aspell 2022-06-09 11:01:25 +02:00
Maksim Kita
ec7b99e564 ExecutableUserDefinedFunctions added parameters documentation 2022-06-08 16:59:41 +02:00
vdimir
9bd9c3d1d1
Fix some typos in docs 2022-06-08 14:26:02 +02:00
Vadim Volodin
637d293fbd Add SYSTEM UNFREEZE query 2022-06-08 15:21:14 +03:00
Vxider
0246a3f415 Merged with master 2022-06-04 17:22:22 +00:00
Rich Raposa
567f98b1e4
Merge pull request #37784 from ClickHouse/rfraposa-patch-2
Remove H1 anchor tags from docs
2022-06-02 15:51:28 -06:00
mergify[bot]
2e637df7c6
Merge branch 'master' into like_match_utf8 2022-06-02 17:37:52 +00:00
Maksim Kita
3261134f6d
Merge pull request #37762 from den-crane/patch-13
Doc. Note about Map supported types
2022-06-02 19:26:26 +02:00
Maksim Kita
e8ab3e3395
Update tuple-map-functions.md 2022-06-02 19:25:59 +02:00
Maksim Kita
c651b873ee
Update map.md 2022-06-02 19:25:47 +02:00
Sergei Trifonov
1efd59f0b9
Improve high-order array functions descriptions 2022-06-02 17:16:25 +02:00
rfraposa
c174eaa039 Update _category_.yml 2022-06-02 08:41:40 -06:00
rfraposa
869967de41 Remove H1 anchor tags from docs 2022-06-02 04:55:18 -06:00
Robert Schulze
0588142b7e
Clarify that match() & like() assume UTF-8
The previous explanation sentence

  "The regular expression works with the string as if it is a set of bytes."

suggested otherwise and since we don't have separate methods matchUTF8()
and likeUTF8(), it makes sense to clarify.
2022-06-02 11:56:06 +02:00
Denny Crane
08806a150d
Update map.md 2022-06-01 15:39:02 -03:00
Denny Crane
320fd567dd
Update tuple-map-functions.md 2022-06-01 15:38:41 -03:00
Denny Crane
608ad73c93
Update tuple-map-functions.md 2022-06-01 15:34:15 -03:00
Denny Crane
223bcb7958
Update map.md 2022-06-01 15:31:59 -03:00
Sergei Trifonov
2589f78135
Fix misleading arrayFunction description 2022-05-30 10:32:22 +02:00
Denny Crane
d7e098fb17
Update external-dicts-dict-layout.md 2022-05-28 17:26:11 -03:00
Vxider
2232d47c5a update windowview doc for alter, inner engine, and populate 2022-05-28 12:23:30 +00:00
Maksim Kita
58cd1bd3ec
Merge pull request #36843 from bharatnc/ncb/h3-unidirectionaledges-funcs
add h3 unidirectional edge functions
2022-05-25 22:46:40 +02:00
Alexey Milovidov
3431376d4e
Merge pull request #37396 from MasterOdin/patch-1
Fix docs for regionToTopContinent parameters
2022-05-23 03:09:53 +03:00
Alexey Milovidov
5d43f46908
Update ym-dict-functions.md 2022-05-23 03:09:28 +03:00
Denny Crane
f8e2e0f1b2
Update uuid-functions.md 2022-05-22 20:24:18 -03:00
Denny Crane
5984d9993d
Update uuid-functions.md 2022-05-22 20:17:45 -03:00
Yakov Olkhovskiy
ce1df15e1c
Merge pull request #37377 from ClickHouse/sha256_hash-with-salt
Allow SALT in CREATE USER user1 IDENTIFIED WITH sha256_hash
2022-05-21 14:36:22 -04:00
Matthew Peveler
4c005e53b6
Update ym-dict-functions.md 2022-05-20 15:54:23 -04:00
Matthew Peveler
91bd0b6f69
Fix docs for regionToTopContinent parameters 2022-05-20 15:52:19 -04:00
Yakov Olkhovskiy
6b62144090 docs spelling fix 2022-05-20 08:57:18 -04: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
c3c468af86
Update random-functions.md 2022-05-19 21:16:27 -03:00
Vitaly Baranov
9ccddc44c6
Merge pull request #35767 from azat/ON_CLUSTER-grant
RFC: Add separate CLUSTER grant
2022-05-18 19:19:54 +02:00
Bharat Nallan Chakravarthy
c476b8dd92 Merge remote-tracking branch 'upstream/master' into ncb/h3-unidirectionaledges-funcs 2022-05-17 20:10:03 -07:00
Alexander Gololobov
38f291c70d
Merge pull request #37030 from bharatnc/ncb/h3-missing-traversal-funcs
add remaining h3 traversal funcs
2022-05-17 18:19:56 +02:00
Maksim Kita
4c6224c1c6
Update boolean.md 2022-05-17 16:49:32 +02:00
Denny Crane
e7555e8a07
Update boolean.md 2022-05-17 10:51:41 -03:00
Vitaly Baranov
f34a5cdee2
Merge branch 'master' into ON_CLUSTER-grant 2022-05-17 13:21:20 +02:00
Rich Raposa
cd22ce032e
Merge pull request #37127 from cwurm/add_json_docs
Add documentation for JSON data type
2022-05-16 09:34:51 -06:00
Denny Crane
df6b874df9
Update syntax.md
fix typo
2022-05-16 11:25:33 -03:00
Azat Khuzhin
01e1c5345a Add separate CLUSTER grant
In case you have different roles for the same user on multiple clusters,
ON CLUSTER query can help to overcome some limitations.

Consider the following example:
- cluster_with_data, dev_user (readonly=2)
- stage_cluster, dev_user (readonly=0)

So when you will execute the following query from stage_cluster, it will
be successfully executed, since ON CLUSTER queries has different system
profile:

    DROP DATABASE default ON CLUSTER cluster_with_data

This is not 100% safe, but at least something.

Note, that right now only ON CLUSTER query it self is supported, but
separate clusters are not (i.e. GRANT CLUSTER some_cluster_name TO
default), since right now grants sticked to database+.

v2: on_cluster_queries_require_cluster_grant
v3: fix test and process flags as bit mask
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-16 13:57:45 +03:00
Robert Schulze
7006ef6ebb
Merge pull request #37230 from ramazanpolat/patch-3
update materialize index notation
2022-05-16 11:18:10 +02:00
Alexey Milovidov
c430fa3a7c
Merge pull request #37098 from liumaojing/patch-1
Update grouparray.md
2022-05-16 04:29:41 +03:00
Alexey Milovidov
b6a0ea92dc
Update grouparray.md 2022-05-16 04:29:30 +03:00
Alexey Milovidov
7b9d81af84
Update grouparray.md 2022-05-16 04:28:39 +03:00
Alexey Milovidov
97a144d8ed
Update grouparray.md 2022-05-16 04:27:58 +03:00
Ramazan Polat
72a2a1d8fe
update materialize index notation 2022-05-16 00:28:49 +03:00
Christoph Wurm
f7ca5e8173 Add documentation for JSON data type. 2022-05-12 13:45:54 +01:00
rfraposa
044e76d91b Add BLAKE3 hash function 2022-05-11 12:10:16 -06:00
lanfz
6be44ae90d
Misspelled words
partiton Modified to partition
2022-05-11 20:08:53 +08:00
liumaojing
2924cfd960
Update grouparray.md 2022-05-11 14:14:05 +08:00
liumaojing
a26f46aec9
Update grouparray.md 2022-05-11 11:30:21 +08: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
bharatnc
592de6895c Merge remote-tracking branch 'upstream/master' into ncb/h3-missing-traversal-funcs 2022-05-09 22:41:03 -07:00
ni1l
f1eee40345 Add isIPAddressInRange function example 2022-05-10 00:03:10 +08:00
bharatnc
6fc6acf93b docs for h3HexRing 2022-05-08 22:16:40 -07:00
bharatnc
2721955f49 docs for h3Distance 2022-05-08 22:05:44 -07:00
bharatnc
a6cc23aaed docs for h3Line 2022-05-08 22:05:39 -07:00
BoloniniD
aa21a8925f Fixes 2022-05-07 17:08:40 +03:00
Alexey Milovidov
fd363695dc
Update array-functions.md 2022-05-07 13:48:11 +03:00
Alexey Milovidov
40c049b0c9
Update bit-functions.md 2022-05-07 13:47:15 +03:00
Alexey Milovidov
0cac59a9f9
Update string-functions.md 2022-05-07 13:46:17 +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
bharatnc
01ea1beee5 Merge remote-tracking branch 'upstream/master' into ncb/h3-unidirectionaledges-funcs 2022-05-04 15:55:56 -07:00
Alexey Milovidov
5a750d3305 Merge branch 'master' into revert-group-array-sorted 2022-05-05 00:51:01 +02:00
Sergei Trifonov
6730ad9799
update docs for time window functions 2022-05-03 19:12:42 +02:00
bharatnc
0491341953 docs for h3GetUnidirectionalEdgeBoundary 2022-05-02 21:53:39 -07:00
bharatnc
680fb0f265 docs for h3GetUnidirectionalEdgesFromHexagon 2022-05-01 22:38:01 -07:00
bharatnc
03db6738bb docs for h3GetIndexesFromUnidirectionalEdge 2022-05-01 21:34:32 -07:00
bharatnc
b5a914ed04 docs for h3GetDestinationIndexFromUnidirectionalEdge 2022-05-01 14:11:53 -07:00
bharatnc
9ec187ef22 docs for h3GetOriginIndexFromUnidirectionalEdge 2022-05-01 13:53:44 -07:00
bharatnc
59e1f252fd docs for h3UnidirectionalEdgeIsValid func 2022-05-01 13:27:48 -07:00
bharatnc
925afc8f19 docs for h3GetUnidirectionalEdge 2022-05-01 11:12:11 -07:00
Alexey Milovidov
d6c0de0d40 Revert "Merge pull request #34055 from palegre-tiny/groupSortedArray"
This reverts commit f055d7b692, reversing
changes made to 4ec3c35e14.
2022-04-30 12:29:23 +02: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
小蝌蚪
11cc8639ca
Add a missing **ESTIMATE** in explain syntax 2022-04-28 00:10:59 +08:00
Alexey Milovidov
86bf67c93c
Merge pull request #36526 from Joeywzr/to_start_of_five_minutes
Replace toStartOfFiveMinute to toStartOfFiveMinutes
2022-04-26 05:52:02 +03:00
XenoAmess
da3d7f2835 fix boolean documents. 2022-04-26 05:51:56 +08: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
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
Mikhail f. Shiryaev
1e9d80a9c2
Merge pull request #36297 from ClickHouse/docs-staging
Docs staging
2022-04-20 10:47:54 +02:00
Yakov Olkhovskiy
58a3ce78e9
Update enum.md
some corrections
2022-04-19 23:31:23 -04:00
rfraposa
6576fd88c1 EOL fixes 2022-04-19 13:50:45 -06:00
rfraposa
476122e92a
Fix broken links 2022-04-19 20:17:01 +02:00
awakeljw
017777793a Possible range issues in automatic assigned enums, also fix error message. 2022-04-17 21:40:48 +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
rfraposa
d9e6f780db Fixed broken links 2022-04-10 23:01:34 -06:00
rfraposa
4da4259c78 Added reference docs to sidebar 2022-04-10 21:27:48 -06:00
rfraposa
4feb622c9f Added /zh docs 2022-04-10 17:08:18 -06:00
rfraposa
8f01fe9c49 Revised /en folder 2022-04-09 07:34:21 -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
Alexey Milovidov
4502fb0117
Merge pull request #35581 from kceventus/patch-1
Update index.md
2022-04-05 00:55:50 +03:00
Nikolai Kochetov
19819c72f8
Merge pull request #35290 from bigo-sg/function_enumerate_streams
Add function getTypeSerializationStreams
2022-04-04 12:09:53 +02:00
Alexey Milovidov
d9e5ca2119
Merge pull request #34394 from holadepo/last_day
Add toLastDayOfMonth function
2022-04-04 07:02:08 +03:00
Alexey Milovidov
9854b55835
Revert "Format changes for new docs" 2022-04-04 02:05:35 +03:00
rfraposa
72a00e2c62 Fixed broken links 2022-04-02 17:38:54 -06:00
Rich Raposa
e6191511cf
Merge branch 'ClickHouse:master' into master 2022-04-01 11:43:48 -06:00