Commit Graph

7896 Commits

Author SHA1 Message Date
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
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
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
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
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
Kruglov Pavel
559d507f5a
Merge branch 'master' into compatibility-setting 2022-07-15 21:11:05 +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
Maksim Kita
59bddf0c91
Merge pull request #39233 from xoelop/patch-1
Fix typo in string search functions docs page
2022-07-14 18:00:06 +02:00
Yakov Olkhovskiy
1f09303d54
Merge pull request #39181 from azat/part_log-merge_algorithm
Add merge_algorithm to system.part_log
2022-07-14 11:43:04 -04: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
avogar
83638e34a7 Add docs 2022-07-14 12:13:35 +00: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
Kruglov Pavel
b38241b08a
Merge branch 'master' into schema-inference-cache 2022-07-14 12:29:54 +02:00
Nikolay Degterinsky
9ca2935d72 Add default argument to function file 2022-07-14 09:54:44 +00:00
Yakov Olkhovskiy
d108efa2f6
merge_algorithm is added 2022-07-14 01:36:45 -04: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
Dan Roscigno
7e578a64e8
Update performance-test.md
The manual process does not work as the prepared partitions are not usable by the current version of ClickHouse.
2022-07-13 08:02:09 -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
Alexey Milovidov
6d3b0032c3 Change the link to Hardware benchmark script 2022-07-12 20:25:40 +02:00
Alexey Milovidov
e2684447b4
Merge pull request #38437 from ClickHouse/compatible-benchmark
Compatible and reproducible DBMS benchmark
2022-07-12 21:15:53 +03:00
Andrey Zvonov
7bfe155f09
Merge branch 'master' into dt64_timeslots 2022-07-12 10:26:38 +03:00
Alexey Milovidov
d0e6f8ebc1
Update clickhouse-obfuscator.md 2022-07-11 21:26:27 +03:00
Alexey Milovidov
0ef3af67f8 Merge branch 'master' into compatible-benchmark 2022-07-11 08:43:14 +02:00
jinjunzh
816e974ca2 rename deflate to deflate_qpl 2022-07-09 14:42:01 -04: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
Alexey Milovidov
6995bc11f3
Merge pull request #39002 from pkit/patch-1
fix wrong OSX building instructions
2022-07-09 01:02:33 +03:00
Ilya Yatsishin
54cd5fce29
Update url.md 2022-07-08 15:56:21 +02:00
Constantine Peresypkin
a4e3fac863
fix wrong OSX building instructions
It was a mess of `clang-13` and `clang-14` or `aarch64` and `x86_64`
2022-07-08 11:54:00 +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
551b0e62ca
Update build-cross-arm.md 2022-07-08 00:41:45 +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