Commit Graph

7961 Commits

Author SHA1 Message Date
Sergei Trifonov
2262717a1b
Merge branch 'master' into threads-soft-limit-rename 2022-08-18 19:32:53 +02:00
Jonathan-Ackerman
22bd572d78
Update docs for max_replica_delay_for_distributed_queries (#40174)
A replica is unusable if its lag is greater than or equal to the
value of max_replica_delay_for_distributed_queries. However, the
current documentation says that a replica is only unusable if it lags
more than the set value.

Also, when the value of max_replica_delay_for_distributed_queries
is read, if it is 0, then a replica is considered up to date
right away without checking its delay. This behavior should be
documented.
2022-08-18 19:09:46 +02:00
Vladimir C
277310f4e7
Merge pull request #40345 from DanRoscigno/fix-replacingmergetree-doc-indent
fix indent
2022-08-18 17:27:21 +02:00
Sergei Trifonov
42a711015f split concurrent_threads_soft_limit setting into two: concurrent_threads_soft_limit_{num,ratio_to_cores} 2022-08-18 14:51:08 +02:00
DanRoscigno
229f18766e fix indent 2022-08-18 08:13:41 -04:00
Nikolai Kochetov
5a85531ef7
Merge pull request #38286 from Avogar/schema-inference-cache
Add schema inference cache for s3/hdfs/file/url
2022-08-18 13:07:50 +02:00
Kruglov Pavel
d7056376eb
Merge pull request #40068 from Avogar/schema-inference-hints
Allow to specify structure hints in schema inference
2022-08-18 12:19:45 +02:00
Lloyd-Pottiger
d9cfda905c
Merge branch 'master' into feat/support-ttl-for-embeddedrocksdb 2022-08-18 16:27:13 +08:00
Antonio Andelic
26b7117b6c Merge branch 'master' into keeper-listen-host 2022-08-18 07:05:20 +00:00
546
0c11645867
update path in test.md
`lexer_fuzzer.cpp` path has changed.
2022-08-18 14:56:22 +08:00
Robert Schulze
f121941916
feat: allow custom error code for SQL function throwIf() 2022-08-17 21:14:40 +00:00
Nikita Taranov
ce89660432
Update "Queries with Parameter" docs (#40317)
* impl

* Update docs/en/interfaces/cli.md

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>

Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2022-08-17 22:31:50 +02:00
Lloyd-Pottiger
19c4385881
Merge branch 'master' into feat/support-ttl-for-embeddedrocksdb 2022-08-17 22:17:10 +08:00
Denny Crane
d5465d32e1
Update settings.md 2022-08-17 09:38:06 -03:00
Ramazan Polat
5a1ac13072
By default, enable_positional_arguments=1 2022-08-17 15:12:19 +03:00
avogar
8dd54c043d Merge branch 'master' of github.com:ClickHouse/ClickHouse into schema-inference-cache 2022-08-17 11:47: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
Antonio Andelic
105073ea7b update docs 2022-08-17 09:31:16 +00:00
Rich Raposa
a3a124cc34
Added --ask-password option to documentation (#40289) 2022-08-17 00:20:10 +02:00
avogar
e1ff996ec3 Allow to specify structure hints in schema inference 2022-08-16 09:46:57 +00: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
FArthur-cmd
1d048432a1 update contrib and update cmake 2022-08-15 14:35:51 +00:00
Dan Roscigno
d921935b80
Merge pull request #40235 from DanRoscigno/add-title-field-to-create-user
add title frontmatter to create/user
2022-08-15 09:31:23 -04:00
DanRoscigno
ced68e9298 add title frontmatter 2022-08-15 09:27:20 -04:00
avogar
c4ff3ffeea Rename settings 2022-08-15 12:45:18 +00:00
Lorenzo Mangani
5f90de93e3
Update gui.md 2022-08-14 11:00:57 +02:00
Lorenzo Mangani
297e49ff6c
Add metrico applications (qryn, clickhouse-mate) 2022-08-14 10:53:51 +02:00
Alexey Milovidov
5d549a7583
Merge pull request #40182 from ClickHouse/minor-build-changes
Minor build changes
2022-08-13 22:48:01 +03:00
Alexey Milovidov
a6a51f4fb8 Minor build changes 2022-08-13 06:39:20 +02:00
Alexey Milovidov
2b7fe3dea3
Remove obsolete "build Debian package" instruction 2022-08-13 05:54:13 +03:00
Alexey Milovidov
fe544cd87c
Merge pull request #40150 from vsrsvas/patch-1
Update replicated.md
2022-08-13 05:03:05 +03:00
Alexey Milovidov
0dc183921f
Merge pull request #40172 from DanRoscigno/fix-note-in-mergetree-engine
fix note in mergetree engine doc
2022-08-12 22:39:52 +03:00
DanRoscigno
364088d47b fix note 2022-08-12 14:40:09 -04:00
Igor Nikonov
5768e40ef7
Fix incorrect queries in example
Setting insert_deduplication_token: fix incorrect queries in example
2022-08-12 17:18:02 +02:00
vsrsvas
0a9c3c6e8b
Update replicated.md 2022-08-12 16:18:51 +05:30
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
Lloyd-Pottiger
c5d81e160c add functionality test
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
2022-08-10 23:10:52 +08:00
Lloyd-Pottiger
5488a392ab address comments
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
2022-08-10 21:20:25 +08:00
FArthur-cmd
0ab937afbb small update 2022-08-10 09:55:07 +00:00
Alexey Milovidov
26f3f56bc8
Merge pull request #40030 from ClickHouse/best-effort-func-cleanup
Cleanup docs of parseDateTime*() function family
2022-08-10 04:44:05 +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
Lloyd-Pottiger
7ecaf58981 revise docs
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
2022-08-09 21:48:49 +08:00
Kruglov Pavel
99b9e85a8f
Merge pull request #39646 from Avogar/more-formats
Add more Pretty formats
2022-08-09 13:59:47 +02: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
Robert Schulze
5a434577f6
Mention how the build can be speed up by disabling self-extraction 2022-08-08 13:01:32 +00:00
DanRoscigno
51928ebbac add example 2022-08-05 13:23:53 -04:00
avogar
9b1a267203 Refactor, remove TTL, add size limit, add system table and system query 2022-08-05 16:20:15 +00: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
Denny Crane
3f4baa7658
Update mergetree.md 2022-08-04 23:49:19 -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
nathanbegbie
b4c3ff0cef
typo: PostgerSQL -> PostgreSQL 2022-08-03 16:01:24 +03:00
nathanbegbie
de91875b5e
Revert "typo: PostgerSQL -> PostgreSQL"
This reverts commit fda8b113dc.
2022-08-03 15:59:36 +03:00
nathanbegbie
fda8b113dc
typo: PostgerSQL -> PostgreSQL 2022-08-03 15:54:58 +03: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
Nikolay Degterinsky
755a4c3ecf
Merge pull request #39794 from melvynator/patch-5
Update settings.md
2022-08-01 19:10:15 +02:00
Alexey Milovidov
3de747a6e2
Merge pull request #39746 from ClickHouse/cleanup-projection-setting
Cleanup usages of `allow_experimental_projection_optimization` setting, part 1
2022-08-01 19:21:30 +03:00
Anton Popov
2a841d0860 update docs for hash functions 2022-08-01 14:22:40 +00:00
Peignon Melvyn
a63fb07f54
Update settings.md 2022-08-01 16:20:33 +02:00
Ilya Yatsishin
c882bdc88e
Merge pull request #35968 from ClickHouse/interserver_listen_port 2022-08-01 13:57:17 +02:00
Robert Schulze
49a708ff29
Merge pull request #39596 from ClickHouse/move-woboq
Merge Woboq code browser page into "Getting Started" document
2022-08-01 13:44:33 +02: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
c9e1364cd0
Temporarily restore Woboq pages 2022-08-01 08:39:22 +00:00
Alexey Milovidov
6a2f7d0c8f
Merge branch 'master' into interserver_listen_port 2022-07-31 22:51:38 +03:00
Robert Schulze
dd030c6b48
Add anchor 2022-07-31 13:01:35 +00:00
Robert Schulze
52d08d9db4
Merge pull request #39520 from ClickHouse/no-split-binary
Remove SPLIT_BINARY
2022-07-31 14:23:31 +02:00
Robert Schulze
9de69a021c
Fix documentation 2022-07-31 07:44:25 +00:00
Alexey Milovidov
f80a4c184e
Merge branch 'master' into interserver_listen_port 2022-07-31 01:22:32 +03:00
Alexey Milovidov
441f2feb49 Cleanup usages of allow_experimental_projection_optimization setting, part 1 2022-07-30 23:40:21 +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
Alexey Milovidov
df627a3e4d
Merge pull request #39172 from ClickHouse/DanRoscigno-patch-2
Update performance-test.md
2022-07-30 05:23:14 +03:00
Rich Raposa
b08bdfcfc2
Update gui.md
Typo in clickcat description
2022-07-29 07:25:29 -06:00
Robert Schulze
3d1797f75f
Merge remote-tracking branch 'origin/master' into no-split-binary 2022-07-29 12:17:43 +00:00
qinghuan wang
4047a865cb
update clickcat 2022-07-29 10:26:21 +08:00
Robert Schulze
199e254777
Merge remote-tracking branch 'origin/master' into no-split-binary 2022-07-28 15:54:22 +00:00
Sergei Trifonov
4588e146a6
Merge pull request #37285 from arenadata/ADQM-445
Add concurrent_threads_soft_limit parameter
2022-07-28 11:46:43 +02:00
Roman Vasin
f35349eb08 Rename total_max_threads to concurrent_threads_soft_limit 2022-07-28 07:46:20 +00:00
Dan Roscigno
d3477e9b94
Merge pull request #38967 from kceventus/patch-2
Update any.md
2022-07-27 12:02:18 -04:00
Roman Vasin
37845389c8 Merge branch 'concurrency-control' of github.com:ClickHouse/ClickHouse into ADQM-445 2022-07-27 13:31:22 +00:00
Filatenkov Artur
a218597546
Merge branch 'master' into annoy-2 2022-07-27 15:37:58 +03: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
avogar
f925046dc4 Add more Pretty formats 2022-07-27 11:37:02 +00:00
Kruglov Pavel
381ea139c2
Merge branch 'master' into schema-inference-cache 2022-07-27 11:35:36 +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
54abeb624a
Merge pull request #39417 from nikoloko/patch-3
Corrected structure of the users section
2022-07-26 11:12:36 -04: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
Vladimir C
0d65415086
Update docs/en/operations/settings/settings.md
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-07-26 11:00:12 +02:00
Vladimir C
d0183de34a
Update docs/en/operations/settings/settings.md
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-07-26 11:00:08 +02:00
Robert Schulze
22219c4b7a
Merge Woboq code browser page into "Getting Started" document
There was too little information on the page to deserve a separate
document.
2022-07-26 07:54:03 +00:00
Alexey Milovidov
71060a7e8c
Merge pull request #39501 from ClickHouse/DanRoscigno-patch-3
update Grafana plugin in docs
2022-07-26 07:04:22 +03:00
Dan Roscigno
b6cb0e33f5
Merge pull request #39502 from ClickHouse/DanRoscigno-patch-4
Remove experimental status from projections
2022-07-25 16:41:37 -04:00
Roman Vasin
b462366415 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-485 2022-07-25 17:55:47 +00:00
Dan Roscigno
72efcc65c1
Update docs/en/engines/table-engines/mergetree-family/mergetree.md 2022-07-25 12:58:57 -04:00
Robert Schulze
305291fd64
Merge pull request #39362 from ClickHouse/doc-updates
Small doc updates
2022-07-25 16:31:59 +02:00
Alexey Milovidov
6fdcb009ff
Merge pull request #39533 from ClickHouse/now-in-block
Add function `nowInBlock`
2022-07-25 04:22:11 +03:00
Alexey Milovidov
21d88f346f
Merge pull request #39540 from den-crane/patch-27
Doc. Some notes about formats WithNames
2022-07-25 04:08:34 +03:00
Denny Crane
bca33a5a0a
Update formats.md 2022-07-24 20:57:37 -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
68f0dcc206
Remove mention of C++03 exception specifiers
... such exception specifiers trigger a compiler warning these days
anyways (i.e. are treated as error)
2022-07-24 18:41:43 +00:00
Robert Schulze
f3a60991f4
Smallish compiler warnings update 2022-07-24 18:41:43 +00:00
Robert Schulze
a9fb677084
Bump Clang version to current minimum 2022-07-24 18:41:43 +00:00
Robert Schulze
2ded3da887
Bump Clang version to current minimum 2022-07-24 18:41:43 +00:00
Robert Schulze
cec8458429
Remove Mac instructions
... they are given at length on the dedicated setup page for Mac
2022-07-24 18:41:43 +00:00
Robert Schulze
b09121df11
Remove comment to check for CMake version
a) the build script aborts anyways if CMake is too old
b) our minimally required version is >3 years old, so the chance of an
   abort due to outdated CMake is fairly low
c) removing the hint to check the version removes the need to constantly
   update the version in the docs
