Commit Graph

4658 Commits

Author SHA1 Message Date
Robert Schulze
27921a5d8f
Docs: Add another reason for integer promotion rules in ClickHouse 2023-07-20 10:48:39 +00:00
Robert Schulze
e5f7890bb5
Merge pull request #52206 from aiven-sal/aiven-sal/siphash_fix_pr
Re-add SipHash keyed functions
2023-07-20 11:15:31 +02:00
avogar
483ddb53eb Fixes 2023-07-19 19:51:58 +00:00
Samuel Colvin
90be5e6160
Remove reference to TIMEOUT in live views documentation
Temporary live views were removed in #42173, but the documentation was not fully updated to reflect the change.
2023-07-19 20:04:43 +01:00
Han Fei
2675b8fa79
Merge pull request #52181 from arenadata/ADQM-868
Millisecond and microsecond support in date_diff / age functions
2023-07-19 17:41:23 +02:00
vdimir
92f04d2c53
Merge pull request #52209 from mkmkme/mkmkme/first-line 2023-07-19 11:10:13 +02:00
SmitaRKulkarni
4456adfd4a
Merge branch 'master' into azure_table_function_cluster 2023-07-19 08:28:30 +02:00
robot-clickhouse-ci-1
32b765a4ba
Merge pull request #50559 from zvonand/zvonand-issue-49290
Add support for multi-directory globs
2023-07-19 06:24:38 +02:00
Lloyd-Pottiger
fc7743ad68
Merge branch 'master' into add-alias-for-today-and-now 2023-07-19 10:20:11 +08:00
Dmitry Kardymon
4e1bdc7db9 Merge remote-tracking branch 'origin/master' into ADQM-868 2023-07-18 18:21:04 +00:00
timfursov
90df922f50
Update with.md
Removed new line chars completely just in case
2023-07-18 15:02:59 +01:00
timfursov
cfcfb83ab7
Update with.md
replaced <br> to \
2023-07-18 14:41:43 +01:00
timfursov
5a398f9a93
Update with.md
Added an example
2023-07-18 13:39:53 +01:00
timfursov
f3bfc6e5cf
Update with.md
I propose changes to make it clear that CTEs do not guarantee the same results in all places they are used, since the query will be re-executed in each place they are used.
2023-07-18 11:40:57 +01:00
Mikhail Koviazin
4f7fd69883
Added function firstLine to extract the first line from a multiline string
Fixes #51172
2023-07-18 12:18:26 +03:00
Salvatore Mesoraca
14ab1f2a98
Fix SipHash doc
Changes originally made by Robert Schulze (@rschu1ze)
2023-07-18 10:29:47 +02:00
Lloyd-Pottiger
9d11385543
Merge branch 'master' into add-alias-for-today-and-now 2023-07-18 10:29:49 +08:00
Lloyd-Pottiger
56a5446af3 format
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
2023-07-18 10:28:51 +08:00
Alexey Milovidov
f4e095b502
Merge pull request #52149 from ucasfl/array_concat_agg
Add array_concat_agg for compatibility with BigQuery
2023-07-18 03:03:27 +03:00
Alexey Milovidov
4884022fda
Merge branch 'master' into zvonand-issue-49290 2023-07-17 23:03:50 +03:00
SmitaRKulkarni
e4fb9e88f8
Merge branch 'master' into azure_table_function_cluster 2023-07-17 17:23:38 +02:00
vdimir
5de1cfee7d
Merge pull request #51735 from arenadata/ADQM-976 2023-07-17 16:24:11 +02:00
Robert Schulze
e71efe5c5c
Merge branch 'master' into show-index-better-mysql-compat 2023-07-17 16:19:51 +02:00
Andrey Zvonov
d339c22a2f
Merge branch 'master' into zvonand-issue-49290 2023-07-17 16:43:15 +03:00
Smita Kulkarni
195b29b4a0 Addressed comments on docs 2023-07-17 14:53:37 +02:00
robot-ch-test-poll1
89a33c5879
Merge pull request #52176 from FFFFFFFHHHHHHH/add_length_alias
Add OCTET_LENGTH as an alias to length
2023-07-17 13:34:01 +02:00
Kruglov Pavel
df363f444e
Merge pull request #51767 from arenadata/Support-range-nullable
Support for function range of Nullable argument
2023-07-17 12:52:19 +02:00
Dmitry Kardymon
2de9ea6925 Merge remote-tracking branch 'origin/master' into ADQM-982 2023-07-17 10:03:16 +00:00
Lloyd-Pottiger
3636c2a847
Merge branch 'master' into add-alias-for-today-and-now 2023-07-17 14:28:24 +08:00
FFFFFFFHHHHHHH
0cdb1d1466 add docs 2023-07-17 10:52:05 +08:00
FFFFFFFHHHHHHH
0895e47629
Merge branch 'master' into jaccard_similarity 2023-07-17 10:33:10 +08:00
Dmitry Kardymon
a644317f57 Revert "Merge pull request #52129 from ClickHouse/revert-51291-ADQM-868"
This reverts commit 1b9bcae68e, reversing
changes made to 7284749d05.
2023-07-16 18:07:22 +00:00
flynn
7f80f7dcb0
Merge branch 'master' into array_concat_agg 2023-07-17 01:15:24 +08:00
flynn
6899070f95 fix 2023-07-16 09:54:13 +00:00
flynn
f59370e5f9 Fix style 2023-07-16 09:50:29 +00:00
flynn
4955e07326 add docs 2023-07-16 09:27:34 +00:00
flynn
1eaa387da7 update doc 2023-07-16 05:23:15 +00:00
robot-ch-test-poll3
9e7361a0f6
Merge pull request #52135 from ucasfl/alias
Add array_agg as alias of groupArray for PostgreSQL compatibility
2023-07-15 21:14:38 +02:00
robot-ch-test-poll1
3b2b7d75c9
Merge pull request #52094 from zvonand/zvonand-docs-dt-parsing-short-string
Small docs update for DateTime, DateTime64
2023-07-15 19:31:49 +02:00
robot-ch-test-poll1
78994c8a96
Merge pull request #52090 from zvonand/zvonand-docs-22948
Small docs update for toYearWeek() function
2023-07-15 19:31:19 +02:00
flynn
290c145acf Add array_agg as alias of groupArray for PostgreSQL compatibility 2023-07-15 14:53:46 +00:00
Andrey Zvonov
dbdd15686a
Merge branch 'master' into zvonand-issue-49290 2023-07-15 00:53:29 +02:00
Alexey Milovidov
9307e60c20
Revert "Millisecond and microsecond support in date_diff / age functions" 2023-07-14 23:21:26 +03:00
therealnick233
103a689edc
Fixed typo in combinators.md
line 303, 'Jonh' -> 'John'
2023-07-14 18:36:42 +08:00
Lloyd-Pottiger
e4cbece6dd update docs
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
2023-07-14 14:03:19 +08:00
zvonand
f7505f0c77 update docs 2023-07-13 19:41:45 +02:00
Andrey Zvonov
0de7fb5c62
typofix1 2023-07-13 20:12:59 +03:00
Andrey Zvonov
013e46e0ee
Merge branch 'master' into zvonand-docs-22948 2023-07-13 18:02:49 +02:00
zvonand
a87474cee1 rm \n 2023-07-13 17:25:49 +02:00
zvonand
7e1b5d8997 updated docs for toYearWeek() 2023-07-13 17:21:23 +02:00
Andrey Zvonov
a9ae26c146
Merge branch 'master' into zvonand-issue-49290 2023-07-11 16:28:35 +02:00
Robert Schulze
521c993eff
Merge branch 'master' into jaccard_similarity 2023-07-11 10:36:18 +02:00
Dmitry Kardymon
ae69627d87 Merge remote-tracking branch 'origin/master' into ADQM-982 2023-07-11 08:16:21 +00:00
Dmitry Kardymon
cfe846c2ec Merge remote-tracking branch 'origin/master' into Support-range-nullable 2023-07-10 13:29:21 +00:00
Dmitry Kardymon
0cd4b753d6 Merge remote-tracking branch 'origin/master' into ADQM-976 2023-07-10 13:27:45 +00:00
Dmitry Kardymon
3237169c9a Merge remote-tracking branch 'origin/master' into ADQM-868 2023-07-10 13:24:17 +00:00
Dmitry Kardymon
17891ca1eb Add case ins utf8 impl + tests 2023-07-10 09:18:09 +00:00
Andrey Zvonov
c030e9dbe4
Merge branch 'master' into zvonand-issue-49290 2023-07-10 11:01:26 +02:00
Konstantin Ilchenko
3b954a2952
[DOCS] Add REMOVE SAMPLE BY to docs 2023-07-09 14:38:16 +02:00
Alexey Milovidov
19072c9b47
Corrent example about parametric executable UDFs. 2023-07-08 02:03:23 +03:00
DanRoscigno
05b7da7813 add doc note for MongoDB Atlas 2023-07-07 10:32:44 -04:00
Robert Schulze
08b2441784
Merge branch 'master' into jaccard_similarity 2023-07-07 12:41:09 +02:00
Dmitry Kardymon
7255c35edc Add more tests 2023-07-06 19:43:37 +00:00
Robert Schulze
9a295eca46
Incorporate review feedback 2023-07-06 15:03:15 +00:00
Andrey Zvonov
cc0210f760
Merge branch 'master' into zvonand-issue-49290 2023-07-06 11:13:51 +02:00
Dan Roscigno
33a6358bab
Merge branch 'master' into update-acid-docs 2023-07-05 07:29:11 -04:00
Robert Schulze
b3edfbaab6
Update docs 2023-07-05 08:57:14 +00:00
Robert Schulze
966e93b908
Point to existing system tables for alternatives 2023-07-04 19:22:08 +00:00
Robert Schulze
0f68c894f5
Point to existing system tables for alternatives 2023-07-04 17:02:00 +00:00
Robert Schulze
b71043b2c9
Fix field 'non_unique' 2023-07-04 16:57:31 +00:00
Robert Schulze
5c463838b7
Improve compatibility of 'cardinality' field 2023-07-04 16:45:10 +00:00
Robert Schulze
eb86f27482
Document field 'sub_part' 2023-07-04 16:37:15 +00:00
Robert Schulze
6aab7577ff
Document 'packed' field 2023-07-04 16:33:33 +00:00
Robert Schulze
a8511a0be5
Fix description of 'comment' field 2023-07-04 16:31:36 +00:00
Dmitry Kardymon
58f720e24c Merge remote-tracking branch 'clickhouse/master' into Support-range-nullable 2023-07-04 19:22:21 +03:00
Robert Schulze
e9e3f87ed2
SHOW INDEX: Make fields INDEX_TYPE more compatible with MySQL 2023-07-04 16:21:55 +00:00
Dmitry Kardymon
cce06edfa7 Merge remote-tracking branch 'clickhouse/master' into ADQM-868 2023-07-04 19:18:55 +03:00
Robert Schulze
047060f9a4
SHOW INDEX: Make fields COMMENT and INDEX_COMMENT more compatible with MySQL 2023-07-04 16:18:11 +00:00
Robert Schulze
59928cb485
Docs: Fix description of output field NON_UNIQUE for statement SHOW INDEXES 2023-07-04 16:00:53 +00:00
Robert Schulze
3cb459bd04
Docs: Fix description of output field NON_UNIQUE for statement SHOW INDEXES 2023-07-04 15:50:56 +00:00
Dmitry Kardymon
9c8cb9f77e Add comment to docs 2023-07-04 13:20:48 +03:00
Dmitry Kardymon
ed16828b70 Merge remote-tracking branch 'clickhouse/master' into ADQM-868 2023-07-04 08:18:57 +03:00
Robert Schulze
9660291ab3
my fixes 2023-07-03 18:33:59 +00:00
Dmitry Kardymon
16ab84d804 Style fix 2023-07-03 11:50:26 +00:00
Dmitry Kardymon
1a40e30797 Add initcapUtf8: impl + tests 2023-07-03 11:37:55 +00:00
FFFFFFFHHHHHHH
2c09ea0404 add doc 2023-07-02 17:09:52 +08:00
Dmitry Kardymon
1cf021c0b1 Add initcap prototype / tests 2023-06-30 13:11:06 +00:00
Ilya Yatsishin
6b00a3094e
Merge pull request #51494 from ClickHouse/many-fixes-2
Many fixes for CI [2]
2023-06-30 01:01:50 +02:00
DanRoscigno
7d416cbc60 add exception docs for hasAll 2023-06-29 13:39:39 -04:00
Igor Nikonov
def0adf8f4
Merge branch 'master' into many-fixes-2 2023-06-29 10:33:59 +02:00
李扬
40ded2eca0
Update docs/en/sql-reference/functions/string-functions.md
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-06-29 10:19:13 +08:00
李扬
e9bac152e1
Update docs/en/sql-reference/functions/string-functions.md
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-06-29 10:19:04 +08:00
李扬
e2236384d1
Update docs/en/sql-reference/functions/string-functions.md
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-06-29 10:18:54 +08:00
李扬
98966796d0
Update docs/en/sql-reference/functions/string-functions.md
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-06-29 10:18:47 +08:00
Thom O'Connor
29a0220e63
Update functions-for-nulls.md
Fixing broken link to HTML anchor on page
2023-06-28 14:42:01 -06:00
Robert Schulze
eea3c39959
Cosmetics 2023-06-28 18:35:27 +00:00
robot-ch-test-poll4
aa514dc846
Merge pull request #50551 from ClickHouse/fix-ip-aggregate-state
Fix backward compatibility for IP types hashing in aggregate functions
2023-06-28 19:24:04 +02:00
Andrey Zvonov
ae26ff27a1
Merge branch 'master' into zvonand-issue-49290 2023-06-28 12:13:05 +02:00
taiyang-li
70e49cb31c add docs 2023-06-28 11:28:20 +08:00
Alexey Milovidov
0db9d6be37
Merge branch 'master' into alter-table-add-comment 2023-06-27 22:56:22 +03:00
robot-ch-test-poll
eee9fe54a0
Merge pull request #51483 from rschu1ze/docs-join
Docs: Add blog posts to join docs
2023-06-27 16:35:23 +02:00
Robert Schulze
99c9830737
Docs: Add more blog posts to join docs 2023-06-27 13:34:58 +00:00
Nikita Mikhaylov
d24c5ab01f
Merge branch 'master' into fix-ip-aggregate-state 2023-06-27 14:11:26 +02:00
Smita Kulkarni
9734871345 Merge branch 'master' into azure_table_function_cluster 2023-06-27 11:09:44 +02:00
Dan Roscigno
bcb106e138
add missing aggregate functions (#51443)
* add missing aggregate functions

* add sparkBar
2023-06-27 01:39:47 +02:00
Alexey Milovidov
533a279f6c
Merge branch 'master' into alter-table-add-comment 2023-06-26 12:01:34 +03:00
Andrey Zvonov
0b6688ffe4
Merge branch 'master' into zvonand-issue-49290 2023-06-24 12:36:27 +02:00
DanRoscigno
7bde0781b4 missing anchor 2023-06-23 16:05:58 -04:00
DanRoscigno
1f38209de9 add L2SquaredDistance to docs 2023-06-23 14:45:52 -04:00
Rich Raposa
75ea57062a
Merge pull request #51324 from ClickHouse/rfraposa-patch-2
Fix heading of nlp-functions.md
2023-06-23 07:39:01 -06:00
rfraposa
b5d9ed5b0c Alphabetize table functions and engines 2023-06-23 07:16:22 -06:00
Rich Raposa
ffd8183cfa
Fix heading of nlp-functions.md 2023-06-23 06:49:41 -06:00
Robert Schulze
43c97d76bf
Merge pull request #44149 from zvonand/zvonand-implicit-tz
Session time zones
2023-06-23 14:28:49 +02:00
Alexey Milovidov
630e2e7907 Add documentation 2023-06-23 03:22:21 +02:00
Dmitry Kardymon
d2635bff64 Merge remote-tracking branch 'origin/master' into ADQM-868 2023-06-22 19:56:15 +00:00
Thom O'Connor
4b0d5a8a96
Update remote.md
Simplifying this example for remoteSecure():
* no reason to be using a ReplicatedMergeTree example here
* no reason to be setting index_granularity to a default value
2023-06-22 09:30:23 -06:00
Andrey Zvonov
d4316c7189
Merge branch 'master' into zvonand-implicit-tz 2023-06-22 17:23:20 +02:00
Andrey Zvonov
18e7b029d5
Merge branch 'master' into zvonand-issue-49290 2023-06-22 17:20:24 +02:00
Nikolay Degterinsky
0d2b9fd0e5 Add VALID UNTIL clause for users 2023-06-22 02:12:12 +00:00
Dan Roscigno
c856c4a7df
Merge branch 'master' into Docs/ip_addresses 2023-06-21 17:26:27 -04:00
DanRoscigno
c14930bc19 bad path 2023-06-21 13:12:09 -04:00
Andrey Zvonov
b4f2e4020d
Merge branch 'master' into zvonand-implicit-tz 2023-06-21 13:41:35 +02:00
Robert Schulze
06e8590c8e
Merge pull request #50775 from rschu1ze/non-experimental-qpl-deflate
Mark QPL_DEFLATE non-experimental but default: off-by-default
2023-06-21 10:43:16 +02:00
Dan Roscigno
3ccbfc8489
Merge branch 'master' into patch-53 2023-06-20 14:39:52 -04:00
Robert Schulze
bc7df2baca
Merge branch 'master' into non-experimental-qpl-deflate 2023-06-20 20:06:01 +02:00
Dan Roscigno
513b28b451
Update docs/en/sql-reference/statements/alter/skipping-index.md 2023-06-20 13:49:16 -04:00
Denny Crane
ef65367ff0
Update projection.md 2023-06-20 13:59:18 -03:00
Denny Crane
2cca74df68
Update skipping-index.md 2023-06-20 13:56:34 -03:00
Justin de Guzman
af4159e71e
Use better user/pw examples for docs when creating dicts in SQL Console
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-06-20 09:51:11 -07:00
Justin de Guzman
62044d3079
Add info on creating users when creating dicts in SQL Console
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-06-20 09:50:49 -07:00
Justin de Guzman
2718dab7fa
Specify database when creating dicts in docs
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-06-20 09:49:48 -07:00
Justin de Guzman
82e770bf9a
SQL Console must use users with default role for dicts
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-06-20 09:48:40 -07:00
Denny Crane
fe8fbde909
Update index.md 2023-06-20 13:46:55 -03:00
Denny Crane
9e324b4eba
Update skipping-index.md 2023-06-20 13:41:11 -03:00
Denny Crane
a39088c99a
Update column.md 2023-06-20 13:35:45 -03:00
Justin de Guzman
28703ccead
Specify that user/password is required for dicts in SQL Console 2023-06-20 09:00:03 -07:00
Dmitry Kardymon
792cdb6da5 Add millisecond support to age() / add tests 2023-06-20 08:26:59 +00:00
Andrey Zvonov
07191ce10d
Merge branch 'master' into zvonand-implicit-tz 2023-06-20 00:24:53 +02:00
Andrey Zvonov
fc3bbc3501
Update decimal.md 2023-06-20 00:00:16 +03:00
Smita Kulkarni
641d1ecfcc Merge branch 'master' into azure_table_function_cluster 2023-06-19 15:27:21 +02:00
zvonand
ebdbf68262 upd docs 2023-06-19 13:31:35 +02:00
LiuYangkuan
83840da535 Allow using cluster, clusterAllReplicas, remote, and remoteSecure without table name. 2023-06-17 09:58:45 +08:00
zvonand
1c10578f14 update to master 2023-06-16 21:30:47 +02:00
Yakov Olkhovskiy
cf301324fb
Merge branch 'master' into fix-ip-aggregate-state 2023-06-16 12:49:17 -04:00
Dmitry Kardymon
02b5b50e41 Add milli/micro seconds support for date_diff 2023-06-16 12:39:46 +00:00
Kruglov Pavel
f8ddfb1fd8
Merge branch 'master' into allow-skip-empty-files 2023-06-16 13:23:41 +02:00
Andrey Zvonov
00a5df684b
Merge branch 'master' into zvonand-issue-49290 2023-06-16 02:53:07 +02:00
zvonand
4155d13d69 merge master and resolve conflict 2023-06-16 02:20:32 +02:00
zvonand
e60506f41b changes requested in review 2023-06-16 02:16:04 +02:00
Rich Raposa
59201ee3be
Fix redis table function page for nav 2023-06-15 15:26:44 -06:00
Robert Schulze
74cb79769b
Merge pull request #50925 from arenadata/ADQM-812
Implement support of syslog format in the parseDateTimeBestEffort() function
2023-06-15 21:04:50 +02:00
Andrey Zvonov
9e3ddeca34 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into zvonand-issue-49290 2023-06-15 14:21:44 +02:00
Dan Roscigno
ee9faa9be1
Merge pull request #50968 from DerekChia/patch-3
Update delete.md
2023-06-15 07:06:49 -04:00
Kruglov Pavel
7aea4a1f10
Merge branch 'master' into allow-skip-empty-files 2023-06-15 12:07:24 +02:00
Victor Krasnov
11dfd35cd7 Amend the docs following the reviewer's pointers 2023-06-15 10:45:18 +03:00
Dan Roscigno
e75cb90b7d
Update gcs.md
fix nav

closes https://github.com/ClickHouse/clickhouse-docs/issues/1230
2023-06-14 17:56:34 -04:00
Denny Crane
fd01cb7bec
Merge branch 'master' into Docs/ip_addresses 2023-06-14 17:38:48 -03:00
Yakov Olkhovskiy
7f8162e346
add note regarding -MapState 2023-06-14 10:42:20 -04:00
Thom O'Connor
37245783ab
Update mysql.md
Updating mysql table function with example for copying data from MySQL into a ClickHouse MergeTree table
2023-06-14 08:03:18 -06:00
Derek Chia
811f6c1532
Update delete.md 2023-06-14 20:50:47 +08:00
Andrey Zvonov
2f572b7211
Merge branch 'master' into zvonand-issue-49290 2023-06-14 14:22:32 +02:00
Derek Chia
08cd94e826
Update delete.md
LWD is not supported in table with projection
2023-06-14 12:57:50 +08:00
pufit
91d794cf0a
Merge pull request #50150 from JackyWoo/support_redis
Add Redis table Engine/Function
2023-06-13 21:34:14 -04:00
Victor Krasnov
f01b96f9f9
Merge branch 'master' into ADQM-812 2023-06-13 19:52:10 +03:00
avogar
2e1f56ae33 Address comments 2023-06-13 14:43:50 +00:00
Smita Kulkarni
ab020f9311 Fixed typo 2023-06-13 15:48:42 +02:00
Smita Kulkarni
46c23b3f8d Fixed docs check fails 2023-06-13 15:46:54 +02:00
SmitaRKulkarni
7a82acf5ee
Merge branch 'master' into Fix_heading_sidebar_azureBlobStorage 2023-06-13 15:22:03 +02:00
Smita Kulkarni
9c939b2f3d Fix heading and sidebar for azureBlobStorage table function 2023-06-13 10:54:54 +02:00
Smita Kulkarni
8650586131 Added tests and docs for azureBlobStorageCluster 2023-06-13 10:51:35 +02:00
Victor Krasnov
b3ef2a4860 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-812 2023-06-13 03:55:38 +00:00
JackyWoo
9d548315e8
Merge branch 'master' into support_redis 2023-06-13 09:34:32 +08:00
Kruglov Pavel
e4838725e3
Merge branch 'master' into allow-skip-empty-files 2023-06-12 20:03:23 +02:00
Robert Schulze
128e8c20d5
Merge pull request #50709 from arenadata/ADQM-867
Added numeric arguments support to some Date/DateTime conversion functions
2023-06-12 17:08:14 +02:00
Robert Schulze
3617316026
Merge branch 'master' into non-experimental-qpl-deflate 2023-06-12 16:01:45 +02:00
Kruglov Pavel
873cee9451
Merge pull request #49626 from alekseygolub/renamefile
Added option to rename files, loaded via TableFunctionFile, after successful processing
2023-06-12 15:01:22 +02:00
JackyWoo
a1641aa25d
Merge branch 'master' into support_redis 2023-06-12 09:53:06 +08:00
Dmitry Kardymon
9fd3f197c6
Merge branch 'master' into ADQM-867 2023-06-11 22:06:37 +03:00
Dmitry Kardymon
61fa694414 Fix boundery -> boundary in docs 2023-06-11 19:03:57 +00:00
Robert Schulze
8222861f2e
Merge remote-tracking branch 'rschu1ze/master' into non-experimental-qpl-deflate 2023-06-11 14:39:30 +00:00
Smita Kulkarni
e6c2a6d13d Added example for table engine and fixed typos 2023-06-11 09:55:20 +02:00
DanRoscigno
05d4baf1e7 edits 2023-06-10 18:20:39 -04:00
Smita Kulkarni
78c32a204c Updated docs for azureBlobStorage Table function & engine 2023-06-10 23:00:59 +02:00
alesapin
572c9dec4e
Merge pull request #50812 from ClickHouse/Rename_azure_blob_table_function
Rename azure_blob_storage to azureBlobStorage
2023-06-10 18:10:59 +02:00
Robert Schulze
c538506f2e
More fixes 2023-06-09 20:50:17 +00:00
Smita Kulkarni
a8b579a856 Rename azure_blob_storage to azureBlobStorage 2023-06-09 19:28:06 +02:00
YalalovSM
d92437b9d1
Merge branch 'master' into master 2023-06-09 22:10:14 +05:00
pufit
55d228e78e
Merge branch 'master' into support_redis 2023-06-09 11:45:12 -04:00
Victor Krasnov
9b70836b6c Add a syslog format example to the documentation 2023-06-09 16:07:07 +03:00
Victor Krasnov
3c1b02a37b Rectify the existing example of the year omission 2023-06-09 15:43:36 +03:00
Robert Schulze
1aa158909e
enable_qpl_deflate_codec --> enable_deflate_qpl_codec 2023-06-09 12:43:33 +00:00
jinjunzh
f1192d59af
refine patch according to comments 2023-06-09 12:43:15 +00:00
jinjunzh
056ca4f555
Add extensive testing cases for deflate qpl codec 2023-06-09 12:42:59 +00:00
Victor Krasnov
a21bd4ec62 Elucidate the syslog case in the documentation 2023-06-09 15:33:51 +03:00
Victor Krasnov
b740a08b6e Fix the docs 2023-06-09 15:05:23 +03:00
Victor Krasnov
32d781c058 Align the documentation with the new feature 2023-06-09 14:51:26 +03:00
Dmitry Kardymon
f437d5d8b5 Fix toDateTimeOrZero description 2023-06-09 11:27:27 +00:00
alesapin
2fec796e73
Merge pull request #50604 from ClickHouse/azure_table_function
Azure table function
2023-06-09 11:44:04 +02:00
alesapin
7ac4349d96 Hacking azure function 2023-06-09 11:21:10 +02:00
Dmitry Kardymon
5c76a8882e Fix docs by pull request comments 2023-06-09 09:12:07 +00:00
YalalovSM
094d661701
Update projection.md
Document using keywords IF EXISTS/IF NOT EXISTS with projections
2023-06-09 09:26:00 +05:00
Robert Schulze
42914484b3
Merge pull request #50713 from rschu1ze/show-indices
Add SHOW INDICES as alias for statement SHOW INDEX/INDEXES/KEYS
2023-06-09 00:37:29 +02:00
zvonand
a1b1e12e5b upd spell 2023-06-08 18:38:51 +02:00
Andrey Zvonov
d95be4162f
Merge branch 'master' into zvonand-implicit-tz 2023-06-08 18:34:45 +03:00
zvonand
4d4e5c690e update docs spelling check failed 2023-06-08 17:10:51 +02:00
Robert Schulze
6fcc4158d2
Add SHOW INDICES as alias for statement SHOW INDEX/INDEXES/KEYS 2023-06-08 12:51:33 +00:00
Kruglov Pavel
bf28074d32
Merge branch 'master' into allow-skip-empty-files 2023-06-08 12:36:18 +02:00
zvonand
bfdb18619c small docs udpate 2023-06-07 19:25:33 +02:00
Robert Schulze
b83f0fff7d
Merge branch 'master' into default-granularity 2023-06-07 14:39:56 +02:00
János Benjamin Antal
35ef14482d Fix keyword capitalization 2023-06-07 10:13:13 +00:00
János Benjamin Antal
e0bc695e2d Use correct link format 2023-06-07 10:07:35 +00:00
robot-ch-test-poll3
9c72449a34
Merge pull request #50607 from den-crane/patch-25
Doc. Clarification about ArgMax/Min behavior
2023-06-07 11:34:12 +02:00
Robert Schulze
4050b637f1
ALTER TABLE ADD INDEX: Add default GRANULARITY argument for secondary indexes
- Related to #45451, which provides a default GRANULARITY when the
  skipping index is created in CREATE TABLE.
2023-06-07 09:04:24 +00:00
Rich Raposa
5f48f02023
Update index.md 2023-06-06 16:10:22 -06:00
Rich Raposa
195cc51c43
Style fix 2023-06-06 15:51:03 -06:00
Kruglov Pavel
b83b057045
Merge branch 'master' into renamefile 2023-06-06 19:38:05 +02:00
Denny Crane
67a6623a38
Update argmin.md 2023-06-06 10:32:10 -03:00
Denny Crane
e63fc91e73
Update argmax.md 2023-06-06 10:30:10 -03:00
Denny Crane
496bc25bff
Update docs/en/sql-reference/aggregate-functions/reference/argmin.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:26:35 -03:00
Denny Crane
d6ee50577a
Update argmin.md 2023-06-06 10:25:32 -03:00
Denny Crane
9a1f6ac719
Update argmax.md 2023-06-06 10:20:42 -03:00
Denny Crane
834918dc1c
Update docs/en/sql-reference/aggregate-functions/reference/argmin.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:19:08 -03:00
Denny Crane
41be2fcbc7
Update docs/en/sql-reference/aggregate-functions/reference/argmin.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:18:34 -03:00
Denny Crane
f992d10ae7
Update docs/en/sql-reference/aggregate-functions/reference/argmin.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:18:22 -03:00
Denny Crane
5308abb93a
Update docs/en/sql-reference/aggregate-functions/reference/argmin.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:18:13 -03:00
Denny Crane
1a517bb332
Update docs/en/sql-reference/aggregate-functions/reference/argmax.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:17:55 -03:00
Denny Crane
cda9535554
Update docs/en/sql-reference/aggregate-functions/index.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:17:46 -03:00
Denny Crane
2a9792cebd
Update docs/en/sql-reference/aggregate-functions/reference/argmax.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:17:21 -03:00
Denny Crane
5d7b8b3d13
Update docs/en/sql-reference/aggregate-functions/index.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:17:04 -03:00
Denny Crane
4ca902dddd
Update docs/en/sql-reference/aggregate-functions/index.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-06-06 10:16:56 -03:00
Denny Crane
5ffbe2d9d4
Update docs/en/sql-reference/data-types/ipv6.md
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-06-06 10:14:31 -03:00
Dan Roscigno
f691fe787b
Merge branch 'master' into Docs/ip_addresses 2023-06-06 09:12:31 -04:00
Denny Crane
15fcad1909
Update argmax.md 2023-06-05 16:57:42 -03:00
Denny Crane
e37cd36db7
Update argmin.md 2023-06-05 16:57:28 -03:00
Denny Crane
b4c0d68d0f
Update index.md 2023-06-05 16:53:37 -03:00
Denny Crane
3e444790af
Update index.md 2023-06-05 16:52:51 -03:00
Denny Crane
a175e4628e
Update argmax.md 2023-06-05 16:44:42 -03:00
Denny Crane
4098653977
Update argmin.md 2023-06-05 16:43:47 -03:00
Denny Crane
113ce8c757
Update argmin.md 2023-06-05 16:43:07 -03:00
Denny Crane
6741a6d7c8
Update argmax.md 2023-06-05 16:21:09 -03:00
Denny Crane
4da37a7319
Update argmax.md 2023-06-05 16:19:50 -03:00
johanngan
c0f162c5b6 Add dictGetAll function for RegExpTreeDictionary
This function outputs an array of attribute values from all regexp nodes
that matched in a regexp tree dictionary. An optional final argument can
be passed to limit the array size.
2023-06-04 23:46:04 -05:00
robot-clickhouse-ci-1
21e3b6df57
Merge pull request #50556 from den-crane/patch-49
Doc. A note for first_value/last_value
2023-06-05 02:59:20 +02:00
robot-clickhouse
a27de9a054
Merge pull request #50555 from den-crane/patch-31
Doc. Example for -Map combinator
2023-06-05 02:59:15 +02:00
Denny Crane
136efd6825
Update datetime64.md 2023-06-04 18:58:24 -03:00
Denny Crane
045573e925
Update datetime64.md 2023-06-04 18:10:34 -03:00
Denny Crane
bcd89cbbf2
Update first_value.md 2023-06-04 17:38:38 -03:00
Denny Crane
fb21a6907a
Update last_value.md 2023-06-04 17:38:05 -03:00
Denny Crane
bd7a593dd3
Update first_value.md 2023-06-04 17:34:46 -03:00
Denny Crane
2e26e84909
Update last_value.md 2023-06-04 17:34:31 -03:00
Denny Crane
0d9728410f
Update first_value.md 2023-06-04 17:31:12 -03:00
Denny Crane
7ca719c73a
Update summap.md 2023-06-04 17:19:07 -03:00
Denny Crane
d93ee14e32
Update summap.md 2023-06-04 17:15:16 -03:00
Denny Crane
d81884be82
Update summap.md 2023-06-04 17:13:25 -03:00
Denny Crane
7c64b1f266
Update combinators.md 2023-06-04 16:32:22 -03:00
Denny Crane
424a043c32
Update map.md 2023-06-04 16:22:26 -03:00
Denny Crane
6fe0aa531e
Update summap.md 2023-06-04 16:18:53 -03:00
Dmitry Kardymon
c032dee3b4 Merge remote-tracking branch 'origin/master' into ADQM-867 2023-06-04 18:45:47 +00:00
Denny Crane
2cc457141e clean documentation of ip4 ip6 from domains 2023-06-04 15:32:54 -03:00
Alexey Milovidov
054b908b9c
Merge pull request #50416 from ClickHouse/revert-49656-rs/entropy-learned-hashing
Revert "Add SQL functions for Entropy Learned Hashing"
2023-06-03 06:50:48 +03:00
Alexey Milovidov
129fe9158f
Merge pull request #50486 from Algunenano/system_on_cluster
Mention ON CLUSTER options for SYSTEM queries
2023-06-03 06:48:54 +03:00
Dan Roscigno
a84eba6ccf
Merge pull request #50490 from DanRoscigno/docs-svg-funxtion
add svg function docs
2023-06-02 13:20:52 -04:00
Kruglov Pavel
f87f98fb80
Merge pull request #47409 from Avogar/random-structure
Add new function generateRandomStructure
2023-06-02 18:50:35 +02:00
DanRoscigno
71c5b1d9c6 add svg function docs 2023-06-02 12:42:35 -04:00
Raúl Marín
dcd5579851 Mention ON CLUSTER options for SYSTEM queries 2023-06-02 16:51:04 +02:00
Robert Schulze
2a4f1c8275
Fix typos 2023-06-02 14:00:57 +00:00
Robert Schulze
bfcd9dde61
Merge remote-tracking branch 'rschu1ze/master' into update-function-docs 2023-06-02 13:41:01 +00:00
Robert Schulze
c37a071004
Merge remote-tracking branch 'rschu1ze/master' into update-function-docs 2023-06-02 13:39:15 +00:00
Robert Schulze
12993890a8
Merge branch 'master' into revert-49656-rs/entropy-learned-hashing 2023-06-02 15:32:33 +02:00
Robert Schulze
54872f9e7e
Typos: Follow-up to #50476 2023-06-02 13:28:09 +00:00
Robert Schulze
a22bb07fbd
Merge remote-tracking branch 'rschu1ze/master' into fix-typo-check-on-nested-docs 2023-06-02 12:33:16 +00:00
Robert Schulze
65cc92a78d
CI: Fix aspell on nested docs 2023-06-02 12:24:41 +00:00
Dmitry Kardymon
fa5f890a7a Added ru function descriptions (docs) 2023-06-02 12:03:50 +00:00
Robert Schulze
572f15b2cd
Fix typo 2023-06-02 11:14:52 +00:00
Robert Schulze
f6da66cbb8
Fix some typos 2023-06-02 09:41:52 +00:00
JackyWoo
7cc37ab4b8 add redis table engine/function docs 2023-06-02 10:05:54 +08:00
DanRoscigno
6b2c906dfd add docs for boundingRatio 2023-06-01 19:03:35 -04:00
Andrey Zvonov
2e427ee028
Merge branch 'master' into zvonand-implicit-tz 2023-06-02 01:15:56 +03:00
DanRoscigno
88bf4e49d4 update for min_chunk_bytes_for_parallel_parsing 2023-06-01 17:40:40 -04:00
Dan Roscigno
bd047ed9e0
Update order-by.md
add a note that ORDER BY sorting is case sensitive.  

closes https://github.com/ClickHouse/clickhouse-docs/issues/81
2023-06-01 14:16:49 -04:00
Dan Roscigno
d302eae85e
Merge pull request #50433 from DanRoscigno/add-explain-video-to-docs
add explain video to docs
2023-06-01 10:31:38 -04:00
Dmitry Kardymon
54d526c75c Add cast type supprt to DateTimeTransformImpl 2023-06-01 14:22:57 +00:00
Robert Schulze
45b1fcdeda
Merge pull request #50315 from arenadata/ADQM-810
Add new function toLastDayOfWeek()
2023-06-01 16:19:14 +02:00
DanRoscigno
97e120ee3c add explain video to docs 2023-06-01 09:31:05 -04:00
Alexander Tokmakov
9a2b3afb7e
Revert "Fix msan issue in keyed siphash" 2023-06-01 15:02:32 +03:00
Robert Schulze
08d98329b0
Revert "Add SQL functions for Entropy Learned Hashing" 2023-06-01 10:12:09 +02:00
avogar
0b62be649f Add docs, fix style 2023-05-31 17:52:29 +00:00
Kruglov Pavel
4d1b5cc89f
Merge branch 'master' into renamefile 2023-05-31 13:25:11 +02:00
Robert Schulze
c5343679df
Merge branch 'master' into msan-siphash-keyed 2023-05-31 09:05:24 +02:00
Robert Schulze
f171ad93bc
Merge pull request #49656 from ClickHouse/rs/entropy-learned-hashing
Add SQL functions for Entropy Learned Hashing
2023-05-31 08:26:57 +02:00
Robert Schulze
fc157b3dad
Merge branch 'master' into msan-siphash-keyed 2023-05-30 21:30:33 +02:00
Kruglov Pavel
f863dee8e7
Merge branch 'master' into renamefile 2023-05-30 12:26:40 +02:00
Andrey Zvonov
87fc780c14
Merge branch 'master' into zvonand-implicit-tz 2023-05-30 13:13:46 +03:00
sslouis
a278d13043
Update first_value.md:remove redundant 's'
remove redundant 's'
2023-05-30 10:09:12 +08:00
nikitakeba
f604fb82b2
Merge branch 'master' into add-reading-from-archives-support 2023-05-29 23:34:19 +03:00
Nikita Keba
1556010166 add doc for reading from archives 2023-05-29 17:36:34 +00:00
Robert Schulze
516fa1c375
Merge branch 'master' into rs/entropy-learned-hashing 2023-05-29 17:40:14 +02:00
alekseygolub
63225b37a2
Merge branch 'ClickHouse:master' into renamefile 2023-05-29 16:52:41 +03:00
Victor Krasnov
0ad5b9f598 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-810-dev 2023-05-29 08:26:26 +00:00
robot-ch-test-poll
d2f4b4d395
Merge pull request #50250 from johanngan/regexptree-doc-tweaks
Clean up regexp tree dictionary documentation
2023-05-29 02:08:47 +02:00
Nikita Mikhaylov
5de6dc87ec
Merge branch 'master' into usernam3-sample-clause-links-fix 2023-05-27 14:38:34 +02:00
Robert Schulze
ac1dc7237e
Update docs 2023-05-26 15:37:33 +00:00
Robert Schulze
f49160ef4e
Build partial key positions from entire training data 2023-05-26 15:27:56 +00:00
Ilya Yatsishin
3635a7bf5a
Merge pull request #50261 from ClickHouse/fix-doc-with-fill-by-sorting-prefix
Fixes for WITH FILL grouped by sorting prefix
2023-05-26 14:03:52 +02:00
Robert Schulze
2298eeb2b2
Merge branch 'master' into rs/entropy-learned-hashing 2023-05-26 12:04:49 +02:00
Igor Nikonov
c6c4ded5e1
Fixes for WITH FILL grouped by sorting prefix 2023-05-26 10:12:34 +02:00
Robert Schulze
bc869eac7b
Merge branch 'master' into msan-siphash-keyed 2023-05-26 00:18:07 +02:00
alekseygolub
36e8f13242 Added docs for feature 2023-05-25 20:10:02 +00:00
johanngan
de3b08aa5b Clean up regexp tree dictionary documentation
dictGetOrNull() relies on IDictionary::hasKeys(), which
RegExpTreeDictionary doesn't implement, so this probably never worked.
If you try to use it, an exception is thrown. The docs shouldn't
indicate that this is supported.

Also fix a markdown hyperlink in the docs.
2023-05-25 14:35:24 -05:00
Stanislav Dobrovolschii
8c4f0c763e Update SAMPLE clause documentation links 2023-05-25 18:52:38 +00:00
Robert Schulze
c4f91a1c45
Merge branch 'master' into space 2023-05-25 19:56:20 +02:00
Robert Schulze
ad4a21034f
Fix msan issue in keyed siphash
Issue:
https://s3.amazonaws.com/clickhouse-test-reports/0/ffdd91669471f4934704f98f0191524496b4e85b/fuzzer_astfuzzermsan/report.html

Repro:
SELECT hex(sipHash128ReferenceKeyed((toUInt64(2), toUInt64(-9223372036854775807)))) GROUP BY (toUInt64(506097522914230528), toUInt64(now64(2, NULL + NULL), 1084818905618843912)), toUInt64(2), NULL + NULL, char(-2147483649, 1)

Minimal repro:
SELECT sipHash64Keyed((2::UInt64, toUInt64(2)), 4) GROUP BY toUInt64(2)
2023-05-25 17:52:03 +00:00
Igor Nikonov
1c0b02c3c4
Merge pull request #49503 from ClickHouse/fill_with_by_sorting_prefix_2
WITH FILL by sorting prefix
2023-05-25 12:37:40 +02:00
Sorck
034a8bd6b3
Fix: typo in last_value.md (#50148)
Correct typo in page title

Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-05-24 22:14:01 +02:00
Dan Roscigno
0219f78630
Testing algolia index 2023-05-24 12:40:12 -04:00
Dan Roscigno
9b014eb1d2
Merge pull request #49512 from DanRoscigno/polygon-docs
Add docs for polygon functions
2023-05-24 10:37:01 -04:00
DanRoscigno
9f349e2102 add params 2023-05-24 10:35:20 -04:00
Dan Roscigno
c5b521498a
Merge pull request #50191 from den-crane/patch-69
Doc. Remove excessive tuple from ip_trie description
2023-05-24 10:15:28 -04:00
Denny Crane
8a00be69b3
Update index.md 2023-05-24 10:40:33 -03:00
Dan Roscigno
9082e7feec
Merge branch 'master' into url-function-docs 2023-05-24 09:03:01 -04:00
Dan Roscigno
c2f6999aca
Merge pull request #50157 from den-crane/Doc/greatest_least
Doc. Move least/greatest to conditional-functions
2023-05-24 09:01:58 -04:00
Dan Roscigno
c53bdc6927
Merge branch 'master' into polygon-docs 2023-05-24 08:56:46 -04:00
Igor Nikonov
2f5ed81e0d
Merge branch 'master' into fill_with_by_sorting_prefix_2 2023-05-24 14:40:44 +02:00
Victor Krasnov
99a7967f11 Amend the dicumentation with regard to toLastDayOfWeek 2023-05-24 11:58:39 +00:00
Kruglov Pavel
9545100c9e
Merge pull request #45427 from attack204/urlCluster
Add urlCluster table function and refactor all *Cluster table functions
2023-05-24 13:32:56 +02:00
DanRoscigno
48080468ce add description 2023-05-23 19:13:11 -04:00
DanRoscigno
3edffa3ced add examples 2023-05-23 19:09:32 -04:00
Robert Schulze
889489b02e
Merge branch 'master' into space 2023-05-23 23:18:19 +02:00
Igor Nikonov
e9c86527b0
Merge branch 'master' into fill_with_by_sorting_prefix_2 2023-05-23 22:58:21 +02:00
Igor Nikonov
fbeba9b591 Documentation 2023-05-23 22:55:58 +02:00
Denny Crane
4a9b269cc4 move least/greatest to conditional-functions 2023-05-23 16:09:54 -03:00
Denny Crane
483a3cc5b1
Update comparison-functions.md 2023-05-23 15:59:08 -03:00
DanRoscigno
fcd6cb1f80 add descriptions 2023-05-23 12:53:53 -04:00
Dan Roscigno
0c3392662c
Merge branch 'master' into url-function-docs 2023-05-23 08:42:13 -04:00
Robert Schulze
f4c73e94d2
Merge pull request #49989 from arenadata/ADQM-811
Add support of Date|Date32 arguments to the toUnixTimestamp() function
2023-05-23 08:55:56 +02:00
Timur Solodovnikov
1f0250f730 Updating url table functions docs 2023-05-22 13:00:38 -07:00
avogar
4f85d6a1bb Merge branch 'master' of github.com:ClickHouse/ClickHouse into random-structure 2023-05-22 19:43:24 +00:00
avogar
88e4c93abc Merge branch 'master' of github.com:ClickHouse/ClickHouse into urlCluster 2023-05-22 19:19:57 +00:00
Dan Roscigno
bb91e3ac2e
Merge pull request #50106 from ClickHouse/DanRoscigno-patch-5
Dan roscigno patch 5
2023-05-22 13:41:03 -04:00
DanRoscigno
eb7b5a5bb7 add more info to NLP docs 2023-05-22 13:02:39 -04:00
Dan Roscigno
ebff47ad3a
Update nlp-functions.md 2023-05-22 12:14:23 -04:00
Nikolay Degterinsky
d4b89cb643
Merge pull request #49356 from Ziy1-Tan/vcol
Support for `_path` and `_file` virtual columns for table function `url`.
2023-05-22 18:10:32 +02:00
Robert Schulze
df436b2cd4
Spark compatibility: Add new function space() 2023-05-22 14:52:51 +00:00
Kruglov Pavel
b5cad024e0
Merge branch 'master' into urlCluster 2023-05-22 14:59:34 +02:00
Victor Krasnov
a7b641134a Follow the reviewer's recommendations regarding the documentation 2023-05-22 08:28:11 +00:00
Han Fei
2625696591
Merge branch 'master' into hanfei/regexp-doc 2023-05-21 23:42:01 +02:00
Robert Schulze
2a9ff30a7f
Merge pull request #49380 from azat/dict/hashed-memory
Improve memory usage and speed of SPARSE_HASHED/HASHED dictionaries
2023-05-21 15:46:41 +02:00
Robert Schulze
491cf8b6e1
Fix minor mistakes 2023-05-21 13:43:05 +00:00
Robert Schulze
9d9d4e3d62
Some fixups 2023-05-21 13:40:52 +00:00
Robert Schulze
312f751503
Uppercase remaining SQL keywords 2023-05-21 13:08:55 +00:00
Alexey Milovidov
2323542e47
Merge pull request #50022 from ClickHouse/geo-types-production-ready
Geo types are production ready
2023-05-20 02:02:23 +03:00
zvonand
4ab370819a Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-implicit-tz 2023-05-19 23:42:32 +02:00
zvonand
7dccb51bc0 fix conflict and update 2023-05-19 23:40:51 +02:00
Dan Roscigno
1ded6d6409
Update grant.md 2023-05-19 16:53:26 -04:00
Dan Roscigno
1ef93e85aa
Merge branch 'master' into hanfei/regexp-doc 2023-05-19 14:23:23 -04:00
Alexey Milovidov
f5506210d6 Geo types are production ready 2023-05-19 12:43:55 +02:00
Azat Khuzhin
2b240d3721 Improve documentation for HASHED/SPARSE_HASHED/COMPLEX_KEY_HASHED/COMPLEX_KEY_SPARSE_HASHED
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-19 06:07:21 +02:00
Azat Khuzhin
2996b38606 Add ability to configure maximum load factor for the HASHED/SPARSE_HASHED layout
As it turns out, HashMap/PackedHashMap works great even with max load
factor of 0.99. By "great" I mean it least it works faster then
google sparsehash, and not to mention it's friendliness to the memory
allocator (it has zero fragmentation since it works with a continuious
memory region, in comparison to the sparsehash that doing lots of
realloc, which jemalloc does not like, due to it's slabs).

Here is a table of different setups:

settings                         | load (sec) | read (sec) | read (million rows/s) | bytes_allocated | RSS
-                                | -          | -          | -                     | -               | -
HASHED upstream                  | -          | -          | -                     | -               | 35GiB
SPARSE_HASHED upstream           | -          | -          | -                     | -               | 26GiB
-                                | -          | -          | -                     | -               | -
sparse_hash_map glibc hashbench  | -          | -          | -                     | -               | 17.5GiB
sparse_hash_map packed allocator | 101.878    | 231.48     | 4.32                  | -               | 17.7GiB
PackedHashMap 0.5                | 15.514     | 42.35      | 23.61                 | 20GiB           | 22GiB
hashed 0.95                      | 34.903     | 115.615    | 8.65                  | 16GiB           | 18.7GiB
**PackedHashMap 0.95**           | **93.6**   | **19.883** | **10.68**             | **10GiB**       | **12.8GiB**
PackedHashMap 0.99               | 26.113     | 83.6       | 11.96                 | 10GiB           | 12.3GiB

As it shows, PackedHashMap with 0.95 max_load_factor, eats 2.6x less
memory then SPARSE_HASHED in upstream, and it also 2x faster for read!

v2: fix grower
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-19 06:07:21 +02:00
Denny Crane
94fe224935
Update partition.md 2023-05-18 10:06:59 -03:00
Victor Krasnov
3c68d63213 Amend the toUnixTimestamp function documentation 2023-05-18 09:11:48 +00:00
Han Fei
549af4d351 address comments 2023-05-17 21:23:32 +02:00
Kruglov Pavel
4530f38fdf
Merge branch 'master' into urlCluster 2023-05-16 16:21:23 +02:00
Han Fei
7df0e9d933 fix broken link 2023-05-16 15:33:08 +02:00
Han Fei
a40d86b921
Update docs/en/sql-reference/dictionaries/index.md
Co-authored-by: Sergei Trifonov <svtrifonov@gmail.com>
2023-05-16 11:22:42 +02:00
Han Fei
ed5906f15d
Update docs/en/sql-reference/dictionaries/index.md
Co-authored-by: Sergei Trifonov <svtrifonov@gmail.com>
2023-05-16 11:22:31 +02:00
Han Fei
31b8e3c489
Update docs/en/sql-reference/dictionaries/index.md
Co-authored-by: Sergei Trifonov <svtrifonov@gmail.com>
2023-05-16 11:22:24 +02:00
Han Fei
e4e473ef30
Update docs/en/sql-reference/dictionaries/index.md
Co-authored-by: Sergei Trifonov <svtrifonov@gmail.com>
2023-05-16 11:22:14 +02:00
Han Fei
29aa960377 refine docs for regexp tree dictionary 2023-05-16 09:07:35 +02:00
Vitaly Baranov
bf3336a84e
Merge pull request #47640 from ilejn/row_policy_template
Row policy for database
2023-05-15 20:05:15 +02:00
avogar
f9e0eb47d7 Merge branch 'master' of github.com:ClickHouse/ClickHouse into urlCluster 2023-05-15 16:35:24 +00:00
avogar
eef0a433e5 Add note about possible huge output 2023-05-15 11:24:18 +00:00
avogar
aa7ab1f23b Fix comments 2023-05-15 11:20:03 +00:00
robot-clickhouse
bec4edad65
Merge pull request #49856 from darkkeks/fix-date-time-functions-toc
[docs] Remove "example" section from date-time-functions page toc
2023-05-14 23:43:00 +02:00
Ilya Golshtein
7fa6ea4ccc row policy template: tests and code cleanup, code review changes 2023-05-13 22:30:02 +00:00
Nikolay Degterinsky
a2e7c77fe2
Merge pull request #49860 from ucasfl/doc
update doc
2023-05-13 23:26:40 +02:00
flynn
f775a466f7 update doc 2023-05-13 16:12:51 +00:00
Robert Schulze
c4f7c3daa1
Merge branch 'master' into rs/entropy-learned-hashing 2023-05-13 17:33:12 +02:00
Robert Schulze
0d9a6b5545
Update QPL docs 2023-05-13 13:26:47 +00:00
darkkeks
2b793e3a14 [docs] Remove "example" section from date-time-functions page toc 2023-05-13 16:22:17 +03:00
Alexey Milovidov
6df457dcaf
Merge pull request #49811 from jinjunzh/iaadeflate_swpath_compat
qpl_deflate codec lower the minimum SIMD version to SSE 4.2
2023-05-13 04:21:54 +03:00
avogar
602b9a740e Make better, allow generateRandom without structure argument 2023-05-12 19:39:33 +00:00
Robert Schulze
f011421f32
Merge pull request #49825 from den-crane/patch-66
Doc. Note about why Google CityHash <> cityHash64
2023-05-12 20:01:58 +02:00
Yakko Majuri
eb6cbe63ee
Minor correction to example in COMMENT COLUMN 2023-05-12 11:54:53 -03:00
Robert Schulze
5133597661
+m 2023-05-12 16:51:47 +02:00
Robert Schulze
9d34233e65
Merge branch 'master' into iaadeflate_swpath_compat 2023-05-12 16:39:17 +02:00
Robert Schulze
5235f52de3
Small rewrite, removed note about farm hash (it seemed fragile: https://github.com/ClickHouse/ClickHouse/issues/8354#issuecomment-974808920) 2023-05-12 16:38:32 +02:00
jinjunzh
e72a6fe973 qpl-deflate codec lower the minimum SIMD version to SSE 4.2 2023-05-12 09:56:01 -04:00
DanRoscigno
0b9e575588 uplevel UDFs and link 2023-05-12 08:05:38 -04:00
Denny Crane
051456ba92
Update hash-functions.md 2023-05-12 08:33:27 -03:00
Denny Crane
47b27ca5fb
Update hash-functions.md 2023-05-12 08:23:02 -03:00
Dan Roscigno
56a563f2bd
Merge pull request #49810 from DanRoscigno/doc-greatest-least
add greatest() and least() docs
2023-05-12 05:52:01 -04:00
Han Fei
07341a04fd
Merge pull request #49666 from hanfei1991/hanfei/regexp-dict-read
Support `dictionary` table function for `RegExpTreeDictionary`
2023-05-12 11:40:46 +02:00
DanRoscigno
11f78fed2b fix markdown spaces 2023-05-11 21:40:47 -04:00
DanRoscigno
a14ad025ee add greatest and least docs 2023-05-11 21:33:36 -04:00
zvonand
60b69601e9 update docs 2023-05-12 00:27:11 +02:00
Han Fei
ef74e64336 address comments 2023-05-11 22:18:08 +02:00
Robert Schulze
37c1b1aa58
Some fixups 2023-05-11 18:49:05 +00:00
avogar
3ee8de792c Merge branch 'master' of github.com:ClickHouse/ClickHouse into urlCluster 2023-05-11 12:46:20 +00:00
avogar
9d1ee044b0 Update example 2023-05-11 12:02:00 +00:00
avogar
604bd24995 Refactor, remove no more needed arguments 2023-05-11 11:58:08 +00:00
zvonand
ecd0b4cc06 update settings from master 2023-05-11 00:37:58 +02:00
avogar
9096f62efc Merge branch 'master' of github.com:ClickHouse/ClickHouse into random-structure 2023-05-10 18:46:19 +00:00
vdimir
1b7f54e886
Merge pull request #46467 from bigo-sg/first_value 2023-05-10 14:56:14 +02:00
zvonand
7762dde325 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-implicit-tz 2023-05-10 14:49:17 +02:00
Roman Vasin
632c0eeefc
Add support of temporary tables in FROM part of ATTACH|REPLACE PARTITION FROM (#49436)
* Add temp tables after FROM

* Resolve works fine with temp and non-temp tables

* Add usage of temporary table in  00626_replace_partition_from_table test

* Update documentation

* Add tests for ReplicatedMergeTree

* Move tests into 02731_replace_partition_from_temporary_table
2023-05-10 15:25:12 +03:00
Robert Schulze
bf3eacf697
Merge pull request #49730 from ClickHouse/rs/docs-fix-sidebar
Docs: Fix sidebar label for dictionary table function
2023-05-10 13:54:29 +02:00
Andrey Zvonov
289ea8a662
Merge branch 'master' into zvonand-implicit-tz 2023-05-10 13:42:36 +02:00
Robert Schulze
405e371aca
Docs: Fix sidebar label for dictionary table function 2023-05-10 11:18:15 +00:00
Andrey Zvonov
9237b904be
Merge branch 'master' into zvonand-implicit-tz 2023-05-10 01:25:33 +02:00
alekar
605991d4d5
Merge branch 'master' into 48716 2023-05-09 13:38:11 -07:00
larryluogit
2341c5e6a3
Merge branch 'master' into saveIntervals 2023-05-08 12:49:21 -04:00
Robert Schulze
93a2b44702
Add docs 2023-05-08 13:11:21 +00:00
Robert Schulze
d8d2b0af76
Merge pull request #49466 from ucasfl/str_to_map
add alias str_to_map and mapFromString for extractKeyValuePairs
2023-05-08 10:11:06 +02:00
Dan Roscigno
0830153a52
Merge pull request #49501 from ivan-klass/patch-1
Note for multiple arrayJoin of same array expression
2023-05-07 20:17:09 -04:00
Robert Schulze
3cadcaeaf0
Add new aliases to docs 2023-05-07 19:24:49 +00:00
Robert Schulze
d5f08ba87b
Move extractKeyValuePairs*() docs into maps docs 2023-05-07 19:22:29 +00:00
Robert Schulze
d614bde1c7
Fixup docs of extractKeyValuePairs*() 2023-05-07 19:20:16 +00:00
Robert Schulze
c893302a08
Implement a MySQL-compatible variant of makeDate()
Fixes #49143
2023-05-06 20:11:36 +00:00
Robert Schulze
2986c28761
Small fixes 2023-05-06 18:12:10 +00:00
Robert Schulze
7137c8811a
Merge pull request #49158 from ClickHouse/rs/show-indexes
Implement SHOW INDEX
2023-05-06 15:30:29 +02:00
Alexey Milovidov
965956ad55
Merge pull request #47815 from jkaflik/add-gcs-table-function
Add Google Cloud Storage S3 compatible table function
2023-05-05 23:18:58 +03:00
Robert Schulze
b2f0108150
Merge pull request #49292 from exmy/allow_int_type_for_bit_agg
Allow Int arguments for aggregation function groupBitAnd/Or/Xor
2023-05-05 21:23:13 +02:00
zvonand
8338d54c34 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-implicit-tz 2023-05-05 15:50:26 +02:00
xmy
180bb9f13d fix 2023-05-05 18:05:09 +08:00
DanRoscigno
9815b65849 add description 2023-05-04 12:47:39 -04:00
Ivan Takarlikov
8873856ce5 Fix some grammar mistakes in documentation, code and tests 2023-05-04 13:35:18 -03:00
Kuba Kaflik
c6953f4452 Merge branch 'master' of github.com:clickhouse/ClickHouse into add-gcs-table-function 2023-05-04 16:03:16 +02:00
DanRoscigno
6670cc2154 add description 2023-05-04 09:43:01 -04:00
DanRoscigno
b9afc70583 WIP 2023-05-04 09:36:27 -04:00
ivan-klass
1da30e2830
Better text 2023-05-04 13:06:07 +02:00
ivan-klass
a788d0b124
Note for multiple arrayJoin of same array expression 2023-05-04 13:03:27 +02:00
alesapin
89caf40840
Merge pull request #46528 from myrrc/feature/show-secrets-option
Show secrets in `SHOW` and `SELECT` queries
2023-05-04 11:21:30 +02:00
alekar
af81f056b4
Merge branch 'master' into 48716 2023-05-03 18:35:54 -07:00
candiduslynx
d5ccc99b1c add map to list of unsupported nullable types 2023-05-03 18:29:55 +03:00
Alexander Tokmakov
e399903030
Merge pull request #48548 from ClickHouse/clusters_is_active_column
Add some columns to system.clusters
2023-05-03 17:42:40 +03:00
Nikolay Degterinsky
4c038ef538
Merge branch 'master' into bcrypt 2023-05-02 21:52:21 +02:00
Ziy1-Tan
2c159061ed Support _path and _file virtual columns for table function url. 2023-05-01 21:40:30 +08:00
larryluogit
e18395b265
Merge branch 'master' into saveIntervals 2023-05-01 08:15:47 -04:00
Raqbit
2bce8a1b44
Fix typo "nullbale" in data-types reference doc 2023-05-01 10:14:46 +02:00
Nikolay Degterinsky
f64ef88197 Merge remote-tracking branch 'upstream/master' into bcrypt 2023-04-30 21:39:16 +00:00
Kseniia Sumarokova
7d867d7632
Merge pull request #49225 from MikhailBurdukov/mongo_dict_tls
Connection options for MongoDB dictionaries
2023-04-29 11:37:45 +02:00
alekar
29d96afae8
Merge branch 'master' into 48716 2023-04-28 14:24:46 -07:00
Mike Kot
2d20658885
Merge branch 'master' into feature/show-secrets-option 2023-04-28 20:19:35 +03:00
Nikolay Degterinsky
69d8d41197 Add docs, better tests 2023-04-28 15:12:48 +00:00
Mike Kot
f1d0ed367d separate name for format setting 2023-04-28 13:39:38 +00:00
Mike Kot
7bffa89e96 add all 3 settings 2023-04-28 13:22:36 +00:00
Alexey Milovidov
6dcfdbfaf2
Merge branch 'master' into clusters_is_active_column 2023-04-28 16:16:25 +03:00
xmy
2da33b96eb Allow Int* type argument for groupBitAnd/GroupBitOr/groupBitXor 2023-04-28 11:03:50 +08:00
Mike Kot
e428af0b63 replace format settings with server setting 2023-04-27 21:27:18 +00:00
Mike Kot
357cde95e9 Merge branch 'master' into feature/show-secrets-option 2023-04-27 20:19:40 +00:00