Commit Graph

4181 Commits

Author SHA1 Message Date
Robert Schulze
700492f6d4
Fixes and refactorings for consistency with the remaining codebase 2023-04-12 22:41:26 +00:00
flynn
e4b1711812 udpate doc and test 2023-04-12 14:02:34 +00:00
FriendLey
63928c6df0
Merge branch 'master' into test_soundex 2023-04-12 19:06:05 +08:00
zvonand
2a9f28b73b resolve 2023-04-12 12:54:39 +02:00
Robert Schulze
f619208b86
Merge pull request #48673 from ClickHouse/rs/roundAge
Fix roundAge()
2023-04-12 10:32:04 +02:00
Robert Schulze
9c653197a4
Update roundAge() docs 2023-04-12 08:05:46 +00:00
taiyang-li
e29cce4db9 support map node for json extract 2023-04-12 10:18:07 +08:00
Robert Schulze
dcfd843b2d
Merge pull request #48489 from ClickHouse/rs/date_time-alias
Register datediff and trim aliases in system.functions
2023-04-11 19:53:44 +02:00
Alexander Tokmakov
a1fda047f6 add docs 2023-04-11 16:32:40 +02:00
Dan Roscigno
e1a6eaa63c
Merge branch 'master' into mar_blog_refs 2023-04-11 09:09:17 -04:00
FriendLey
e327371297
Merge branch 'master' into test_soundex 2023-04-11 21:02:01 +08:00
Robert Schulze
e08b7c8a53
Merge pull request #48422 from ClickHouse/rs/better-f-in-formatdatetime
MySQL compat: Align behavior of %f in formatDateTime() with parseDateTime()
2023-04-11 14:12:16 +02:00
Robert Schulze
4e52dc672e
Merge pull request #48420 from ClickHouse/rs/f
MySQL compat: Implement %f in parseDateTime()
2023-04-11 14:12:02 +02:00
FriendLey
ffa1a75fb5 Merge branch 'master' into test_soundex 2023-04-11 17:52:32 +08:00
Robert Schulze
b7d5df7aa1
Merge branch 'master' into rs/better-f-in-formatdatetime 2023-04-11 08:11:04 +02:00
Alexey Milovidov
79fa0d5a59
Merge branch 'master' into evillique-patch-1 2023-04-11 06:22:13 +03:00
Rich Raposa
530a06a335
Merge branch 'master' into mar_blog_refs 2023-04-10 21:06:46 -06:00
Dale Mcdiarmid
d50c6a9e1b update blog references 2023-04-10 15:23:00 +01:00
Nikolay Degterinsky
450e820728
Docs: Add SETTINGS to executable table function 2023-04-10 16:18:48 +02:00
Arthur Passos
b062ab5b4f
Merge branch 'master' into parsey_key_value_function 2023-04-10 10:32:01 -03:00
Arthur Passos
b60f51c4d6 remove extra backslash in docs 2023-04-10 10:31:26 -03:00
Nikolay Degterinsky
8eaf20e129
Update syntax.md 2023-04-10 03:26:43 +02:00
Nikolay Degterinsky
a24cc9580c
Update syntax.md 2023-04-10 03:11:10 +02:00
Denny Crane
028a21658d
Update deltasumtimestamp.md 2023-04-09 19:34:10 -03:00
FriendLey
47fd6b6650 add docs of soundex function. (#39880) 2023-04-09 17:00:20 +08:00
Nikolay Degterinsky
a48655af39
Merge branch 'master' into add-kafka-murmur-hash-function 2023-04-07 12:21:16 +02:00
robot-ch-test-poll1
d0bb02dea5
Merge pull request #48432 from DanRoscigno/docs-undrop
add docs for UNDROP TABLE
2023-04-06 19:24:00 +02:00
DanRoscigno
cbda8762b2 add note about MV 2023-04-06 12:18:09 -04:00
Dan Roscigno
66af848f82
Update docs/en/sql-reference/statements/undrop.md 2023-04-06 12:09:34 -04:00
Dan Roscigno
28f86e7b84
Update docs/en/sql-reference/statements/undrop.md
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-04-06 12:07:53 -04:00
Dan Roscigno
fae4906e11
Update docs/en/sql-reference/statements/undrop.md
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-04-06 12:07:00 -04:00
Arthur Passos
52e7a09de7 Use two functions extractKeyValuePairs and extractKeyValuePairsWithEscaping instead of boolean parameter 2023-04-06 12:17:14 -03:00
Robert Schulze
cfd9c4d85e
Register aliases of date_diff in system.functions 2023-04-06 14:04:37 +00:00
Robert Schulze
df5de4ec78
Merge remote-tracking branch 'origin/master' into rs/better-f-in-formatdatetime 2023-04-06 09:58:09 +00:00
Robert Schulze
4b7c0f42f4
Small documentation follow-up to #47246 2023-04-06 09:49:58 +00:00
Robert Schulze
5eb31bba87
MySQL compat: Align behavior of %f in formatDateTime() with parseDateTime() 2023-04-06 08:13:04 +00:00
Robert Schulze
ce2692ba79
Merge pull request #47246 from ClickHouse/rs/m
Change the behavior of formatter %M in function formatDateTime() from minutes to month name
2023-04-06 09:19:50 +02:00
Anton Popov
166a63c36c
Merge pull request #46589 from ClickHouse/rs/nonconst-replace
replace[Regexp]{One,All}(): allow non-const pattern and replacement arguments
2023-04-06 03:08:28 +02:00
Robert Schulze
ce234baf9c
Merge branch 'master' into rs/f 2023-04-05 21:59:13 +02:00
Arthur Passos
a1446764a9 update docs to reflect new boolean argument 2023-04-05 13:27:38 -03:00
DanRoscigno
1ea49371e6 lost a word 2023-04-05 10:53:36 -04:00
DanRoscigno
4876cac958 add docs for UNDROP TABLE 2023-04-05 10:49:03 -04:00
Arthur Passos
6dec537b3c more docs 2023-04-05 10:34:39 -03:00
Arthur Passos
b8d3b8523b update docs 2023-04-05 10:27:42 -03:00
Vladimir C
1f22fca3c3
Merge pull request #46428 from bigo-sg/quantile_gk 2023-04-05 11:25:48 +02:00
Robert Schulze
0d5d2a9b55
Implement %f in parseDateTime()
Fixes: #48394

@cc OP
2023-04-05 09:13:18 +00:00
pufit
8441b0a3e1 Fix comments, tests, docs 2023-04-04 20:43:15 -04:00
Sergei Trifonov
1bea16ea63
doc entry for SYSTEM WAIT LOADING PARTS 2023-04-05 01:34:25 +02:00
Anton Popov
b03acf5680
Merge branch 'master' into rework-map-functions 2023-04-04 23:35:12 +02:00
Anton Popov
182cc64f90 Merge remote-tracking branch 'upstream/master' into HEAD 2023-04-04 21:33:36 +00:00
Dan Roscigno
7aef9bb65e
Clarify SYSTEM RELOAD CONFIG and USERS
closes #48201
2023-04-04 08:41:58 -04:00
Vladimir C
35572321a1
Merge pull request #48207 from bigo-sg/map_from_maps 2023-04-04 11:12:05 +02:00
Robert Schulze
a7c153f88c
replace{One/All}(): allow non-const pattern and replacement arguments 2023-04-04 08:26:28 +00:00
Anton Popov
b3515c768b Merge remote-tracking branch 'upstream/master' into HEAD 2023-04-03 14:11:04 +00:00
Denny Crane
fb7c8ca157
Update tuple-functions.md 2023-04-03 10:47:44 -03:00
Anton Popov
6dde159227 add comments and docs 2023-04-03 13:43:11 +00:00
Kruglov Pavel
9e595c82fa
Merge pull request #47494 from KevinyhZou/enable_return_null_element_not_exist
Enable return null and complext type for JSON_VALUE function
2023-04-03 14:05:18 +02:00
Robert Schulze
8e4b0e5fba
Merge pull request #48332 from ClickHouse/rs/prefer-native-over-alias
Minor: Suggest ClickHouse-native function name over MySQL-compatibility alias
2023-04-03 09:32:16 +02:00
Robert Schulze
d7ee316380
Minor: Suggest ClickHouse-native function name over MySQL-compatibility alias 2023-04-03 07:28:31 +00:00
KevinyhZou
ce5f4cf4ab code review fix 2023-04-02 12:37:18 +08:00
KevinyhZou
05c508047a docs fix 2023-04-02 12:30:59 +08:00
KevinyhZou
740a5ef777 enable return null and complext type 2023-04-02 12:29:12 +08:00
Alexander Tokmakov
e39498129c
Merge branch 'master' into sync_replica_lightweight 2023-03-31 18:17:08 +03:00
Robert Schulze
e1d299640b
Small follow-up to #48017 2023-03-31 14:11:37 +00:00
Robert Schulze
5d64841276
Merge pull request #48017 from ClickHouse/rs/show_columns
MySQL compatibility: Implement `SHOW COLUMNS`
2023-03-31 15:50:23 +02:00
Alexander Tokmakov
caf00b5968 Merge branch 'master' into sync_replica_lightweight 2023-03-31 14:52:55 +02:00
Nikolay Degterinsky
47ea27fd92 Fix 2023-03-31 02:57:55 +00:00
Denny Crane
429975b345
Update index.md 2023-03-30 17:01:16 -03:00
Rich Raposa
4675fa82a3
Update delete.md
Lightweight deletes are no longer experimental in 23.3
2023-03-30 10:29:08 -06:00
Antonio Andelic
80cb121d2a
Merge pull request #48092 from ClickHouse/nosign-keyword-for-s3
Add support for `NOSIGN` keyword and `no_sign_request` config for S3
2023-03-30 18:10:56 +02:00
Nikolay Degterinsky
c363b5820e
Merge pull request #47087 from evillique/decode_ulid
Add function ULIDStringToDateTime
2023-03-30 17:19:07 +02:00
Denny Crane
e25872a333
Update type-conversion-functions.md 2023-03-30 11:15:11 -03:00
Denny Crane
3ac34fc21c
Merge branch 'master' into patch-61 2023-03-30 09:32:59 -03:00
Denny Crane
a44d2bf724
Update type-conversion-functions.md 2023-03-30 09:32:32 -03:00
Denny Crane
372948fb4c
Update type-conversion-functions.md 2023-03-30 09:30:45 -03:00
taiyang-li
2a35c18973 add docs and uts 2023-03-30 18:18:21 +08:00
Robert Schulze
8354f6d489
Merge branch 'master' into rs/m 2023-03-30 10:56:21 +02:00
Denny Crane
553c5aa622
Update type-conversion-functions.md 2023-03-29 20:46:34 -03:00
Nikolay Degterinsky
5b53f5ddae
Merge branch 'master' into decode_ulid 2023-03-30 01:37:14 +02:00
rfraposa
98d098618b Add cross_to_inner_join_rewrite setting 2023-03-29 14:34:48 -06:00
Denny Crane
2349fadbe7
Update type-conversion-functions.md 2023-03-29 15:33:53 -03:00
Denny Crane
12801f736b
Update type-conversion-functions.md 2023-03-29 15:33:07 -03:00
Denny Crane
46a7b73608
Update type-conversion-functions.md 2023-03-29 15:25:39 -03:00
Nikolay Degterinsky
4f360e76e9 Add kafkaMurmurHash function 2023-03-29 18:09:15 +00:00
Antonio Andelic
44e95aa65f Merge branch 'master' into nosign-keyword-for-s3 2023-03-29 11:10:03 +00:00
Robert Schulze
202f52dc3a
Implement SHOW COLUMNS
Modeled after (*)

Fixes #46437

(*) https://dev.mysql.com/doc/refman/8.0/en/show-columns.html
2023-03-28 18:04:22 +00:00
zvonand
edc80fbd94 updated docs + fix linker isssue 2023-03-28 13:25:18 +02:00
zvonand
09181a9b58 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-formatdecimal 2023-03-28 11:01:00 +02:00
Robert Schulze
37effb4fa2
Merge remote-tracking branch 'origin/master' into rs/m 2023-03-28 08:51:12 +00:00
Robert Schulze
7cf494acc2
Merge pull request #48000 from ClickHouse/rs/parsedatetimeorzero
MySQL dialect compat: Add str_to_date
2023-03-28 10:04:56 +02:00
Antonio Andelic
4c61ec2fad update docs 2023-03-28 07:19:08 +00:00
Nikolay Degterinsky
71b498061b Fix a bug, review suggestions 2023-03-28 01:48:25 +00:00
Alexander Tokmakov
b5fe1ada0b more options for sync replica 2023-03-28 01:39:36 +02:00
DanRoscigno
6d8a2bbd48 standardize admonitions 2023-03-27 14:54:05 -04:00
zvonand
dbd0ccdb64 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-formatdecimal 2023-03-27 20:21:09 +02:00
zvonand
b7bb09d362 upload 2023-03-27 20:19:52 +02:00
Robert Schulze
86f6828556
Docs: Update syntax of some SHOW queries 2023-03-27 15:56:31 +00:00
Robert Schulze
a123533b2f
Merge pull request #48061 from ClickHouse/rs/doc-full
Docs: Document [FULL] keyword in SHOW TABLES
2023-03-27 17:28:48 +02:00
Robert Schulze
246316dd49
Docs: Document [FULL] keyword in SHOW TABLES
Follow-up to #43910
2023-03-27 15:23:30 +00:00
Robert Schulze
3701fda6b1
Add str_to_date() alias for MySQL compat
Fixes #43755
2023-03-27 14:52:32 +00:00
Robert Schulze
3db38dbb5a
Replace mySQL date formatter M behavior from minutes to month name 2023-03-27 14:00:51 +00:00
Tyler Hannan
2981890ab4
Fix Sample... 2023-03-27 12:03:47 +02:00
rfraposa
ac72ed035c Update user.md 2023-03-24 22:50:29 -06:00
rfraposa
9f548d658e Update user.md 2023-03-24 22:45:34 -06:00
rfraposa
24b5b32dc3 Update user.md 2023-03-24 22:28:14 -06:00
Robert Schulze
129245da2e
Docs: Fix links 2023-03-24 13:52:56 +00:00
Rich Raposa
76401dcd83
Merge pull request #47956 from ClickHouse/nav-fixes
Remove links from nav categories
2023-03-23 16:39:36 -06:00
Rich Raposa
851ce7c308
Merge branch 'master' into nav-fixes 2023-03-23 15:46:16 -06:00
Robert Schulze
bd02627869
Update docs for parseDateTime() (follow-up to #46815) 2023-03-23 21:28:03 +00:00
rfraposa
747eaf3f72 Fix broken links 2023-03-23 14:40:45 -06:00
rfraposa
42725964d4 Remove links from nav categories 2023-03-23 14:20:26 -06:00
李扬
88d430a8f0
Merge branch 'master' into to_timestamp 2023-03-23 14:35:45 +08:00
Robert Schulze
784b34f5d8
Merge pull request #47869 from ClickHouse/rs/bug-47530
Add REGEXP operator
2023-03-22 10:31:25 +01:00
Robert Schulze
382aa60056
Merge pull request #47745 from jinjunzh/iaadeflate_doc_update
Create doc and scripts for qpl_deflate benchmark
2023-03-22 10:15:26 +01:00
taiyang-li
94175b79a7 Merge branch 'master' into to_timestamp 2023-03-22 16:46:44 +08:00
Robert Schulze
42a2370ac6
Docs 2023-03-21 21:33:12 +00:00
robot-ch-test-poll3
7c37565bd6
Merge pull request #47859 from ClickHouse/rfraposa-patch-2
Update iceberg.md
2023-03-21 21:14:37 +01:00
jinjunzh
ed23d2f3a4 add missing 'docs' 2023-03-21 14:04:16 -04:00
jinjunzh
41eff365a7 update doc for deflate_qpl 2023-03-21 13:58:10 -04:00
Rich Raposa
9fb415dd7a
Update iceberg.md 2023-03-21 11:17:04 -06:00
Rich Raposa
8568975c78
Merge branch 'master' into s3-fix 2023-03-21 11:03:55 -06:00
Rich Raposa
cd0ac7a0e1
Update s3.md 2023-03-21 11:03:44 -06:00
Kuba Kaflik
d0a54ab21b Update GCS table function docs 2023-03-21 14:45:58 +01:00
zvonand
b5b200c483 add docs in docs section 2023-03-21 14:28:47 +01:00
Kuba Kaflik
e2c32c3bc0 Update GCS table function docs 2023-03-21 13:46:37 +01:00
Kuba Kaflik
e6ddfc3486 Update GCS table function docs 2023-03-21 09:51:37 +01:00
Rich Raposa
7fa9ee5452
Update s3.md 2023-03-20 23:20:49 -06:00
Rich Raposa
60ad9ebefa
Update string-search-functions.md 2023-03-20 21:54:19 -06:00
Rich Raposa
fe9e84ae32
Merge branch 'master' into s3-fix 2023-03-20 21:51:30 -06:00
jinjunzh
18c59fb5d3 Create doc and scripts for qpl_deflate benchmark 2023-03-20 17:19:34 -04:00
Arthur Passos
cceb1b278c
Merge branch 'master' into parsey_key_value_function 2023-03-20 15:27:37 -03:00
Denny Crane
1c9d72f114
Update string-search-functions.md 2023-03-20 15:20:40 -03:00
taiyang-li
3ca789b4a2 changes as requested 2023-03-20 23:58:37 +08:00
rfraposa
2d9088249d Update s3.md 2023-03-20 08:57:13 -06:00
Tanya Bragin
2639767f4c
Clarify compression codec default
cc @alexey-milovidov
2023-03-19 19:55:51 -07:00
Denny Crane
64e8d9d4d7
Update view.md 2023-03-19 14:10:18 -03:00
Denny Crane
35d2fb48de
Update view.md 2023-03-19 14:09:12 -03:00
Denny Crane
4629911e6e
Update view.md 2023-03-19 14:05:39 -03:00
Denny Crane
749daca64b
Update view.md 2023-03-19 14:01:47 -03:00
Denny Crane
dbfe2df1f4
Update coordinates.md 2023-03-18 19:48:00 -03:00
Alexander Tokmakov
f1df91cd09
Merge pull request #47659 from ClickHouse/fix_993
Fixes for 993 and friends
2023-03-18 14:46:43 +03:00
rfraposa
ac5ed141d8 New nav - reverting the revert 2023-03-17 21:45:43 -05:00
Kruglov Pavel
9e0b816ac4
Merge branch 'master' into random-structure 2023-03-17 20:00:21 +01:00
Alexander Tokmakov
d11aee2b0c
Merge branch 'master' into fix_993 2023-03-17 21:28:23 +03:00
Alexander Tokmakov
ec44c8293a
Revert "New navigation" 2023-03-17 21:21:11 +03:00
Rich Raposa
55892bc3ea
Merge branch 'master' into new-nav 2023-03-17 11:41:34 -06:00
flynn
ef331a45c3 udpate 2023-03-17 14:20:16 +00:00
flynn
3456562136 Update document for tupleElement function 2023-03-17 14:17:33 +00:00
Alexander Tokmakov
dfd8b2670a fix tests, update docs 2023-03-17 14:15:03 +01:00
taiyang-li
713c7022ac fix docs 2023-03-17 18:19:29 +08:00
Andrey Zvonov
a871c36d38
Merge branch 'master' into zvonand-implicit-tz 2023-03-17 10:49:35 +01:00
rfraposa
60fb9973d7 trailing slash fixes 2023-03-16 16:43:01 -05:00
Rich Raposa
06471b84ba
Merge branch 'master' into new-nav 2023-03-16 13:22:04 -06:00
rfraposa
9ee7b82e64 Trailing slashes fix 2023-03-16 14:21:32 -05:00
Alexander Tokmakov
a72f0cae07
Merge pull request #46071 from arenadata/ADQM-639
Add support of arbitrary engines for temporary tables
2023-03-16 20:56:25 +03:00
Rich Raposa
ecf6f28c77
Merge branch 'master' into new-nav 2023-03-16 09:01:46 -06:00
Denny Crane
8a802b7fc9
Update comment.md 2023-03-16 11:04:15 -03:00
Kruglov Pavel
a3510a2ffe
Merge pull request #47271 from Avogar/codecs-better
Add optional parameters to some codecs, fix aborts in clickhouse-compressor with some codecs.
2023-03-16 12:20:23 +01:00
Rich Raposa
81cd962773
Merge branch 'master' into new-nav 2023-03-15 22:23:44 -06:00
Andrey Zvonov
4327d707e0
Merge branch 'master' into zvonand-implicit-tz 2023-03-15 22:18:52 +01:00
Igor Nikonov
109ef9232c
Warning regarding SETTINGS and FORMAT 2023-03-15 16:30:31 +01:00
Kruglov Pavel
721fa96c03
Merge branch 'master' into random-structure 2023-03-15 14:28:13 +01:00
avogar
0005517cee Fix comments 2023-03-15 13:08:01 +00:00
Rich Raposa
f7e87eb036
Merge branch 'master' into new-nav 2023-03-10 10:48:18 -07:00
avogar
f9d9b1ee23 Add more options 2023-03-10 16:16:28 +00:00
Dan Roscigno
5c03df2f1c
Merge branch 'master' into rs/cleanup-default-value-docs 2023-03-10 08:37:59 -05:00
rfraposa
591b905fe0 Fix links 2023-03-09 23:32:25 -07:00
Rich Raposa
5bf568b9c6
Merge branch 'master' into new-nav 2023-03-09 16:11:55 -07:00
Rich Raposa
7aee4eeb8c
Merge pull request #47413 from ClickHouse/revert-47407-standardize-adminitions
Revert "standardize admonitions"
2023-03-09 14:59:34 -07:00
Dan Roscigno
6dab5db046
Merge pull request #47278 from den-crane/patch-66
Doc. Update exponentialmovingaverage.md
2023-03-09 16:42:03 -05:00
Rich Raposa
de68dade71
Revert "standardize admonitions" 2023-03-09 14:30:40 -07:00
avogar
66eb06d839 Better 2023-03-09 20:15:32 +00:00
avogar
067bfb8844 Add new function generateRandomStructure 2023-03-09 17:47:14 +00:00
DanRoscigno
95351bc2d3 standardize admonitions 2023-03-09 12:05:26 -05:00
rfraposa
604eeede97 Update system.md 2023-03-09 08:41:39 -07:00
rfraposa
b608a9e177 Update delete.md 2023-03-09 08:28:43 -07:00
Rich Raposa
66dd5b3834
Merge branch 'master' into new-nav 2023-03-09 08:12:23 -07:00
Sergei Trifonov
34bbb4ec3b
Merge branch 'master' into patch-66 2023-03-09 14:50:39 +01:00
Sergei Trifonov
3aa0c32101
Update docs/en/sql-reference/aggregate-functions/reference/exponentialmovingaverage.md 2023-03-09 14:50:13 +01:00
Roman Vasin
f42f3ee655
Merge branch 'master' into ADQM-639 2023-03-09 09:48:33 +03:00
rfraposa
a580d7c021 Combined Dictionary pages 2023-03-08 16:52:01 -07:00
rfraposa
a3c38caa6f Attempts to fix en/sql-reference 2023-03-08 14:49:20 -07:00
Rich Raposa
f24fad9e26
Merge branch 'master' into new-nav 2023-03-08 14:31:10 -07:00
Azat Khuzhin
d7b5e36218
Merge branch 'master' into mv-ignore-errors 2023-03-08 22:13:05 +01:00
Antonio Andelic
816a9c1099
Merge branch 'master' into custom-key-parallel-replicas 2023-03-08 11:06:30 +01:00
Vladimir C
b298fbeecc
Merge pull request #47134 from KevinyhZou/enable_int_types_repeat_function 2023-03-08 10:09:20 +01:00
rfraposa
4b1b4a711e Fix links 2023-03-08 00:05:58 -07:00
Nikolay Degterinsky
e1b309a904 Better docs, add timezone 2023-03-08 06:20:49 +00:00
rfraposa
fa6f3dadba Link fixes 2023-03-07 22:52:43 -07:00
Rich Raposa
67c16195cc
Merge branch 'master' into new-nav 2023-03-07 14:06:37 -07:00
rfraposa
008845216d Fix broken links 2023-03-07 14:06:14 -07:00
Robert Schulze
ff8fc0634a
Docs: Small cleanups after Kafka fix #47138 2023-03-07 19:50:42 +00:00
Robert Schulze
5b91631722
Merge pull request #47138 from AVMusorin/disallow-default-columns-kafka-engine
Prohibit DEFAULT/EPHEMERAL/ALIAS/MATERIALIZED columns in KafkaEngine
2023-03-07 20:36:46 +01:00
Rich Raposa
eac81b50dd
Merge branch 'master' into new-nav 2023-03-07 09:41:54 -07:00
Arthur Passos
9bee69148c
Merge branch 'ClickHouse:master' into parsey_key_value_function 2023-03-07 12:22:06 -03:00
taiyang-li
a2a8cbb787 add some more docs 2023-03-07 21:41:45 +08:00
Kruglov Pavel
5e1eec48fe
Merge branch 'master' into codecs-better 2023-03-07 12:51:46 +01:00
Antonio Andelic
2ae0bceb2b Address PR comments 2023-03-07 10:56:11 +00:00
Kseniia Sumarokova
0d778e693b
Update docs/en/sql-reference/statements/create/view.md 2023-03-07 11:31:43 +01:00
taiyang-li
6cc4b4b1b4 renaming functions 2023-03-07 17:58:30 +08:00
taiyang-li
62116d244c change as requested 2023-03-07 17:54:21 +08:00
Antonio Andelic
35c15e6ef8 Merge branch 'master' into custom-key-parallel-replicas 2023-03-07 09:37:38 +00:00
taiyang-li
bd0efdb06a Merge branch 'master' into quantile_gk 2023-03-07 16:29:27 +08:00
taiyang-li
b2757a65a5 Merge branch 'master' into to_timestamp 2023-03-07 16:26:24 +08:00
taiyang-li
b303fb5630 finish docs 2023-03-07 15:30:38 +08:00
rfraposa
3d484e20bc Fixing links 2023-03-06 23:33:56 -07:00
Denny Crane
1e11348a03
Update exponentialmovingaverage.md 2023-03-06 20:42:17 -04:00
Denny Crane
d8029b7b2d
Update ip-address-functions.md 2023-03-06 16:36:04 -04:00
Denny Crane
0b46de317b
Update ip-address-functions.md 2023-03-06 16:33:28 -04:00
Denny Crane
683da4897c
Update exponentialmovingaverage.md 2023-03-06 16:04:36 -04:00
Denny Crane
19dfd2eb17
Update exponentialmovingaverage.md 2023-03-06 15:59:24 -04:00
Denny Crane
b298af2640
Update exponentialmovingaverage.md 2023-03-06 15:56:21 -04:00
avogar
b5f19ee12c Make better 2023-03-06 19:34:36 +00:00
avogar
8847561fc2 Add optional parameters to some codecs, fix aborts in clickhouse-compressor with some codecs 2023-03-06 16:49:28 +00:00
Roman Vasin
cf85915466 Refactor grants logic, create test for grants, update docs 2023-03-06 16:37:41 +00:00
Mike Kot
1fca58b694
Merge branch 'master' into feature/show-secrets-option 2023-03-06 15:46:54 +03:00
Roman Vasin
95a7e11a47 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-639 2023-03-06 09:11:20 +00:00
Roman Vasin
237b5b2bfa Update docs 2023-03-06 08:25:39 +00:00
rfraposa
c64fb3ab29 Update index.md 2023-03-05 21:04:03 -07:00
rfraposa
258a431ba2 Update index.md 2023-03-04 10:36:19 -07:00
rfraposa
bcdc42cb20 Update index.md 2023-03-04 10:28:55 -07:00
rfraposa
91135316a0 sql-reference fixes 2023-03-04 09:53:10 -07:00
rfraposa
c5e48e19e1 Create _category_.yml 2023-03-04 09:46:19 -07:00
rfraposa
ece96a8d9e Update index.md 2023-03-04 09:37:19 -07:00
rfraposa
4f67e3facf Update Dictionary links 2023-03-03 20:11:51 -07:00
Rich Raposa
c3d36ec658
Merge branch 'master' into new-nav 2023-03-03 11:40:35 -07:00
Rich Raposa
18f29837fc
Merge branch 'master' into new-nav 2023-03-03 08:32:01 -07:00
AVMusorin
0f2ae72141
prohibit DEFAULT/EPHEMERAL/ALIAS in KafkaEngine 2023-03-03 16:25:42 +01:00
DanRoscigno
6c92250636 add compression types for file function 2023-03-03 08:21:02 -05:00
Dan Roscigno
687df5f1b5
Merge pull request #47146 from ClickHouse/DanRoscigno-patch-4
Update date-time-functions.md
2023-03-03 08:01:27 -05:00
Robert Schulze
9aef18abad
Doc update for mapFromArrays() 2023-03-03 08:47:46 +00:00
Robert Schulze
74fcffb067
Merge pull request #31125 from taiyang-li/map_from_arrasy
Implement spark function mapFromArrays()
2023-03-03 09:28:54 +01:00
Robert Schulze
31bc032e0b
Docs: Cleanup default value docs 2023-03-02 19:23:00 +00:00
rfraposa
9a2bd74eba Fix sql-reference link 2023-03-02 12:11:48 -07:00
Rich Raposa
21996c377a
Merge branch 'master' into new-nav 2023-03-02 10:56:49 -07:00
Dan Roscigno
fbabba78c9
Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2023-03-02 12:55:23 -05:00
Dan Roscigno
9cb70723d1
Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2023-03-02 12:55:16 -05:00
Dan Roscigno
2db7df6153
Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2023-03-02 12:55:04 -05:00
Dan Roscigno
38fbd61788
Merge branch 'master' into DanRoscigno-patch-4 2023-03-02 12:32:04 -05:00
Dan Roscigno
4457ebab48
Update docs/en/sql-reference/functions/date-time-functions.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2023-03-02 12:31:56 -05:00
Robert Schulze
4d444d6f7a
Merge pull request #47149 from ClickHouse/rs/switch-rows
Docs: Switch two rows for consistency
2023-03-02 18:06:18 +01:00
Robert Schulze
d378ae9c76
Docs: Switch two rows for consistency 2023-03-02 17:05:11 +00:00
Dan Roscigno
73a6c920d3
Update date-time-functions.md
closes #42758
2023-03-02 11:31:22 -05:00
Rich Raposa
c0adfd57be
Merge branch 'master' into new-nav 2023-03-02 07:56:54 -07:00
rfraposa
d1045b9f11 Fix Dictionary links; update install.md 2023-03-02 07:56:03 -07:00
Antonio Andelic
01cf9c94f4 Merge branch 'master' into custom-key-parallel-replicas 2023-03-02 14:28:42 +00:00
Robert Schulze
0a9d3bf4ae
Cleanup conversion function docs 2023-03-02 13:05:09 +00:00
KevinyhZou
cdc8596f81 enable int type in repeat function 2023-03-02 20:08:39 +08:00
李扬
2d37e3e7ba
Merge branch 'master' into map_from_arrasy 2023-03-02 14:37:31 +08:00
rfraposa
17a2d7ed45 Fixing broken links 2023-03-01 16:53:17 -07:00
Rich Raposa
770105ac09
Merge branch 'master' into new-nav 2023-03-01 16:05:37 -07:00
Nikolai Kochetov
d469f138dc
Merge pull request #46790 from avoiderboi/add-width-bucket
Add `WIDTH_BUCKET` function
2023-03-01 18:35:36 +01:00
taiyang-li
e8847f2fb6 change as request 2023-03-01 21:15:01 +08:00
taiyang-li
f84eee778b Merge branch 'master' into map_from_arrasy 2023-03-01 20:41:25 +08:00
taiyang-li
8edc677805 Merge branch 'master' into map_from_arrasy 2023-03-01 20:37:21 +08:00
Rich Raposa
632fc6c8da
Merge branch 'master' into new-nav 2023-02-28 22:47:31 -07:00
robot-clickhouse-ci-2
c28ab44ce5
Merge pull request #47044 from ClickHouse/DanRoscigno-patch-4
add comment info to create table
2023-03-01 02:31:51 +01:00
Rich Raposa
5704c87c5f
Merge branch 'master' into new-nav 2023-02-28 15:55:36 -07:00
Dan Roscigno
980680096e
Merge pull request #47043 from ClickHouse/DanRoscigno-patch-5
Add exaple of intDiv
2023-02-28 17:37:44 -05:00
Dan Roscigno
fa5b65a702
add comment info to create table
closes https://github.com/ClickHouse/ClickHouse/issues/37088
2023-02-28 17:35:52 -05:00
Dan Roscigno
97c8c21741
Add exaple of intDiv
closes https://github.com/ClickHouse/ClickHouse/issues/25703
2023-02-28 16:38:00 -05:00
Dan Roscigno
7c6e7622d8
docs: sample settings profile and assign to a user
closes https://github.com/ClickHouse/ClickHouse/issues/12311
2023-02-28 15:38:31 -05:00
Rich Raposa
232ab4ecda
Merge branch 'master' into new-nav 2023-02-28 13:26:00 -07:00
Dan Roscigno
357415f4f5
Merge pull request #47034 from ClickHouse/DanRoscigno-patch-6
Correct return vals
2023-02-28 14:10:52 -05:00
rfraposa
1b6916ddd2 Condensed dictionary docs into a single page 2023-02-28 12:01:52 -07:00
rfraposa
a4a5a8a7d3 Initial copy of doc-preview 2023-02-28 11:59:05 -07:00
Dan Roscigno
8c55ce8d72
Correct return vals
closes #43145
2023-02-28 12:07:11 -05:00
Dan Roscigno
7099e76cc3
Remove extra ]
closes #46172
2023-02-28 10:47:51 -05:00
Dan Roscigno
57f451ad2d
Remove table from intro page
The table was not kept up to date, removing as the list of table functions is in the nav.  In the future the list will be auto generated below the intro material.

Closes #46944
2023-02-28 09:47:32 -05:00
robot-ch-test-poll2
49d4f1db5a
Merge pull request #46993 from ClickHouse/DanRoscigno-patch-5
Add link to Howto from Materialized view ref.
2023-02-28 14:12:05 +01:00
Roman Vasin
bb483ca051 Update table.md doc 2023-02-28 08:05:29 +00:00
Dan Roscigno
f1e270b755
Add link to Howto from Materialized view ref.
closes https://github.com/ClickHouse/clickhouse-docs/issues/96
2023-02-27 15:41:52 -05:00
Dan Roscigno
69fa64e852
Add example of arrayStringConcat()
closes https://github.com/ClickHouse/clickhouse-docs/issues/124
2023-02-27 15:16:18 -05:00
Mike Kot
c799bd094b
Merge branch 'master' into feature/show-secrets-option 2023-02-27 18:43:14 +03:00
Mike Kot
62acc7a6cf setting and some docs 2023-02-27 13:18:21 +00:00
Vladimir C
77e5b8272d
Merge pull request #46928 from juunone/patch-1 2023-02-27 12:21:40 +01:00
Robert Schulze
edde5e591f
Merge pull request #46939 from ClickHouse/rs/doc-update
Docs: Update sidebar entries
2023-02-27 09:20:58 +01:00
Robert Schulze
e153aae54e
Capitalize "Map" in heading 2023-02-27 08:15:04 +00:00
Robert Schulze
86dd9b9855
Docs: Sidebar: Remove leading "For" from "Searching/Replacing in Strings" 2023-02-27 08:13:24 +00:00
Robert Schulze
d32a3035fe
Docs: Sidebar entry "Working with maps" --> Maps 2023-02-27 08:10:19 +00:00
jun won
458c711799
docs: fixed Moving Sliding Average (per 10 days) query typo
fixed Moving Sliding Average (per 10 days) query typo
2023-02-27 14:04:19 +09:00
zvonand
49fb028498 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-implicit-tz 2023-02-26 17:20:09 +01:00
Robert Schulze
f53d38cf85
Merge branch 'master' into rs/like-with-trailing-percentage 2023-02-26 14:43:27 +01:00
Rich Raposa
bb51da7de1
Merge pull request #46805 from den-crane/patch-63
Doc. Final setting
2023-02-25 16:05:54 -07:00
Alexey Milovidov
c69f8f9712
Merge pull request #46836 from den-crane/patch-64
Doc. Examples for DEFAULT/MATERIALIZED/EPHEMERAL/ALIAS
2023-02-26 00:26:11 +03:00
Robert Schulze
cf062f0c5b
Small optimization of LIKE patterns with > 1 trailing %
Previously, LIKE pattern '%%%ab' became '.*.*ab'. Now, it becomes 'ab'
which is a bit faster (perhaps).

+ minor code cleanup + a minor doc update
2023-02-25 18:50:32 +00:00
Robert Schulze
2fd28b9eac
Merge pull request #46867 from ClickHouse/rs/escaping-docs
Fix escaping description in LIKE function docs
2023-02-25 18:44:20 +01:00
Robert Schulze
01e7f41c79
Fix escaping descriptionn in LIKE function docs 2023-02-25 17:13:57 +00:00
Rich Raposa
6e2cec9ab6
Update tuple-map-functions.md 2023-02-25 10:03:32 -07:00
Robert Schulze
d74632cdb7
Minor fixup of string escaping syntax docs 2023-02-25 15:23:15 +00:00
Denny Crane
95b701a37c
Update table.md 2023-02-24 13:17:30 -04:00
Denny Crane
9974f45ab0
Update table.md 2023-02-24 13:15:35 -04:00
Robert Schulze
b0abeefb74
Rectify string literals escaping docs
Cf. https://github.com/ClickHouse/ClickHouse/issues/46592#issuecomment-1437059603
2023-02-24 15:56:17 +00:00
avoiderboi
3c61afb1ca Add docs and proper aliasing to WIDTH_BUCKET 2023-02-24 12:31:05 +01:00
Denny Crane
828b850335
Update from.md 2023-02-23 21:39:46 -04:00
Denny Crane
8851c268c2
Update from.md 2023-02-23 21:25:00 -04:00
Denny Crane
06a3c5598a
Update from.md 2023-02-23 21:21:36 -04:00
avoiderboi
8a60881a57 Add documentation for WIDTH_BUCKET 2023-02-24 01:05:40 +01:00
Rich Raposa
25a759d8d1
Update insert-into.md
Fix the formatting
2023-02-23 14:41:45 -07:00
zvonand
a9d0f7e7db Added docs for new serverTimeZone function
Updated tests and docs
2023-02-23 19:14:49 +01:00
Kruglov Pavel
0e7143070e
Update docs about format table function 2023-02-22 17:51:29 +01:00
Kseniia Sumarokova
bec094cd79
Merge pull request #46712 from kssenii/add-iceberg-doc
Add iceberg engine doc
2023-02-22 14:49:03 +01:00
kssenii
bac464f89b Fix 2023-02-22 14:25:08 +01:00
kssenii
21fcc3b69c Add iceberg doc 2023-02-22 12:04:24 +01:00
Roman Vasin
5c1c5199b9
Merge branch 'master' into ADQM-639 2023-02-22 09:25:17 +03:00
Azat Khuzhin
3a58951f64 Improve documentation for materialized_views_ignore_errors
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-21 19:25:58 +01:00
Azat Khuzhin
6391e2daec Set materialized_views_ignore_errors unconditionally for system.*_log tables
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-21 16:33:15 +01:00
Azat Khuzhin
a110e0f022 Allow to ignore errors while pushing to MATERILIZED VIEW
This can be useful in the following scenarious:

- you want to duplicate the data to another table and you don't care
  about the errors
- you want to duplicate system.*_log to another server, you are adding
  materialized view that will push to Distributed table, but you don't
  want to miss original blocks in the local system.*_log
- you want to push some data to a 3d party service, using i.e. URL
  engine.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-21 16:28:38 +01:00
chen
c1e611334a
Update s3Cluster.md 2023-02-21 21:53:44 +08:00
chen
254cb1119b
Update s3Cluster.md 2023-02-21 21:52:17 +08:00
taiyang-li
eafac0f9a3 add docs 2023-02-21 11:17:44 +08:00
Arthur Passos
20f6783dad
Merge branch 'master' into parsey_key_value_function 2023-02-20 16:24:45 -03:00
robot-clickhouse-ci-2
1d5cc9b387
Merge pull request #46579 from ClickHouse/rs/sparkbar-docs
Small update of sparkbar docs
2023-02-20 09:19:01 +01:00
Robert Schulze
5557e66766
Small update of sparkbar docs
- parameter name "width" was misleading
2023-02-20 08:03:40 +00:00
taiyang-li
ec81d2f426 Merge branch 'quantile_gk' of https://github.com/bigo-sg/ClickHouse into quantile_gk 2023-02-20 10:31:38 +08:00
taiyang-li
daaca43a7e fix text 2023-02-20 10:28:35 +08:00
李扬
e87e3d9bda
Merge branch 'master' into quantile_gk 2023-02-20 10:27:41 +08:00
taiyang-li
d0a59e44f1 add docs 2023-02-20 10:27:13 +08:00
Alexander Gololobov
1b8cae8ee5
Merge pull request #46529 from ClickHouse/regexp_extract
Merge #46469
2023-02-19 10:28:35 +01:00
Roman Vasin
3e2b56fabc
Merge branch 'master' into ADQM-639 2023-02-17 21:14:26 +03:00
Antonio Andelic
ab51c1d975
Merge branch 'master' into custom-key-parallel-replicas 2023-02-17 15:06:41 +01:00
Robert Schulze
b2fe7bf5c7
Merge pull request #46498 from ClickHouse/rs/docs-catboostevaluate
Document that catboostEvaluate() is not available in ClickHouse Cloud
2023-02-16 21:07:53 +01:00
Robert Schulze
18cbc7b511
Docs: catboostEvaluate() is unavailable in Cloud 2023-02-16 19:19:25 +00:00
robot-ch-test-poll1
300dfbbef6
Merge pull request #46460 from ClickHouse/group-by-use-nulls-docs
Add documentation for `group_by_use_nulls` setting
2023-02-16 18:41:34 +01:00
Robert Schulze
0ff404da9c
Merge pull request #46302 from JakeBamrah/master
Expand date formatters and add `DATE_FORMAT` function for better MySQL compatibility
2023-02-16 17:54:12 +01:00
Dmitry Novik
c95df21324 Review fixes 2023-02-16 15:38:25 +00:00
Nikolay Degterinsky
e61947bf47
Merge pull request #44662 from evillique/ulid
Add generateULID function
2023-02-16 11:21:23 +01:00
Jake Bamrah
4ea814a843 add DATE_FORMAT alias and remaining mySQL date formatters 2023-02-16 09:52:19 +00:00
taiyang-li
eadac085bf add docs for function regexExtract 2023-02-16 17:33:51 +08:00
Rich Raposa
2111ca26d6
Merge pull request #46456 from ClickHouse/rfraposa-patch-2
Update s3Cluster example
2023-02-15 18:23:41 -07:00
Dmitry Novik
b908fa32df Add documentation for group_by_use_nulls 2023-02-16 00:57:53 +00:00
Alexey Milovidov
9b5ab049dc
Merge pull request #46415 from den-crane/patch-61
Doc. prewhere example
2023-02-16 01:47:52 +03:00
Rich Raposa
922d7f2c2a
Update s3Cluster.md
The explanation of how the cluster is used in a query seemed liked it was worded poorly. (It made it sound like you were querying data on a cluster of CH nodes.) I reworded it.
2023-02-15 13:26:58 -07:00
Vladimir C
3e77463125
Merge pull request #46256 from bigo-sg/window_functions 2023-02-15 15:36:41 +01:00
Antonio Andelic
4dd4aac125
Merge branch 'master' into custom-key-parallel-replicas 2023-02-15 11:02:37 +01:00
Robert Schulze
f6e711d031
Fix spelling 2023-02-15 09:17:05 +00:00
Nikolay Degterinsky
494fd472f0
Merge branch 'master' into ulid 2023-02-15 07:24:32 +01:00
Rich Raposa
ca4b9c2d3d
Merge branch 'master' into rs/qp-docs 2023-02-14 22:21:10 -07:00
Rich Raposa
82deb0dd72
Update syntax.md
Minor grammar and style fixes
2023-02-14 21:30:33 -07:00
Robert Schulze
0a1eaff250
Docs: Clarify query parameters 2023-02-14 21:40:14 +00:00
Denny Crane
6d1b3dcd78
Update prewhere.md 2023-02-14 13:07:01 -04:00
Denny Crane
e07c723032
Update prewhere.md 2023-02-14 13:03:44 -04:00
Nikolay Degterinsky
04b3c9da27 Move docs to separate file 2023-02-14 16:58:56 +00:00
Denny Crane
010056f70d
Update json-functions.md 2023-02-14 11:00:59 -04:00
Denny Crane
3b708de05a
Update json-functions.md 2023-02-14 10:59:53 -04:00
Denny Crane
78058454ae
Update json-functions.md 2023-02-14 10:50:03 -04:00
Denny Crane
6273176dca
Update json-functions.md 2023-02-14 10:45:45 -04:00
Denny Crane
46453558c0
Update json-functions.md 2023-02-14 10:35:25 -04:00
Nikolay Degterinsky
09da5575e3 Merge remote-tracking branch 'upstream/master' into ulid 2023-02-14 13:41:17 +00:00
Antonio Andelic
adde580756
Merge branch 'master' into custom-key-parallel-replicas 2023-02-14 14:09:12 +01:00
lgbo-ustc
74d6ccad4f fixed
change window specification as (partition by a order by b rows between unbounded preceding and unbounded following)
2023-02-14 15:49:12 +08:00
lgbo-ustc
80a713bca0 update doc and add tests 2023-02-14 15:49:12 +08:00
Roman Vasin
769ff6d273 Merge branch 'ADQM-639' of github.com:arenadata/ClickHouse into ADQM-639 2023-02-13 16:23:15 +00:00
Roman Vasin
8cc768fde2 Add KeeperMap as disallowed engine for temporary tables 2023-02-13 16:23:04 +00:00
Antonio Andelic
8d16fe5793
Merge branch 'master' into add-support-for-settings-alias 2023-02-13 08:46:00 +01:00
7vikpeculiar
3ec2303800 Min Function Doc Fix 2023-02-11 17:28:39 +05:30
Alexey Milovidov
44bd95a410
Merge pull request #46167 from ClickHouse/rs/reject-dos-patterns
Reject hyperscan regexes which are prone to ReDoS
2023-02-11 06:04:03 +03:00
Roman Vasin
bb465ce7dd
Merge branch 'master' into ADQM-639 2023-02-10 17:04:14 +03:00
Vladimir C
bd39e29cab
Merge pull request #46065 from aiven-sal/aiven-sal/siphash128 2023-02-10 10:41:45 +01:00
taiyang-li
ae7a657a3f merge master and solve conflicts 2023-02-10 14:21:10 +08:00
Robert Schulze
74937cf27b
Reject DoS-prone hyperscan regexes 2023-02-09 17:17:35 +00:00
Antonio Andelic
f96d480563
Merge branch 'master' into add-support-for-settings-alias 2023-02-09 16:07:45 +01:00
Alexander Tokmakov
4fd4058259
Merge pull request #45629 from arthurpassos/fix_cares_crash
Cancel c-ares failed requests and retry on system interrupts to prevent callbacks with dangling references and premature resolution failures
2023-02-09 02:29:29 +03:00
taiyang-li
f41f41c78c fix doc; enable int type for pad 2023-02-07 18:25:36 +08:00
Salvatore Mesoraca
aa4faae85d
docs: functions: hash: add doc for sipHash126Reference{,Keyed} 2023-02-07 11:19:04 +01:00
Salvatore Mesoraca
14acaa04a9
docs: functions: hash: fix wrong doc 2023-02-07 11:19:04 +01:00
Salvatore Mesoraca
970a4586a1
docs: functions: hash: add warning about sipHash128{,Keyed}
sipHash128{,Keyed} does not comply with the reference
implementation of SipHash and it's weaker then it should
2023-02-07 11:19:04 +01:00
Roman Vasin
9488bd834f
Merge branch 'master' into ADQM-639 2023-02-07 09:45:10 +03:00
Rich Raposa
07545d7386
Merge pull request #46048 from ClickHouse/add-executable-engine
Add docs for Executable and ExecutablePool table engines
2023-02-06 12:36:57 -06:00
rfraposa
f3136e3f25 Resolve feedback 2023-02-06 10:48:54 -07:00
Arthur Passos
4c1d9fa177 improve docs 2023-02-06 10:56:01 -03:00
Arthur Passos
a34b853e1a add en lorem ipsum docs to get a build in CI 2023-02-06 10:56:01 -03:00
Antonio Andelic
f67e5505ab Merge branch 'master' into custom-key-parallel-replicas 2023-02-06 11:12:39 +00:00
Vladimir C
e3712bb2c6
Merge pull request #45961 from ClickHouse/vdimir/sparkbar-fix 2023-02-06 11:52:15 +01:00
Roman Vasin
a4079bc360 Update docs for temporary tables 2023-02-06 09:52:52 +00:00
rfraposa
dfb680d20d Update executable.md 2023-02-05 20:17:21 -07:00
rfraposa
4ad5ff377b Create executable.md 2023-02-05 19:05:39 -07:00
Antonio Andelic
12569da984 Merge branch 'master' into add-support-for-settings-alias 2023-02-05 16:08:57 +00:00
DanRoscigno
8464357bca fix heading level 2023-02-03 13:57:47 -05:00
Antonio Andelic
a58653820e Update docs 2023-02-03 18:19:12 +00:00
vdimir
6e0d5e4150
Update doc for sparkbar function 2023-02-03 17:23:10 +00:00
DanRoscigno
c9244335ef move title to frontmatter 2023-02-03 09:21:30 -05:00
DanRoscigno
7889b632d6 add metadata 2023-02-03 09:16:33 -05:00
DanRoscigno
26a6c5a25b combine guide and reference for lightweight deletes 2023-02-03 09:13:48 -05:00
Alexander Tokmakov
cce6d1989e
Update system.md 2023-02-02 22:01:00 +03:00
DanRoscigno
8242c936e0 add notes for GCS 2023-02-02 10:56:39 -05:00
attack204
7ed6bad097
Merge branch 'master' into urlCluster 2023-02-02 21:12:20 +08:00
Dan Roscigno
6301904a1c
Merge pull request #45862 from eiriksfa/patch-1
Update s2.md, typo in reference docs
2023-02-01 11:55:49 -05:00
rfraposa
e52edd4e85 Update external-dicts-dict-layout.md 2023-02-01 09:06:21 -07:00
Robert Schulze
b512316586
Merge pull request #45682 from ClickHouse/rename-qrc-to-qc
Rename "Query Result Cache" to "Query Cache"
2023-02-01 11:23:29 +01:00
Alexander Gololobov
e705f11ad1
Merge pull request #45786 from ClickHouse/delete_on_cluster
Support DELETE ON CLUSTER
2023-02-01 10:52:01 +01:00
robot-ch-test-poll2
202fa9fa37
Merge pull request #45859 from FArthur-cmd/show_engines_support
Add support for SHOW ENGINES query
2023-02-01 07:32:56 +01:00
FArthur-cmd
63e8eef9de add documentation and test 2023-02-01 02:50:53 +03:00
Dan Roscigno
2f64ba187f
Update docs/en/sql-reference/statements/alter/ttl.md 2023-01-31 14:55:13 -05:00
rfraposa
8d0908cb0f Update ttl.md 2023-01-31 11:43:09 -07:00
Eirik
ab1f1144c9
typo in s2.md reference docs
Small typo in s2CapUnion
2023-01-31 17:15:29 +01:00
Dan Roscigno
9ada816d5a
Update table.md 2023-01-31 10:59:08 -05:00
Antonio Andelic
c99efa75b7
Merge branch 'master' into custom-key-parallel-replicas 2023-01-31 11:58:30 +01:00
Robert Schulze
44a5e9cb17
Minor doc follow-up to #45382 2023-01-31 10:31:01 +00:00
Robert Schulze
fdd6c77480
Merge pull request #45382 from bigo-sg/improve_position
Add fastpath for function position when needle is empty
2023-01-31 11:22:31 +01:00
Robert Schulze
325c6bdf3d
Renaming: "Query Result Cache" --> "Query Cache"
Reasons:

- The cache will at some point store intermediate results as opposed to
  only query results. We should change the terminology now without
  having to worry about backward compat.

- Equivalent caches in MySQL (1) and Starrocks (2) are called "query
  cache".

- The new name is ca. 13.8% more catchy.

(1) https://dev.mysql.com/doc/refman/5.6/en/query-cache.html
(2) https://docs.starrocks.io/en-us/2.5/using_starrocks/query_cache
2023-01-31 09:54:34 +00:00
taiyang-li
4cf11d9a84 change as request 2023-01-31 10:48:02 +08:00
Ilya Yatsishin
8d6df7ed58
Merge pull request #45785 from Algunenano/generate_random_types 2023-01-30 23:03:12 +01:00
Alexander Gololobov
65d39a616d Added ON CLUSTER 2023-01-30 17:02:29 +01:00
Arthur Passos
7b1ceaa2c5
Merge branch 'master' into fix_cares_crash 2023-01-30 12:05:56 -03:00
Raúl Marín
997fad4e8d GenerateRandom: Add support for maps 2023-01-30 15:23:22 +01:00
Dan Roscigno
86acb61849
Merge branch 'master' into patch-1 2023-01-30 06:18:23 -05:00
Derek Chia
692b7ab211
Update dictionary.md
Remove "statement:" from a query
2023-01-30 17:56:17 +08:00
taiyang-li
d25740da83 change as request 2023-01-30 16:13:12 +08:00
Robert Schulze
15ae2d1de5
Merge branch 'master' into aiven-sal/siphash_pr 2023-01-29 21:06:52 +01:00
Robert Schulze
6195456d5b
Fix formatting 2023-01-29 19:58:59 +00:00
Alexey Milovidov
5f4726eb2a
Merge pull request #45717 from Performica/topKWeighted-better-example
improve explanatory of topKWeighted example
2023-01-29 06:24:32 +03:00
Alexey Milovidov
0f7f490302
Merge pull request #45716 from Performica/maxMap-intuitive-example
More intuitive maxMap example
2023-01-29 06:23:54 +03:00
freedomDR
876a92d4d1 add doc about system sync file cache. 2023-01-28 04:27:10 +00:00
robot-ch-test-poll
cb803a887a
Merge pull request #45660 from abidino/patch-2
Update sum.md
2023-01-28 01:52:06 +01:00
Alexey Milovidov
bc2f454522
Merge branch 'master' into block-non-float-gorilla-v2 2023-01-28 03:30:12 +03:00
Alexey Milovidov
0ffc8f048b
Merge pull request #45464 from lesandie/patch-1
Update skipping-index.md
2023-01-28 03:27:44 +03:00
ivan-klass
b83e60b1d7
improve explanatory of topKWeighted example 2023-01-28 00:20:15 +01:00
ivan-klass
8a6c4bec13
More intuitive maxMap example
Different types used to easier distinguish maxMap keys vs values
2023-01-27 23:41:55 +01:00
Robert Schulze
4abd395153
Docs: Fix typo 2023-01-27 13:39:50 +00:00
Robert Schulze
5edf321927
Some docs fixes 2023-01-27 13:00:54 +01:00
Salvatore Mesoraca
464ecf50ef
doc: functions: hash: add sipHash{64,128}Keyed 2023-01-27 13:00:54 +01:00
Salvatore Mesoraca
dfd6dfc155
doc: functions: siphash: fix broken links 2023-01-27 13:00:53 +01:00
Salvatore Mesoraca
15b1f3f6a1
doc: functions: siphash: use correct value in example 2023-01-27 13:00:53 +01:00
Alexey Milovidov
5b257ab806
Merge pull request #45233 from ClickHouse/improve_week_day
Revert "Revert "Improve week day""
2023-01-27 02:44:17 +03:00
Dan Roscigno
76d6e2edf9
Merge pull request #45569 from AVMusorin/docs_optimize_skip_merged_partitions
docs: added optimize_skip_merged_partitions setting
2023-01-26 16:04:27 -05:00
Dan Roscigno
f8bd83a94f
Merge pull request #45595 from den-crane/patch-59
Doc. Update range_hashed description
2023-01-26 16:01:52 -05:00
Diego Nieto
836e14e52b
Update skipping-index.md
Deleted the confusing comment and added implemented as a mutation, like MATERIALIZE INDEX.
2023-01-26 17:23:39 +01:00
Diego Nieto
ec378fc4d6
Merge branch 'ClickHouse:master' into patch-1 2023-01-26 17:17:35 +01:00
abidino
cba266c965
Update sum.md 2023-01-26 17:33:30 +03:00
Antonio Andelic
07b2c5ce0f
Merge branch 'master' into custom-key-parallel-replicas 2023-01-26 12:42:04 +01:00
Arthur Passos
433eda70fd add reverseDNSQuery docs 2023-01-26 07:57:43 -03:00
Dan Roscigno
b4ab361366
Merge branch 'master' into docs_optimize_skip_merged_partitions 2023-01-25 19:45:32 -05:00
Dan Roscigno
55c9b03c47
Update docs/en/sql-reference/statements/optimize.md 2023-01-25 19:45:25 -05:00
rfraposa
a1de808d11 Update mongodb.md 2023-01-25 11:44:13 -07:00
rfraposa
8d44f2aec1 Create mongodb.md 2023-01-25 11:31:07 -07:00
Robert Schulze
d1eb9264ed
Merge remote-tracking branch 'origin/master' into docs-explain-plan 2023-01-25 11:05:46 +00:00
Robert Schulze
da7a657f1f
Docs: fix docs of EXPLAIN PLAN indexes=1 2023-01-25 11:02:50 +00:00
Robert Schulze
0148ad0e0e
Merge pull request #45598 from ClickHouse/typo-fix
Typo: "Granulesis" --> "Granules"
2023-01-25 11:52:11 +01:00
Robert Schulze
fd45295ff4
Typo: "Granulesis" --> "Granules" 2023-01-25 10:49:30 +00:00
Denny Crane
fda47bf4f8
Update external-dicts-dict-layout.md 2023-01-24 21:31:43 -04:00
Dan Roscigno
1cc3708092
Merge branch 'master' into update-settings-url 2023-01-24 19:51:39 -05:00
DanRoscigno
77ae27f26c update for split of format settings 2023-01-24 19:37:55 -05:00
Robert Schulze
87ca5dcdf2
Document start of week in function date_diff() 2023-01-24 20:18:59 +00:00
AVMusorin
5f8658b2d6
docs: added optimize_skip_merged_partitions setting 2023-01-24 14:56:39 +01:00
Robert Schulze
574cab5d7e
Remove transitory parameter 2023-01-24 11:05:29 +00:00
Antonio Andelic
95853af459 Merge branch 'master' into custom-key-parallel-replicas 2023-01-24 10:49:40 +00:00
Robert Schulze
aaf7653108
Merge remote-tracking branch 'origin/master' into block-non-float-gorilla-v2 2023-01-24 10:14:10 +00:00
rfraposa
33770303a0 Add DISTINCT to INTERSECT and EXCEPT 2023-01-23 17:10:30 -07:00
Diego Nieto
c4266588c6
Merge branch 'master' into patch-1 2023-01-23 20:50:37 +01:00
Dan Roscigno
ee31da9e1e
Merge pull request #45366 from gingerwizard/cross-link-docs
link docs to blogs
2023-01-23 14:04:59 -05:00
Robert Schulze
0ab7ae6c17
Merge pull request #43797 from ClickHouse/query-result-cache
Query result cache [experimental]
2023-01-23 19:54:35 +01:00
Antonio Andelic
c15128491b Update max_parallel_replicas docs 2023-01-23 17:24:48 +01:00
Sergei Trifonov
e1b20e4314
Merge pull request #45503 from ClickHouse/serxa-patch-3
Provide more clear syntax for `fromUnixTimestamp64*` and `toUnixTimestamp64*` functions
2023-01-23 16:28:32 +01:00
Denny Crane
531ad1661e
Update column.md 2023-01-23 09:57:42 -04:00
Denny Crane
4d9be1ef4f
Update column.md 2023-01-23 09:57:04 -04:00
Denny Crane
2bf59fd48c
Update column.md 2023-01-23 09:55:30 -04:00
Sergei Trifonov
e0fa5b9bac
Update type-conversion-functions.md 2023-01-23 12:26:24 +01:00
Robert Schulze
340f406553
Merge branch 'master' into query-result-cache 2023-01-22 13:21:36 +01:00
Robert Schulze
97d1bed114
Merge branch 'master' into improve_week_day 2023-01-21 20:40:33 +01:00
attack204
d971e0e75d
Merge branch 'master' into master 2023-01-21 09:34:15 +08:00
Robert Schulze
e6167d6b36
Deprecate Gorilla compression of non-float columns
Reasons:

1. The original Gorilla paper proposed a compression schema for pairs of
   time stamps and double-precision FP values. ClickHouse's Gorilla
   codec only implements compression of the latter and it does not
   impose any data type restrictions.
   - Data types != Float* or (U)Int* (e.g. Decimal, Point etc.) are
     definitely not supposed to be used with Gorilla.
   - (U)Int* types are debatable. The paper only considers
     integers-stored-as-FP-values, a practical use case for which
     Gorilla works well. Standalone integers are not considered which
     makes them at least suspicious.

2. Achieve consistency with FPC, another specialized floating-point
   timeseries codec, which rejects non-float data.

3. On practical datasets, ZSTD is often "good enough" (**) so it should
   be okay to disincentive non-ZSTD codecs a little bit. If needed,
   Delta and DoubleDelta codecs are viable alternative for slowly
   changing (time-series-like) integer sequences.

Since on-prem and hosted users may still have Gorilla-compressed
non-float data, this combination is only deprecated for now. No warning
or error will be emitted. Users are encouraged to migrate
Gorilla-compressed non-float data to an alternative codec. It is planned
to treat Gorilla-compressed non-float columns as "suspicious" six months
after this commit (i.e. in v23.6). Even then, it will still be possible
to set "allow_suspicious_codecs = true" and read and write
Gorilla-compressed non-float data.

(*) Sec. 4.1.2, "Gorilla restricts the value element in its tuple to a
    double floating point type.", https://doi.org/10.14778/2824032.2824078

(**) https://clickhouse.com/blog/optimize-clickhouse-codecs-compression-schema
2023-01-20 17:31:16 +00:00
Robert Schulze
4ac17d71fa
Merge pull request #45470 from ClickHouse/rs-doc-typos
Fix typos
2023-01-20 14:39:27 +01:00
Robert Schulze
3f2e4c8217
Fix typos 2023-01-20 13:20:25 +00:00
Diego Nieto
a2b342bcbe
Update skipping-index.md
ADD and DROP are not such lightweight command they generate mutations to deal with the changes and they will take time to complete depending on how much data the table has.
2023-01-20 12:32:50 +01:00
attack204
ef0bed7705 add test 2023-01-19 14:19:47 +08:00
attack204
6eee6bcd86 doc:add urlCluster 2023-01-19 13:51:32 +08:00
Azat Khuzhin
4366f7fb3b Remove PREALLOCATE for HASHED/SPARSE_HASHED dictionaries
It does not give significant benefit, but now, you hashed/sparse_hashed
dictionaries can be filled in parallel (#40003), using sharded
dictionaries, and this should be used instead of PREALLOCATE.

Note, that dictionaries, that had been created with PREALLOCATE will
work, but simply ignore this attribute.

Fixes: #41985 (cc @alexey-milovidov)
Reverts: #23979 (cc @kitaisreal)

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-18 20:18:37 +01:00
Maksim Kita
8225d2814c
Merge pull request #40003 from azat/dict-shards
Add ability to load hashed dictionaries using multiple threads
2023-01-18 13:37:10 +03:00
Robert Schulze
4f90824347
Merge remote-tracking branch 'origin/master' into query-result-cache 2023-01-17 22:49:53 +00:00
Dale Mcdiarmid
9c4d3e0ffb link docs to blogs 2023-01-17 15:38:10 +00:00
Nikolay Degterinsky
70e79de69b
Merge pull request #38252 from bharatnc/ncb/weighted-quantile-approx
add quantileInterpolatedWeighted function
2023-01-16 13:41:13 +01:00
Sema Checherinda
d746a3c4ff
Merge pull request #44480 from wineternity/issue_43333_doc
[DOC] Add support for signed arguments in range() #43333
2023-01-16 10:26:49 +01:00
Robert Schulze
099e30ef2a
Merge remote-tracking branch 'origin/master' into query-result-cache 2023-01-16 08:04:49 +00:00
Ilya Yatsishin
cf5052c77e
Merge pull request #45291 from den-crane/patch-57 2023-01-16 02:33:54 +01:00
Dan Roscigno
adca0b64d3
use markdown file instead of URL to enforce 404 checks 2023-01-15 19:31:58 -05:00
Peignon Melvyn
674a1d1877
Update json.md 2023-01-16 01:27:08 +01:00
Denny Crane
6cf603e05f
Update index.md 2023-01-15 18:40:59 -04:00
Robert Schulze
bd41c74ddf
Various test, code and docs fixups 2023-01-15 13:47:34 +00:00
Ilya Yatsishin
96987b7cd8
Merge pull request #45239 from Avogar/generate-random 2023-01-15 00:37:34 +01:00
Rich Raposa
c7aad8e48b
Merge pull request #45207 from ClickHouse/add-maxintersections-to-docs
Add maxIntersections to docs
2023-01-13 10:27:59 -07:00
Robert Schulze
4ea836b87e
Revert "Revert "update function DAYOFWEEK and add new function WEEKDAY for mysql/spark compatiability""
This reverts commit e37f572c34.
2023-01-13 14:00:16 +00:00
Azat Khuzhin
99063b152f Allow to configure queue backlog of the parallel hashed dictionary loader
v2: Decrease default parallel_queue_backlog to 10000 (same speed)
v3: Rename parallel_queue_backlog to per_shard_load_backlog
v3: Rename per_shard_load_backlog to shard_load_queue_backlog
v4: Fix documentation
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-13 13:39:26 +01:00
Azat Khuzhin
345c422e28 Add ability to load hashed dictionaries using multiple threads
Right now dictionaries (here I will talk about only
HASHED/SPARSE_HASHED/COMPLEX_KEY_HASHED/COMPLEX_KEY_SPARSE_HASHED)
can load data only in one thread, since it uses one hash table that
cannot be filled from multiple threads.

And in case you have very big dictionary (i.e. 10e9 elements), it can
take a awhile to load them, especially for SPARSE_HASHED variants (and
if you have such amount of elements there, you are likely use
SPARSE_HASHED, since it requires less memory), in my env it takes ~4
hours, which is enormous amount of time.

So this patch add support of shards for dictionaries, number of shards
determine how much hash tables will use this dictionary, also, and which
is more important, how much threads it can use to load the data.

And with 16 threads this works 2x faster, not perfect though, see the
follow up patches in this series.

v0: PARTITION BY
v1: SHARDS 1
v2: SHARDS(1)
v3: tried optimized mod - logical and, but it does not gain even 10%
v4: tried squashing more (max_block_size * shards), but it does not gain even 10% either
v5: move SHARDS into layout parameters (unknown simply ignored)
v6: tune params for perf tests (to avoid too long queries)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-13 13:39:25 +01:00
avogar
82ff1fd343 Add tests and docs 2023-01-12 22:29:23 +00:00
Dan Roscigno
8c94ed9597
Update docs/en/sql-reference/aggregate-functions/reference/maxintersections.md 2023-01-12 11:01:03 -05:00
Rich Raposa
759a4c0940
Update docs/en/sql-reference/aggregate-functions/reference/maxintersections.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-01-12 08:53:22 -07:00
rfraposa
69a11574d2 Update maxintersections.md 2023-01-12 08:30:54 -07:00
Kseniia Sumarokova
db3e0219fc
Merge pull request #41687 from ClickHouse/40907_Parameterized_views_as_table_functions
40907 Parameterized views as table functions
2023-01-12 14:24:32 +01:00
Alexander Tokmakov
e37f572c34
Revert "update function DAYOFWEEK and add new function WEEKDAY for mysql/spark compatiability" 2023-01-12 15:01:36 +03:00
Dan Roscigno
7a651d749c
Update docs/en/sql-reference/aggregate-functions/reference/maxintersections.md 2023-01-11 19:20:37 -05:00
rfraposa
2e44ad9d0f Add maxIntersections to docs 2023-01-11 17:10:51 -07:00
Ilya Yatsishin
3a98f2bc12
Merge pull request #45190 from ClickHouse/add-query-params-to-docs
Add query parameters to the docs
2023-01-11 23:47:50 +01:00
Sergei Trifonov
1b94c839d5
Add docs for SYSTEM RELOAD USERS 2023-01-11 21:16:22 +01:00
Rich Raposa
f8ac49bb86
Update syntax.md 2023-01-11 12:09:23 -07:00
Rich Raposa
a389180f42
Update syntax.md 2023-01-11 12:05:35 -07:00
rfraposa
8b9d99e2e2 Update syntax.md 2023-01-11 11:51:53 -07:00
Sergei Trifonov
ec9f10e934
Merge pull request #45174 from ClickHouse/make-queries-copyable-from-docs
make more SQL queries copyable from docs in one click
2023-01-11 16:59:52 +01:00
DanRoscigno
7168c217b0 switch text to response for query blocks 2023-01-11 10:08:11 -05:00
serxa
8d099a4417 make more SQL queries copyable from docs in one click 2023-01-11 13:43:51 +00:00