Commit Graph

10625 Commits

Author SHA1 Message Date
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
Sema Checherinda
23f894b995
Merge pull request #49777 from helifu/master1
Add 'initial_query_id' field for system.processors_profile_log
2023-05-25 12:55:32 +02:00
Sema Checherinda
3329a8428d
Merge pull request #49779 from helifu/master3
Add 'partitions' field for system.query_log
2023-05-25 12:51:40 +02: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
Robert Schulze
4f5cf656eb
Minor adjustment of clickhouse-client/local parameter docs
Related to #50210
2023-05-25 09:36:03 +00:00
Alexey Gerasimchuck
4eb944fef1 minor changes in documentation 2023-05-25 08:05:11 +00:00
Alexey Gerasimchuck
75791d7a63 Added input_format_csv_trim_whitespaces parameter 2023-05-25 07:51:32 +00:00
helifu
515d30caea Add test case. 2023-05-25 09:37:02 +08: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
DanRoscigno
d4927e4fe5 add docs 2023-05-24 10:51:43 -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
helifu
4724745b4c Add the 'partitions' field description in docs 2023-05-24 20:42:31 +08: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
Victor Krasnov
3bce2bbc37 Fix settings.md in regard to enable_extended_results_for_datetime_functions 2023-05-24 11:40:41 +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
DanRoscigno
f9f98ac503 note option 2023-05-23 09:58:59 -04:00
Dan Roscigno
fd62a1473c
Update build instructions
I am testing the build on Ubuntu 22.04 and found that I needed to add some prereqs.
2023-05-23 09:35:23 -04:00
Dan Roscigno
0c3392662c
Merge branch 'master' into url-function-docs 2023-05-23 08:42:13 -04:00
Robert Schulze
91bc0fad1b
Merge pull request #50138 from rschu1ze/docs-clickhouse-local
Docs: Update clickhouse-local arguments
2023-05-23 14:19:09 +02:00
Robert Schulze
b1a3b8536f
Docs: Update clickhouse-local arguments
Follow-up to #49870
2023-05-23 11:55:27 +00:00
avogar
3c1aeaaa79 Change default value of handshake_timeout to 10 sec, fix possible use-after-free 2023-05-23 11:39:40 +00:00
Kruglov Pavel
136c3caf03
Merge branch 'master' into handshake-timeout 2023-05-23 11:53:54 +02:00
Alexey Gerasimchuk
30f3b3ba04
Merge branch 'master' into ADQM-808 2023-05-23 17:03:54 +10: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
Alexey Gerasimchuk
df751f1bca
Merge branch 'master' into ADQM-808 2023-05-23 13:43:18 +10: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
lgbo-ustc
cc93f9ab52 update tests for flaky test 2023-05-22 10:17:41 +08: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
Yusuke Tanaka
2444e93ad7
Fix broken link to async_insert_deduplicate in doc 2023-05-21 14:42:17 +09:00
zvonand
f459ac5517 resolve ambiguity by adding a section to docs 2023-05-20 01:38:35 +02: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
ceb9b8cbc8
Merge branch 'master' into allow_experimental_parallel_reading_from_replicas 2023-05-19 14:25:07 -04:00
Dan Roscigno
1ef93e85aa
Merge branch 'master' into hanfei/regexp-doc 2023-05-19 14:23:23 -04:00
Dan Roscigno
8745b8196d
Merge pull request #49987 from den-crane/patch-67
Doc. Fix in partition description, for consistency with other documentation.
2023-05-19 14:18:33 -04:00
Dan Roscigno
75727bf072
Merge pull request #49967 from DanRoscigno/docs-ddl-named-collections
Docs ddl named collections
2023-05-19 14:16:22 -04:00
DanRoscigno
4260e86b1a fix typo 2023-05-19 13:00:18 -04:00
Sergei Trifonov
90872c2671
Update query_log.md
Fix links to data types
2023-05-19 17:22:37 +02:00
DanRoscigno
ff63a73cf5 review 2023-05-19 11:03:53 -04:00
DanRoscigno
10a382bd12 add ALTER and DROP 2023-05-19 10:49:43 -04:00
mateng915
5237dd0245
New system table zookeeper connection (#45245)
* Feature: Support new system table to show which zookeeper node be connected

Description:
============
Currently we have no place to check which zk node be connected otherwise using
lsof command. It not convenient

Solution:
=========
Implemented a new system table, system.zookeeper_host when CK Server has zk
this table will show the zk node dir which connected by current CK server

Noted: This table can support multi-zookeeper cluster scenario.

* fixed review comments

* added test case

* update test cases

* remove unused code

* fixed review comments and removed unused code

* updated test cases for print host, port and is_expired

* modify the code comments

* fixed CI Failed

* fixed code style check failure

* updated test cases by added Tags

* update test reference

* update test cases

* added system.zookeeper_connection doc

* Update docs/en/operations/system-tables/zookeeper_connection.md

* Update docs/en/operations/system-tables/zookeeper_connection.md

* Update docs/en/operations/system-tables/zookeeper_connection.md

---------

Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-05-19 17:06:43 +03: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
Alexey Gerasimchuk
1fb9e36b81
Merge branch 'master' into ADQM-808 2023-05-18 07:59:02 +10:00
Rich Raposa
03b5bfe218
Merge pull request #49968 from ClickHouse/reddit
Add Reddit comments to datasets
2023-05-17 15:26:29 -06:00
rfraposa
6a136897e3 Create reddit-comments.md 2023-05-17 13:23:53 -06:00
Han Fei
549af4d351 address comments 2023-05-17 21:23:32 +02:00
DanRoscigno
a1fc96953f reorder 2023-05-17 14:48:16 -04:00
Dan Roscigno
addc0c0ece
Merge branch 'master' into allow_experimental_parallel_reading_from_replicas 2023-05-17 13:20:14 -04:00
avogar
846804fed0 Add separate handshake_timeout for receiving Hello packet from replica 2023-05-17 11:39:04 +00:00
Alexey Gerasimchuck
253fadb676 Updated documentation for --multiquery 2023-05-17 03:45:09 +00:00
Thom O'Connor
15cb627688
Update postgresql.md
The type cannot be optional, so we need to be clear in the docs that [type1] [type2] cannot be in square brackets, so removed them
2023-05-16 16:35:41 -06:00
DanRoscigno
64bf477ff2 add DDL 2023-05-16 14:58:04 -04: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
Robert Schulze
59bc3e25be
Merge pull request #49824 from AVMusorin/allow-alias-column-kafka
KafkaEngine: Allow usage of Alias column type
2023-05-15 23:40:03 +02:00
robot-ch-test-poll4
e58d1821eb
Merge pull request #49788 from lesandie/master
Reworked Local File Cache documentation
2023-05-15 21:38:43 +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
Diego Nieto
bf201a09b7
Update docs/en/operations/storing-data.md
@kssenii comments

Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2023-05-15 15:43:39 +02:00
AVMusorin
418a61a68c
Allow using Alias column type for KafkaEngine
```
create table kafka
(
 a UInt32,
 a_str String Alias toString(a)
) engine = Kafka;

create table data
(
  a UInt32;
  a_str String
) engine = MergeTree
order by tuple();

create materialized view data_mv to data
(
  a UInt32,
  a_str String
) as
select a, a_str from kafka;
```
Alias type works as expected in comparison with MATERIALIZED/EPHEMERAL
or column with default expression.

Ref: https://github.com/ClickHouse/ClickHouse/pull/47138

Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2023-05-15 15:39:58 +02: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
Diego Nieto
52fdc49ef3
Merge branch 'master' into master 2023-05-15 10:28:31 +02: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
9ef610040f row_policy_template - table * is respected 2023-05-13 22:30:02 +00: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
Rich Raposa
944100c4b1
Merge pull request #49841 from nellicus/dedicate_keepers_prod
[docs] strongly recommend dedicated keeper in prod
2023-05-12 14:08:47 -06: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
nellicus
5366da8bcf fix links 2023-05-12 18:07:38 +02:00
nellicus
2960a0420b strongly recommend ded keeper in prod 2023-05-12 17:58:41 +02:00
robot-ch-test-poll1
6314813e7b
Merge pull request #49840 from yakkomajuri/patch-3
Minor correction to example in COMMENT COLUMN docs
2023-05-12 17:31: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
DanRoscigno
b8b4723aa6 add max_rows_in_set_to_optimize_join docs 2023-05-12 10:19:30 -04:00
Diego Nieto
78127d8a2c
Merge branch 'ClickHouse:master' into master 2023-05-12 16:08:48 +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
0f7c0859b0 add allow_experimental_parallel_reading_from_replicas docs 2023-05-12 09:22:29 -04:00
Dan Roscigno
596e50ebc0
Merge pull request #49830 from DanRoscigno/docs-udfs
uplevel UDFs and link
2023-05-12 09:05:39 -04:00
DanRoscigno
0b9e575588 uplevel UDFs and link 2023-05-12 08:05:38 -04:00
Robert Schulze
b9c185af44
Merge pull request #49678 from azat/build/llvm-16
Switch to LLVM/clang 16 (16.0.3)
2023-05-12 13:47:36 +02:00
Denny Crane
051456ba92
Update hash-functions.md 2023-05-12 08:33:27 -03:00
Diego Nieto
ba44b23889
Merge branch 'ClickHouse:master' into master 2023-05-12 13:31:12 +02: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
Diego Nieto
7dcaa0a25c
Merge branch 'master' into master 2023-05-12 11:46:37 +02:00
Diego Nieto (lesandie)
8fc0083a26 Rewrite following conversation/comments 2023-05-12 11:45:38 +02: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
Diego Nieto
4b69a203ea
Merge branch 'ClickHouse:master' into master 2023-05-12 10:07:18 +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
Alexey Milovidov
cf2b158072
Update build-cross-riscv.md 2023-05-12 03:18:43 +03:00
zvonand
c3af36915f fixed docs 2 2023-05-12 01:29:34 +02:00
robot-clickhouse
6f19a374f2
Merge pull request #49791 from den-crane/patch-65
Update settings.md
2023-05-12 01:02:58 +02:00
robot-ch-test-poll2
91fd3a3d16
Merge pull request #49745 from jrdi/improve-local-cache-documentation
Improve local cache documentation
2023-05-12 00:30:19 +02: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
Denny Crane
fcf1dd52bc
Update settings.md 2023-05-11 14:05:30 -03:00
Vitaly Baranov
ec011b9113
Merge branch 'master' into user-grants-from-config 2023-05-11 17:08:06 +02:00
Rich Raposa
2f8a530bf3
Merge pull request #49741 from ClickHouse/rfraposa-patch-2
Update async_insert explanation in docs
2023-05-11 08:36:53 -06:00
Diego Nieto (lesandie)
10e0c1d832 Reworked documentation using local cache section 2023-05-11 16:06:14 +02:00
Diego Nieto (lesandie)
26743b5439 Fix Local Cache documentation explanations 2023-05-11 15:36:47 +02: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
Jordi Villar
3780a07e46 Improve local cache documentation 2023-05-11 12:40:48 +02:00
Alexey Milovidov
91ffe8be73
Merge branch 'master' into build/llvm-16 2023-05-11 05:38:40 +03:00
zvonand
ecd0b4cc06 update settings from master 2023-05-11 00:37:58 +02:00
Azat Khuzhin
d56e1423ef
Merge branch 'master' into build/llvm-16 2023-05-10 21:23:26 +02:00
avogar
9096f62efc Merge branch 'master' of github.com:ClickHouse/ClickHouse into random-structure 2023-05-10 18:46:19 +00:00
Dan Roscigno
8f573aba2d
docs for connect_timeout_with_failover_secure_ms
closes #47267
2023-05-10 14:00:05 -04:00
Rich Raposa
4be0372eb4
Update settings.md
Removed the mention that async_insert is  only useful for HTTP
2023-05-10 09:48:33 -06:00
Alexey Milovidov
33a58aacea
Merge pull request #49719 from ClickHouse/make-projections-non-experimental
Make projections production-ready
2023-05-10 18:07:02 +03:00
Azat Khuzhin
a0cc5b7e47 Merge remote-tracking branch 'u/master' into build/llvm-16 2023-05-10 16:28:36 +02: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
Alexey Milovidov
8a6e07f0ea Make projections production-ready 2023-05-10 03:35:13 +02:00
Andrey Zvonov
9237b904be
Merge branch 'master' into zvonand-implicit-tz 2023-05-10 01:25:33 +02:00
alekar
67ad681e41
Merge branch 'master' into 48716 2023-05-09 14:34:32 -07:00
Dan Roscigno
915903b42d
Merge pull request #49704 from pkit/pkit/docs_is_deleted
docs: fix the is_deleted option docs
2023-05-09 16:59:25 -04:00
alekar
605991d4d5
Merge branch 'master' into 48716 2023-05-09 13:38:11 -07:00
Azat Khuzhin
be39e8e566 Merge remote-tracking branch 'u/master' into build/llvm-16
Conflicts:
	docker/test/codebrowser/Dockerfile
2023-05-09 20:40:43 +02:00
Azat Khuzhin
432250a85d Update instructions for building under OSX to clang-16
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-09 20:28:38 +02:00
DanRoscigno
0a83f2aee8 fix broken note rendering 2023-05-09 13:29:59 -04:00
Dan Roscigno
c75e056d98
Update docs/en/engines/table-engines/mergetree-family/replacingmergetree.md 2023-05-09 13:18:42 -04:00
Dan Roscigno
199838e7fb
Update docs/en/engines/table-engines/mergetree-family/replacingmergetree.md 2023-05-09 13:18:35 -04:00
Dan Roscigno
cd62df4887
Update docs/en/engines/table-engines/mergetree-family/replacingmergetree.md 2023-05-09 13:18:26 -04:00
Dan Roscigno
582767e9ab
Update docs/en/engines/table-engines/mergetree-family/replacingmergetree.md 2023-05-09 13:18:18 -04:00
Dan Roscigno
2e20603b01
Update docs/en/engines/table-engines/mergetree-family/replacingmergetree.md 2023-05-09 13:18:09 -04:00
Constantine Peresypkin
cef9862628 docs: fix the is_deleted option docs
- `is_deleted` type __must__ be `UInt8` and not `Int8`
- strange wording on how `clean_deleted_rows` works is fixed
2023-05-09 12:40:33 -04:00
Duyet Le
4c7849a9c8
Fix incorrect docs for use_query_cache 2023-05-09 17:08:49 +07:00
vdimir
6bb552377f
Merge pull request #49085 from ClibMouse/saveIntervals 2023-05-09 11:33:05 +02:00
Alexey Milovidov
512db049e0
Merge pull request #49652 from vrfn/documentation-update-backup-all
Documentation: reflect that `BACKUP ALL` is supported
2023-05-09 08:05:30 +03:00
Alexey Milovidov
a8bdb20fc4
Merge pull request #48787 from ClickHouse/background-memory-tracker
Add MemoryTracker for the background tasks [Resubmit]
2023-05-09 07:58:36 +03:00
Azat Khuzhin
c37fe64040 Merge remote-tracking branch 'u/master' into build/llvm-16 2023-05-08 22:33:52 +02: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
Vincent
a046d8fd4c Reflect that BACKUP now supports ALL in docs 2023-05-08 08:18:52 +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
f4eabd967d
Merge pull request #49603 from ClickHouse/rs/makedate-mysql
Implement a MySQL-compatible variant of makeDate()
2023-05-07 21:51:03 +02: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
Mikhail f. Shiryaev
e1fa92e078
Add openSUSE and SLES to docs dictionary, sort it 2023-05-07 19:30:55 +02:00
Mikhail f. Shiryaev
b2963eb4be
Add documentation how to install clickhouse on SUSE family 2023-05-07 17:59:46 +02:00
robot-clickhouse-ci-1
d1ad3ea24e
Merge pull request #49593 from ClickHouse/rs/qc-empty-chunk
Query Cache: Safeguard against empty chunks
2023-05-07 02:20:54 +02: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
Alexey Milovidov
54163b87ec
Merge pull request #47977 from ClickHouse/rs/non-experimental-qc
Mark query cache as non-experimental
2023-05-06 19:49:23 +03:00
Alexey Milovidov
6b6504e5bd
Merge pull request #49582 from Merle-Zhang/patch-1
Fix missing backticks for inline code in architecture.md
2023-05-06 18:10:28 +03:00
Robert Schulze
883e0abea1
Query Cache: Safeguard against empty chunks
Reading from the query cache is implemented using processor
"SourceFromChunks" which inherits from ISource. The latter has logic
which finishes processing (= calls .finish() on the output port +
returns Status::Finished) when the derived class returns an empty chunk.
If this empty chunk is not the last chunk, i.e. if it is followed by
non-empty chunks, the query result will be incorrect. This situation
should theoretically never occur in practice but who knows ... To be on
the safe side, writing into the query cache now rejects empty chunks and
thereby avoids this scenario.
2023-05-06 14:22:23 +00:00
Robert Schulze
0598bfd79e
Mark query cache as non-experimental 2023-05-06 13:58:40 +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
pufit
e1fa147e51 docs 2023-05-05 22:57:48 -04:00
merlllle
d6448b749e
Fix missing backticks for inline code in architecture.md 2023-05-06 02:17:19 +01: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
Antonio Andelic
a68a023ca7
Merge pull request #48724 from johanngan/sse-kms
Support SSE-KMS configuration with S3 client
2023-05-04 13:20:54 +02: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
Alexander Gololobov
7a0fedb069
Merge pull request #49485 from kislovs/patch-1
Fix code block in clickhouse-local.md
2023-05-04 12:34:25 +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
Sergey Kislov
e36d29b1fe
Update clickhouse-local.md
Code block was with additional indent which causes wrong rendering here on GitHub and website.
2023-05-04 13:26:19 +07:00
johanngan
731823b873 Add support for SSE-KMS configuration with S3
https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html

Similar to the server_side_encryption_customer_key_base64 option for
configuring SSE-C with S3, add the following settings to configure
SSE-KMS on a per-endpoint/disk basis:
  - server_side_encryption_kms_key_id
  - server_side_encryption_kms_encryption_context
  - server_side_encryption_kms_bucket_key_enabled
2023-05-03 21:35:38 -05:00
johanngan
1bc52977a7 Support "header" setting in S3 disk config
The S3 table engine supports specifying extra HTTP headers in S3
requests to certain endpoints, via the "headers" setting. This commit
adds the same setting to S3 disk config.
2023-05-03 21:32:58 -05: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
048b4ec738
Merge branch 'master' into bcrypt 2023-05-03 16:14:57 +02:00
vdimir
d3c7054bcf
Merge pull request #49169 from lingtaolf/doc/bloomfilter_compute_functions 2023-05-03 12:43:45 +02:00
Nikolay Degterinsky
4c038ef538
Merge branch 'master' into bcrypt 2023-05-02 21:52:21 +02:00
Nikolay Degterinsky
46c86dce93 Fix bcrypt enum value 2023-05-02 14:36:48 +00:00
vitac
5aa9dae09b
Merge branch 'master' into vcol 2023-05-02 15:36:26 +08:00
DanRoscigno
4ae2a467f7 add note about other disk types 2023-05-01 14:50:08 -04:00
Dan Roscigno
2b141a195a
Apply suggestions from code review
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
2023-05-01 14:38:05 -04:00
DanRoscigno
fa4ab93f21 add dynamic and nested dynamic 2023-05-01 14:06:50 -04:00
DanRoscigno
30dd645b4f add docs for nested dynamic disks 2023-05-01 13:02:32 -04:00
Ziy1-Tan
2c159061ed Support _path and _file virtual columns for table function url. 2023-05-01 21:40:30 +08:00
DanRoscigno
d21cdde371 add check 2023-05-01 09:02:32 -04:00
Dan Roscigno
d36f60bc4a
Update settings.md
add listen_host to prometheus section
2023-05-01 08:50:18 -04: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
Nikolay Degterinsky
5631342c1d Improve docs 2023-04-30 21:38:48 +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
Alexey Milovidov
85d78a6265
Merge pull request #49286 from ClickHouse/added-documentation-for-kolmogorov-smirnov-test-2
Added an alias `asymptotic` for `asymp` computational method for `kolmogorovSmirnovTest`.
2023-04-28 16:15:24 +03:00
Feng Kaiyu
2e14b91b92
docs: update build.md, add missing argument value.
`--build` need an option (`build`).
2023-04-28 16:53:19 +08: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
Robert Schulze
fcf0bb2aa0
Update build guide for nasm, #49254 2023-04-27 17:20:53 +00:00
Nikita Mikhaylov
da72eb630e Done 2023-04-27 18:14:46 +02:00
Nikita Mikhaylov
fe9cc7ad90 Better 2023-04-27 17:38:15 +02:00
Nikita Mikhaylov
c0126ce67b Added english version of the documentation 2023-04-27 17:33:45 +02:00
Nikolay Degterinsky
ea55222131
Merge pull request #44674 from evillique/add_default_password_type
Add default password type
2023-04-27 13:25:58 +02:00
Robert Schulze
ca62b3d177
Merge pull request #49183 from ClickHouse/rs/doc-makedate
Document makeDateTime() and its variants
2023-04-26 22:45:24 +02:00
MikhailBurdukov
b229a28e94
Merge branch 'master' into mongo_dict_tls 2023-04-26 23:39:27 +03:00
MikhailBurdukov
7764168bd5 Resove conflict 2023-04-26 19:50:58 +00:00
MikhailBurdukov
baaee66e85 Missing files 2023-04-26 19:29:29 +00:00
Robert Schulze
6c28966324
Merge branch 'master' into rs/show-indexes 2023-04-26 20:33:38 +02:00
Alexander Gololobov
ec0f8dbfbf
fix makeDateTime syntax 2023-04-26 15:07:23 +02:00
Robert Schulze
ad15749b4e
Document makeDateTime() and its variants
Follow-up to #35628
2023-04-26 12:22:05 +00:00
凌涛
e4011aa9c5
Update mergetree.md 2023-04-26 19:41:13 +08:00
Dan Roscigno
5836f2e66d
Update partition.md
closes
2023-04-26 07:12:23 -04:00
Alexey Milovidov
d151e03b04
Merge branch 'master' into rs/show-indexes 2023-04-26 13:55:35 +03:00
Nikolay Degterinsky
a8d124ac0f
Merge branch 'master' into add_default_password_type 2023-04-26 12:53:23 +02:00
凌涛
935656c23a add docs for create bmEstimate functions 2023-04-26 17:55:40 +08:00
凌涛
58de2dae26 add docs for create bmEstimate functions 2023-04-26 17:51:39 +08:00
Robert Schulze
c58e0e347c
Various cleanups 2023-04-26 09:46:35 +00:00
alekar
87f118cace
Merge branch 'master' into 48716 2023-04-26 00:26:30 -07:00
Aram Peres
f65b526472
Fix an unclosed XML tag in documentation 2023-04-25 20:48:46 -04:00
Robert Schulze
c4ab1e12f1
Initial version of SHOW INDEXES 2023-04-25 20:48:11 +00:00
Manas Alekar
935f5f5807 Add documentation for append. 2023-04-25 11:06:07 -07:00
larryluogit
eb2ca36d34
Merge branch 'master' into saveIntervals 2023-04-25 10:37:16 -04:00
Robert Schulze
1da6ea7988
Move SHOW PROCESSLIST to a better position 2023-04-25 11:41:33 +00:00
Robert Schulze
3255f937f2
Remove anchor 2023-04-25 11:34:10 +00:00
Robert Schulze
d7f759ce38
Docs: Make caption of processors_profile_log page consistent with other pages 2023-04-25 11:31:53 +00:00
Robert Schulze
f870013fa1
+ GCC is unsupported 2023-04-24 20:14:59 +00:00
Robert Schulze
d19f8ec4b9
Cleanup build guide
- bump minimum required versions

- remove the recommendation + steps to build clang from source ...
  that was only needed in the very early days

- use 'modern' cmake syntax to build
2023-04-24 20:10:17 +00:00
Nikolay Degterinsky
2fe3a69ba1 Merge remote-tracking branch 'upstream/master' into add_default_password_type 2023-04-24 18:51:32 +00:00
Dan Roscigno
f34f479dbb
Update build.md
On Fedora I could not build with `make`, I had to use `ninja`.  Error:
```
❯ make -j $(nproc)
make: *** No targets specified and no makefile found.  Stop.
```
2023-04-24 12:23:12 -04:00
Nikolay Degterinsky
1e92c504bd Add docs 2023-04-24 16:03:52 +00:00
pufit
1985fb785e
Merge pull request #48262 from ClickHouse/42497-inherit-grant
GRANT CURRENT GRANTS implementation
2023-04-24 11:11:10 -04:00
Alexander Tokmakov
332a736a59 Merge branch 'master' into clusters_is_active_column 2023-04-24 15:54:03 +02:00
Nikita Taranov
3af5271e1c
Clarify data in progress bar is uncompressed 2023-04-24 15:45:02 +02:00
Anton Popov
e2e62b32e5
Merge pull request #48071 from CurtizJ/rework-map-functions
Rework functions that work with `Map` columns
2023-04-24 14:51:02 +02:00
Robert Schulze
ded8eca041
Merge pull request #48284 from ClickHouse/rs/qc-quota
Query Cache: Allow per-user quotas
2023-04-24 11:32:32 +02:00
Vladimir C
6090648fc8
Merge pull request #43606 from arthurpassos/parsey_key_value_function 2023-04-24 11:03:28 +02:00
Larry Luo
9e1e94648e support saving interval types to tables 2023-04-23 21:59:51 -07:00
DanRoscigno
c0d9cca619 add async metrics and metrics descriptions 2023-04-23 18:21:08 -04:00
Robert Schulze
38d5f12a32
Query Cache: Implement per-user quotas 2023-04-23 16:13:51 +00:00
Robert Schulze
7fe0562de5
Make the cfg parameter naming more consistent 2023-04-23 14:00:22 +00:00
Alexey Milovidov
2370f46e70
Update formats.md 2023-04-22 21:36:58 +03:00
Kruglov Pavel
cbc1fe73cc
Merge pull request #49009 from Avogar/increase-connection-timeout
Increase default value for connect_timeout_with_failover_ms
2023-04-21 20:41:50 +02:00
Arthur Passos
197edf9d43 docs 2023-04-21 11:43:12 -03:00
ltrk2
24381a9489 Apply correct Markdown syntax 2023-04-21 06:44:23 -07:00
Anton Popov
55bc58006e add clarification to docs 2023-04-21 13:19:56 +00:00
Anton Popov
1b1a47e977 Merge remote-tracking branch 'upstream/master' into HEAD 2023-04-21 12:34:25 +00:00
avogar
c949f0ebf5 Merge branch 'master' of github.com:ClickHouse/ClickHouse into urlCluster 2023-04-21 14:13:33 +02:00
avogar
d68b8f46a4 Increase default value for connect_timeout_with_failover_ms 2023-04-21 11:38:36 +00:00
Alexey Milovidov
9670c9ce4e
Merge pull request #48969 from ClickHouse/vdimir/quantile-gk-rename
Rename quantileApprox -> quantileGK
2023-04-21 13:19:25 +03:00
Kruglov Pavel
9749448eb0
Merge pull request #47229 from Avogar/non-blocking-connect
Improve async reading from socket
2023-04-21 10:38:50 +02:00
Yakov Olkhovskiy
bcf2252fe0
add arrayPartialSort and arrayPartialReverseSort 2023-04-20 22:08:24 -04:00
robot-ch-test-poll1
f466c89621
Merge pull request #48911 from Avogar/parquet-metadata-format
Add ParquetMetadata input format to read Parquet file metadata
2023-04-21 03:46:26 +02:00
Andrey Zvonov
984e8fde41
Merge branch 'master' into zvonand-implicit-tz 2023-04-20 23:13:17 +02:00
Anton Popov
1f58dcabae
Merge branch 'master' into rework-map-functions 2023-04-20 18:44:40 +02:00
Dan Roscigno
aec97033c9
Merge pull request #48940 from ClickHouse/DanRoscigno-patch-5
Update query-complexity.md
2023-04-20 10:56:31 -04:00
Dan Roscigno
95b64eccbc
Merge pull request #48861 from DanRoscigno/add-transactions
move transactions to clickhouse repo
2023-04-20 10:55:42 -04:00
Dan Roscigno
5bcd443bce
Merge pull request #48947 from DanRoscigno/docs-file-fxn-partition-by-48698
added file() write to docs
2023-04-20 10:53:22 -04:00
Arthur Passos
43841a6ee6 Merge branch 'master' into parsey_key_value_function 2023-04-20 10:05:34 -03:00
Robert Schulze
e70190f5b5
Cleanup more function docs 2023-04-20 12:48:50 +00:00
Robert Schulze
3f0b9932c9
Cleanup string replace functions 2023-04-20 10:08:49 +00:00
vdimir
042b4ff525
Rename quantileApprox -> quantileGK 2023-04-20 11:41:17 +02:00
Robert Schulze
214ee232fd
Clean up string search function docs 2023-04-20 09:30:11 +00:00
lgbo-ustc
10daacb18f updated 2023-04-20 09:28:49 +08:00
lgbo-ustc
f6a532d309 update 2023-04-20 09:28:49 +08:00
lgbo-ustc
bd84b7a87a support syntax, respect nulls/ignore nulls 2023-04-20 09:28:49 +08:00
lgbo-ustc
cc0480c03f update docs and add tests 2023-04-20 09:28:49 +08:00
Robert Schulze
4b0b25c655
Cleanup math function docs 2023-04-19 20:41:55 +00:00
Robert Schulze
96dad0a2cb
Merge pull request #48962 from ClickHouse/rs/doc-cleanup
Clean up string function docs
2023-04-19 22:33:56 +02:00
robot-ch-test-poll1
a9e1368d18
Merge pull request #48942 from ClickHouse/davenger-delete-where
WHERE clause is not optional for DELETE statement
2023-04-19 22:29:18 +02:00
Robert Schulze
4756629b84
Clean up string function docs 2023-04-19 20:05:38 +00:00
Robert Schulze
92890f4e08
Cleanup logical function docs 2023-04-19 18:51:38 +00:00
Robert Schulze
74c21bbc5d
UUID --> UUIDs 2023-04-19 18:36:10 +00:00
Robert Schulze
eca1ca31d1
Cleanup random function docs 2023-04-19 18:31:47 +00:00
Robert Schulze
bb0573cd56
More fixes 2023-04-19 18:11:50 +00:00
Robert Schulze
9e13e5a52a
Some fixes 2023-04-19 18:09:20 +00:00
Robert Schulze
69db6f1912
Docs: Cleanup arithmetic function docs 2023-04-19 17:50:40 +00:00
Robert Schulze
ec5b421be4
Docs: Sort functions in sidebar 2023-04-19 17:05:55 +00:00
Robert Schulze
cdf28f9b71
Minor fixups 2023-04-19 16:16:51 +00:00
Robert Schulze
c406663442
Docs: Replace annoying three spaces in enumerations by a single space 2023-04-19 15:56:55 +00:00
DanRoscigno
2fb337828b added file() write to docs 2023-04-19 11:14:39 -04:00
Alexander Gololobov
0e4aff9dc7
WHERE clause is not optional for DELETE statement 2023-04-19 17:00:25 +02:00
Robert Schulze
5c5aaeca6d
Merge pull request #48929 from ClickHouse/rs/follow-up-to-48866
Follow-up to #48866
2023-04-19 16:37:48 +02:00
Dan Roscigno
df70f6985c
Update query-complexity.md
The docs say that max_memory_usage is set to 10GB in the default config, but max_memory_usage does not appear in the default config, so the default is unlimited.
2023-04-19 09:16:22 -04:00
Dan Roscigno
b8b9f330d9
Merge pull request #48937 from ClickHouse/rs/doc-integer-promotion
Document integer promotion
2023-04-19 09:09:57 -04:00
Dan Roscigno
c58785aa67
Merge pull request #48884 from ContentSquare/replacingMergeTreeNewEngineDoc
Document the new feature of the ReplacingMergeTree engine of the PR #…
2023-04-19 09:06:56 -04:00
Andrey Zvonov
61f55930ce
Update docs/en/operations/settings/settings.md
Co-authored-by: Vasily Nemkov <V.Nemkov@gmail.com>
2023-04-19 15:46:17 +03:00
zvonand
daae5025e8 small updates due to review 2023-04-19 14:45:51 +02:00
Kruglov Pavel
2ad161d2b7
Merge branch 'master' into non-blocking-connect 2023-04-19 13:39:40 +02:00
Robert Schulze
87b6db54ce
Document integer promotion
Fixes #48933
2023-04-19 11:27:29 +00:00
Kruglov Pavel
9bc95bed85
Merge pull request #48898 from Avogar/pretty-json
Add PrettyJSONEachRow format to output pretty JSON
2023-04-19 12:27:24 +02:00
Robert Schulze
15db30618c
Various fixes and cleanups 2023-04-19 09:19:41 +00:00
Robert Schulze
6aaafbad1f
Merge pull request #48866 from infdahai/arrayfunc_for_wideint
arrayFunc for wideint(int128/256, uint128/256)
2023-04-19 10:52:28 +02:00
Kruglov Pavel
a5c52d3bc3
Merge branch 'master' into parquet-metadata-format 2023-04-18 21:51:14 +02:00
avogar
7a67951f64 Add more fields, fix style 2023-04-18 17:59:01 +00:00
Dan Roscigno
1d46f50da2
Merge pull request #48909 from ClickHouse/thomoco-patch-4
Update postgresql.md
2023-04-18 13:12:28 -04:00
avogar
2518ee4988 Remove deleted line 2023-04-18 16:58:43 +00:00
avogar
f7f609dfb9 Better 2023-04-18 16:57:55 +00:00
Dan Roscigno
5704eea076
Update docs/en/engines/table-engines/integrations/postgresql.md 2023-04-18 12:55:27 -04:00
Dan Roscigno
8b05fb6f83
need full path to markdown file including the md 2023-04-18 12:54:54 -04:00
Dan Roscigno
0ca09db306
Update docs/en/operations/system-tables/mutations.md 2023-04-18 12:51:27 -04:00
Dan Roscigno
d095a3b06b
Update docs/en/operations/system-tables/mutations.md 2023-04-18 12:50:40 -04:00
avogar
b277a5c943 Add ParquetMetadata input format to read Parquet file metadata 2023-04-18 16:46:26 +00:00
Thom O'Connor
b60169d258
Update postgresql.md
Added examples for INSERT INTO from SELECT * for initial load from PostgreSQL and incremental inserts
2023-04-18 09:48:32 -06:00
Thom O'Connor
93cc552b8f
Update mutations.md
Adding the SQL to monitor system.mutations updates
2023-04-18 08:46:22 -06:00
Kruglov Pavel
e9784b9444
Bring back accidentally deleted line 2023-04-18 16:06:21 +02:00
Kruglov Pavel
8aade2d39e
Fix typo 2023-04-18 15:56:41 +02:00
avogar
e47bb5cc72 Add docs 2023-04-18 13:35:28 +00:00
Youenn Lebras
066f5ac8fd Renaming for clearer comprehension 2023-04-18 14:53:00 +02:00
Youenn Lebras
082c5b0224 Document the new feature of the ReplacingMergeTree engine of the PR #41005 2023-04-18 11:17:46 +02:00
zvonand
22be85d976 renamed setting 2023-04-18 02:42:30 +02:00
clundro
634791852d [doc] add doc for array func.
Signed-off-by: clundro <859287553@qq.com>
2023-04-18 02:10:41 +08:00
DanRoscigno
1d15fed184 spelling 2023-04-17 12:25:38 -04:00
DanRoscigno
047388df8c move transactions to clickhouse repo 2023-04-17 11:41:32 -04:00
Arthur Passos
c7d7df75f2 minor doc update 2023-04-17 11:20:03 -03:00
Arthur Passos
3380c91206 Add validation for number of arguments provided and update doc examples 2023-04-17 11:15:24 -03:00
Rich Raposa
0c58c75023
Merge pull request #48762 from et/patch-1
Fix docs for case insensitive searches with a token bloom filter
2023-04-15 10:57:21 -06:00
Rich Raposa
04a8b4bd17
Update materialized-postgresql.md 2023-04-15 08:24:27 -06:00
Nikolay Degterinsky
1388154420
Merge pull request #48629 from bigo-sg/json_map_node
Support map type for JSONExtract
2023-04-15 01:02:09 +02:00
robot-ch-test-poll1
74687548bc
Merge pull request #48796 from ClickHouse/http-tabs
Clarify the use of tabs in URL parameters
2023-04-15 00:05:15 +02:00
robot-ch-test-poll1
5e940af4b5
Merge pull request #48798 from ClickHouse/yt-dislikes
Remove SETTINGS from Youtube dataset
2023-04-15 00:04:51 +02:00
rfraposa
85d7b43c2b Update function.md 2023-04-14 14:36:28 -06:00
rfraposa
d98bee8ea3 Update youtube-dislikes.md 2023-04-14 14:32:55 -06:00
rfraposa
42554e2671 Update youtube-dislikes.md 2023-04-14 14:30:36 -06:00
rfraposa
bc9a59de04 Update http.md 2023-04-14 14:27:11 -06:00
Dmitry Novik
cf5d9a175a Revert "Merge pull request #48760 from ClickHouse/revert-46089-background-memory-tracker"
This reverts commit a61ed33223, reversing
changes made to 5f01b8a2b5.
2023-04-14 16:34:19 +02:00
zvonand
089306820f Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-implicit-tz 2023-04-14 13:21:49 +02:00
Robert Schulze
adb15b7033
Merge branch 'master' into show-table 2023-04-14 09:52:56 +02:00
Eric Thomas
8d5e72cc26
Fix docs for case insensitive searches with a token bloom filter 2023-04-13 14:04:55 -06:00
Alexander Tokmakov
af1bf08663
Revert "Add MemoryTracker for the background tasks" 2023-04-13 21:05:02 +03:00
pufit
a9fcff72f3 Update docs 2023-04-13 12:57:21 -04:00
Arthur Passos
88f1c969cc
Merge branch 'master' into parsey_key_value_function 2023-04-13 10:38:44 -03:00
flynn
2571372fe0 update docs 2023-04-13 12:27:48 +00:00
Dmitry Novik
467ecf45e1
Merge pull request #46089 from ClickHouse/background-memory-tracker
Add MemoryTracker for the background tasks
2023-04-13 13:29:27 +02:00
flynn
bbaa7e126c udpate docs 2023-04-13 11:06:36 +00:00
Robert Schulze
658d6c8870
Merge pull request #48567 from FriendLey/test_soundex
add soundex function, issue #39880
2023-04-13 11:20:19 +02:00
Robert Schulze
f41354ccd6
Merge pull request #48671 from ClickHouse/rs/gcc-removal
Remove GCC remainders
2023-04-13 10:15:35 +02:00
Robert Schulze
700492f6d4
Fixes and refactorings for consistency with the remaining codebase 2023-04-12 22:41:26 +00:00
Alexander Tokmakov
75f18b1198
Revert "Check simple dictionary key is native unsigned integer" 2023-04-13 01:32:19 +03:00
Robert Schulze
3f7ce60e03
Merge branch 'master' into rs/gcc-removal 2023-04-12 22:17:04 +02:00
flynn
e4b1711812 udpate doc and test 2023-04-12 14:02:34 +00:00
Anton Popov
1520f3e924
Merge pull request #48335 from lzydmxy/check_sample_dict_key_is_correct
Check simple dictionary key is native unsigned integer
2023-04-12 14:27:39 +02: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
Nikolai Kochetov
bc4755952b
Merge pull request #48405 from ClickHouse/analyzer-additional-filters
Support additional filters in new planner
2023-04-12 12:38:57 +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
Dmitry Novik
235ad55bad
Merge branch 'master' into analyzer-additional-filters 2023-04-12 01:13:38 +02:00
Robert Schulze
3c6aa46d4a
Update docs 2023-04-11 18:31:00 +00: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
Dmitry Novik
06e6794fc0 Merge remote-tracking branch 'origin/master' into background-memory-tracker 2023-04-11 15:29:35 +00:00
Alexander Tokmakov
a1fda047f6 add docs 2023-04-11 16:32:40 +02:00
Dmitry Novik
435a0ab9bb Fix a typo 2023-04-11 14:13:37 +00:00
Dan Roscigno
afdd1f696d
Merge pull request #48601 from gingerwizard/mar_blog_refs
update blog references
2023-04-11 10:13:29 -04:00
Dmitry Novik
5488fb0fec Add documentation for additional_result_filter setting 2023-04-11 14:07:17 +00:00
Alexander Tokmakov
327bfbc6c4
Merge pull request #48183 from ClickHouse/contrib_sparse_checkout
Add scripts for sparse checkout of some contribs
2023-04-11 16:18:27 +03: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
c527347736
Merge branch 'master' into test_soundex 2023-04-11 19:16:10 +08:00
Sergei Trifonov
ca6e253fa6
Merge pull request #48526 from ClickHouse/lost-part-count 2023-04-11 13:11:42 +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
robot-ch-test-poll1
88516a4558
Merge pull request #48600 from ClickHouse/evillique-patch-3
Docs: Add SETTINGS to executable table function
2023-04-10 19:59:27 +02:00
Sergei Trifonov
cc5a4c3853
Merge pull request #48568 from ClickHouse/serxa-patch-3
Update formats.md
2023-04-10 19:07:08 +02:00
robot-ch-test-poll4
5776ce6110
Merge pull request #48608 from ClickHouse/thomoco-patch-3
Update formats.md
2023-04-10 18:58:05 +02:00
Kseniia Sumarokova
65259d964b
Merge pull request #48167 from lzydmxy/add_columns_for_system_storage_policies
Add columns for table `system.storage_policies`
2023-04-10 18:32:13 +02:00
Thom O'Connor
8b0adf58e5
Update formats.md
Including an Avro example with DESCRIBE url in S3
2023-04-10 10:17:43 -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
Sergei Trifonov
3bc5c6423b
Update formats.md 2023-04-09 16:54:21 +02:00
FriendLey
47fd6b6650 add docs of soundex function. (#39880) 2023-04-09 17:00:20 +08:00
Alexander Tokmakov
3633f0b2f3 fix 2023-04-07 23:50:09 +02:00
Alexander Tokmakov
3c509214e4 Merge branch 'master' into contrib_sparse_checkout 2023-04-07 23:44:38 +02:00
Nikolay Degterinsky
a48655af39
Merge branch 'master' into add-kafka-murmur-hash-function 2023-04-07 12:21:16 +02:00
serxa
9976f17e12 add docs 2023-04-06 22:54:00 +00: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