2022-07-24 18:41:43 +00:00
Robert Schulze
a2d1738150
Add a sentence on writing perf tests for SQL functions 2022-07-24 18:41:07 +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
Alexey Milovidov
071374b152 Remove SPLIT_BINARY 2022-07-24 01:15:54 +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
Dan Roscigno
30a32371eb
Remove experimental status from projections 2022-07-22 11:50:59 -04:00
Dan Roscigno
e016f73b31
update Grafana plugin 2022-07-22 11:42:14 -04:00
jasperzhu
614f3b14a2
Merge branch 'master' into dev_intel_iaa_deflate 2022-07-22 11:05:44 +08:00
Kruglov Pavel
9252f42b4c
Merge branch 'master' into schema-inference-cache 2022-07-21 18:59:14 +02:00
vdimir
e8834c5ea3
Remove trailing whitespaces from docs/en/sql-reference/statements/select/join.md 2022-07-21 14:53:40 +00:00
vdimir
0deae9b4a3
Update doc about join_algorithm 2022-07-21 14:53:39 +00:00
Andrey Zvonov
e473606cd1
Merge branch 'master' into zvonand-b58-datatype 2022-07-21 15:55:05 +02:00
Kruglov Pavel
b98cb546f6
Merge branch 'master' into file_default_value 2022-07-21 12:27:20 +02:00
Alexey Milovidov
5517e2069e
Merge pull request #39392 from azat/fix-make-clean
Fix make clean (due to crosscompile of llvm)
2022-07-21 07:06:22 +03:00
Kruglov Pavel
0efed4644d
Merge pull request #38957 from Avogar/compatibility-setting
Add compatibility setting and system.settings_changes system table
2022-07-20 17:46:06 +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
Azat Khuzhin
0e95dba3ef Fix make clean (due to crosscompile of llvm)
Without ADDITIONAL_CLEAN_FILES it reports an error:

    Cleaning... ninja: error: remove(contrib/llvm/llvm/NATIVE): Directory not empty
    ninja: error: remove(/bld/contrib/llvm/llvm/NATIVE): Directory not empty
    0 files.

Note, that ADDITIONAL_CLEAN_FILES had been added since cmake 3.15.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-20 17:34:10 +03:00
DanRoscigno
c411763c2f split the note into two notes 2022-07-20 09:41:00 -04:00
Filatenkov Artur
6315d51471
Update annindexes.md 2022-07-20 15:36:07 +03:00
Nikolay Degterinsky
c9ae525da7
Merge branch 'master' into file_default_value 2022-07-20 14:22:58 +02:00
Kruglov Pavel
3046cd6d29
Merge branch 'master' into schema-inference-cache 2022-07-20 13:30:42 +02:00
Niek
d43b1d6280
Corrected structure of the users section
I received feedback from a user that the structure of the user's section was not fully correct. I changed accordingly.
2022-07-20 13:21:06 +02:00
Kruglov Pavel
28b1fe8939
Update docs/en/operations/settings/settings.md
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-07-20 12:04:59 +02:00
Ladislav Snizek
e5e9f6e60b Documentation: Correct http_receive_timeout and http_send_timeout defaults (changed in #31450) 2022-07-20 11:53:33 +02:00
Denny Crane
1d5b2b770e
Update formats.md 2022-07-19 18:23:02 -03:00
Denny Crane
be1d40916a
Update formats.md 2022-07-19 18:22:21 -03: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