Commit Graph

9016 Commits

Author SHA1 Message Date
Roman Vasin
2995c6d866 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-634 2023-01-09 08:26:45 +00:00
Alexey Milovidov
03ae644ea3 Fix performance test 2023-01-09 01:58:42 +01:00
Dan Roscigno
dced847e9b
Merge branch 'master' into qoega-patch-5 2023-01-07 19:36:23 -05:00
DanRoscigno
8d002e6d43 full path to links 2023-01-07 19:19:49 -05:00
Alexey Milovidov
17552fdae2
Merge pull request #45021 from ClickHouse/no-testflows
Remove the remainings of Testflows (2).
2023-01-08 02:17:34 +03:00
Dan Roscigno
7741ce549f
Merge pull request #45004 from DanRoscigno/docs-for-set-join-persist
move persistence setting docs
2023-01-07 17:28:40 -05:00
Dan Roscigno
758c98e832
Merge pull request #45005 from DanRoscigno/date-subtraction-docs
clarify date sub docs
2023-01-07 17:28:08 -05:00
Alexey Milovidov
484af24d48 Remove the remainings of Testflows (2). 2023-01-07 21:40:13 +01:00
Alexey Milovidov
063bfb9be2
Merge pull request #45002 from den-crane/patch-56
Update graphitemergetree.md
2023-01-07 23:26:02 +03:00
Anton Popov
1f32ffedf8
Merge pull request #43221 from ClickHouse/refactoring-ip-types
Replace domain IP types (IPv4, IPv6) with native
2023-01-07 12:01:21 +01:00
DanRoscigno
eff349bab7 clarify date sub docs 2023-01-06 17:32:03 -05:00
DanRoscigno
e0b258b4a9 move persistence setting docs 2023-01-06 17:01:28 -05:00
Robert Schulze
45dbcf88e5
Merge remote-tracking branch 'origin/master' into query-result-cache 2023-01-06 20:42:48 +00:00
Denny Crane
1bf6139fab
Update graphitemergetree.md 2023-01-06 15:11:58 -04:00
Ilya Yatsishin
b6b9be7a3e
Add documentation for xxh3 2023-01-06 18:05:27 +01:00
Ilya Yatsishin
71cb4ecde1
Add docs for #43308 2023-01-06 15:30:57 +01:00
Robert Schulze
35511685e3
Merge pull request #44977 from ClickHouse/match-docs
Docs: Mention non-standard DOTALL behavior of ClickHouse's match()
2023-01-06 13:22:28 +01:00
Robert Schulze
1cc5bce1c5
Docs: Mention non-standard DOTALL behavior of ClickHouse's match()
Cf. #34603
2023-01-06 11:18:22 +00:00
DanRoscigno
5cde7762ad WIP 2023-01-05 15:54:44 -05:00
Dan Roscigno
adfc4d4a23
Merge pull request #44945 from DanRoscigno/tolastday
add toLastDayOfMonth to docs
2023-01-05 11:53:40 -05:00
Dan Roscigno
9444dae34e
Merge pull request #44941 from DanRoscigno/add-settings
add additional table filters setting
2023-01-05 11:52:59 -05:00
Dan Roscigno
5ba6851629
Merge pull request #44943 from DanRoscigno/pmod-docs
updater positiveModulo  docs
2023-01-05 11:51:21 -05:00
Han Fei
f2a9eea995 write docs and optimize regex compile 2023-01-05 17:38:01 +01:00
DanRoscigno
9e5c8acd92 add toLastDayOfMonth to docs 2023-01-05 11:37:05 -05:00
DanRoscigno
4cba7fc958 add aliases for positiveModulo to docs 2023-01-05 11:10:20 -05:00
DanRoscigno
273ad90d1d add additional table filters setting 2023-01-05 10:47:18 -05:00
Robert Schulze
1974e1bf8c
Merge pull request #44479 from ClickHouse/more-robust-astselectquery-formatimpl
More robust ASTSelectQuery::formatImpl()
2023-01-05 12:27:40 +01:00
Robert Schulze
4fcead15c3
Fix handling of exceptions during query runtime 2023-01-04 22:33:04 +00:00
Alexey Milovidov
7589c29902
Merge pull request #44906 from DanRoscigno/add-touuid-docs
add toUUIDOrDefault docs
2023-01-05 00:01:14 +03:00
Dan Roscigno
20a35efc42
Merge pull request #44665 from burmecia/fix-ttl-doc
fix table ttl doc example
2023-01-04 15:53:19 -05:00
Dan Roscigno
288488f8a2
Merge pull request #44919 from DanRoscigno/revert-h3-doc-deletions
revert doc removal
2023-01-04 15:51:37 -05:00
Dan Roscigno
3c64cb26b0
Merge pull request #44913 from DanRoscigno/add-INFILE-docs
add example with file globbing
2023-01-04 15:51:12 -05:00
DanRoscigno
2397318b1a add more about matching 2023-01-04 15:37:13 -05:00
Dan Roscigno
47a84eb2df
Merge pull request #44650 from DanRoscigno/update-replication-docs
add note for Cloud users
2023-01-04 15:21:48 -05:00
DanRoscigno
51f1d3ba1e revert doc removal 2023-01-04 14:53:02 -05:00
DanRoscigno
df603911ea add example with file globbing 2023-01-04 11:36:38 -05:00
Yakov Olkhovskiy
7a5a36cbed
Merge branch 'master' into refactoring-ip-types 2023-01-04 11:11:06 -05:00
DanRoscigno
530f0b36e9 add toUUIDOrDefault docs 2023-01-04 09:46:36 -05:00
DanRoscigno
bece361a79 add command summary 2023-01-04 07:32:52 -05:00
Alexey Milovidov
3a027d285f
Merge pull request #44828 from ClickHouse/remove-two-lines-of-code
What if I will remove two lines of code?
2023-01-04 04:50:52 +03:00
Robert Schulze
cfb6feffde
What happens if I remove these 139 lines of code? 2023-01-03 18:35:31 +00:00
Smita Kulkarni
1f89db78a5 Added is_create_parameterized_view flag in ActionsVisitor, added functions for column manipulation for parameterized view in StorageView, updated tests to fix flaky test issues and addressed small review comments- 40907 Parameterized views as table functions 2023-01-03 11:00:39 +01:00
Robert Schulze
421473e974
Merge pull request #44421 from ClickHouse/revert-of-revert-of-age-function
Revert revert of age function
2023-01-03 10:02:18 +01:00
Alexey Milovidov
ca117d5b94
Merge branch 'master' into remove-two-lines-of-code 2023-01-02 22:15:36 +03:00
Dmitry Novik
c646048af9
Merge pull request #44461 from ClickHouse/parts-removal-limit
Add part removal limit for one CleanupThread iteration
2023-01-02 20:04:19 +01:00
Alexey Milovidov
e855d3519a
Merge branch 'master' into refactoring-ip-types 2023-01-02 21:58:53 +03:00
Kruglov Pavel
966f57ef68
Merge pull request #42777 from Avogar/improve-streaming-engines
Refactor and Improve streaming engines Kafka/RabbitMQ/NATS and data formats
2023-01-02 15:59:06 +01:00
Azat Khuzhin
b9125bb351
Introduce groupArrayLast() (useful to store last X values) (#44521)
* Cleanup DataTypeCustomSimpleAggregateFunction::checkSupportedFunctions()

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Remove unused GroupArrayGeneralListImpl

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Introduce groupArrayLast() (useful to store last X values)

Also do some refactoring to make code cleaner:
- rename insert() to insertWithSampler() (since it is used only for
  groupArraySample())
- split merge methods into Last/RNG/...

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-01-02 15:20:21 +01:00
Robert Schulze
545576fe01
Merge pull request #43818 from bigo-sg/improve_from_unixtime
Add new functions to format datetime in joda datetime style
2023-01-02 13:41:50 +01:00
Robert Schulze
9ab910102f
Add note + test about exception handling 2023-01-02 10:24:01 +00:00
Robert Schulze
8381d8b467
query_result_cache_keep_seconds_alive --> query_result_cache_ttl 2023-01-02 09:38:40 +00:00
Robert Schulze
ba55fd3ad2
Cosmetics 2023-01-02 09:30:44 +00:00
Robert Schulze
e9e04166d9
Merge remote-tracking branch 'origin/master' into query-result-cache 2023-01-02 08:20:27 +00:00
Alexey Milovidov
47ae8c5c79 Remove more lines 2023-01-02 02:06:11 +01:00
Kruglov Pavel
027b525820
Slightly better docs 2022-12-31 15:06:45 +01:00
Kruglov Pavel
791e8a90cf
Fix 2022-12-30 23:15:45 +01:00
Kruglov Pavel
7e14ee6eef
Fix incorrect docs 2022-12-30 23:14:14 +01:00
Dan Roscigno
7c03222800
Merge pull request #44740 from ClickHouse/alexey-milovidov-patch-5
Update type-conversion-functions.md
2022-12-30 11:38:41 -05:00
Dan Roscigno
bc456feb4b
Merge pull request #44708 from Avogar/schema-inference-docs
Add detailed documentation about schema inference
2022-12-30 11:19:09 -05:00
DanRoscigno
ec5314ff84 full path for links, split sql from response 2022-12-30 11:17:43 -05:00
DanRoscigno
f6c94d8645 remove table of contents 2022-12-30 10:19:09 -05:00
DanRoscigno
0df0fe2cf0 edits 2022-12-30 09:55:03 -05:00
Kruglov Pavel
5bdbee4e56
Edit URL->HDFS 2022-12-30 15:52:38 +01:00
DanRoscigno
925ce4b96c edits 2022-12-30 09:21:12 -05:00
Alexey Milovidov
5ca6b317b0
Update type-conversion-functions.md 2022-12-30 15:57:39 +03:00
DanRoscigno
0902db3fe0 edits 2022-12-29 22:34:25 -05:00
DanRoscigno
2cc0ca3a29 full paths, add users_file_dir 2022-12-29 21:53:42 -05:00
Kruglov Pavel
894726bd8f
Merge branch 'master' into improve-streaming-engines 2022-12-29 22:59:45 +01:00
avogar
f7168ce46b Add missing new line 2022-12-29 21:31:52 +00:00
avogar
ced668fafb Better 2022-12-29 21:21:37 +00:00
avogar
ae715b9d00 Finish docs 2022-12-29 20:42:03 +00:00
avogar
46b7ec4209 Add detailed documentation about schema inference 2022-12-29 13:42:56 +00:00
Dmitry Novik
6efd64a61c
Merge branch 'master' into parts-removal-limit 2022-12-28 17:34:48 +01:00
taiyang-li
3e44f6574c update doc 2022-12-28 14:58:18 +08:00
taiyang-li
5ae280611b merge master and solve conflict 2022-12-28 14:44:10 +08:00
Bo Lu
5d1886994f fix table ttl doc example 2022-12-28 15:45:05 +11:00
DanRoscigno
3f03fca469 add note for Cloud users 2022-12-27 13:59:00 -05:00
SmitaRKulkarni
4d7459bd65
Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-12-27 08:15:42 +01:00
Denny Crane
850f77f4d2
Update external-dicts-dict-sources.md 2022-12-26 16:21:36 -04:00
Roman Vasin
483e26cf2f
Merge branch 'master' into ADQM-634 2022-12-26 15:34:38 +03:00
Roman Vasin
5a7257069b Updated docs 2022-12-26 12:22:29 +00:00
DanRoscigno
54e66d875c move title to frontatter 2022-12-23 19:33:10 -05:00
Denys Golotiuk
f364c28f4a
Added docs for randUniform
Implemented in [22.10](https://clickhouse.com/docs/en/whats-new/changelog/#new-feature-2) and delivered in https://github.com/ClickHouse/ClickHouse/pull/42411
2022-12-23 11:59:43 +02:00
Dan Roscigno
5c860133d6
Merge pull request #44514 from mrcrypster/patch-1
Added docs for new rand* functions (distributions)
2022-12-22 13:12:16 -05:00
Dan Roscigno
8da98001da
Merge pull request #44488 from DanRoscigno/from-final
From final
2022-12-22 11:30:10 -05:00
Dan Roscigno
37826d6301
Update docs/en/sql-reference/statements/select/from.md 2022-12-22 11:13:36 -05:00
Denys Golotiuk
83d2b4da52
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:14:59 +02:00
Denys Golotiuk
d33670d965
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:14:55 +02:00
Denys Golotiuk
859fa04dfb
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:14:48 +02:00
Denys Golotiuk
6e5703125c
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:14:14 +02:00
Denys Golotiuk
e8d8b60e34
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:14:08 +02:00
Denys Golotiuk
ddd3b99d40
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:14:02 +02:00
Denys Golotiuk
5a2e6ec568
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:13:57 +02:00
Denys Golotiuk
88ad6d47b4
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:13:51 +02:00
Denys Golotiuk
fd81509a48
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:13:45 +02:00
Denys Golotiuk
344dfb0064
Update docs/en/sql-reference/functions/random-functions.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-12-22 17:13:28 +02:00
Denys Golotiuk
3de02287bc
Added docs for new rand* functions (distributions) 2022-12-22 16:10:25 +02:00
Dan Roscigno
b238106f93
Merge pull request #44492 from DanRoscigno/fix-macOS
fix case of macOS
2022-12-22 07:38:34 -05:00
Robert Schulze
0dbed9e738
Mac OS X --> macOS 2022-12-22 09:37:17 +00:00
Yakov Olkhovskiy
a8cb29da4b
Merge branch 'master' into refactoring-ip-types 2022-12-21 23:56:24 -05:00
Alexander Gololobov
c95e10777f
Fixed formatiing 2022-12-21 21:40:30 +01:00
Alexander Gololobov
269700df42
Merge branch 'master' into feature/format-datetime-fractional-second 2022-12-21 21:34:46 +01:00
DanRoscigno
c7a773f815 fix case of macOS 2022-12-21 10:14:07 -05:00
Dmitry Novik
c594ec3632 Add documentation 2022-12-21 14:56:32 +00:00
Dan Roscigno
37af44501d
Update docs/en/sql-reference/functions/hash-functions.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2022-12-21 09:12:06 -05:00
DanRoscigno
4da00b0b1d clarify which engines support final 2022-12-21 09:07:40 -05:00
DanRoscigno
e791e7bbfe clarify which engines support final 2022-12-21 08:58:12 -05:00
DanRoscigno
4981d4a013 clarify which engines support final 2022-12-21 08:55:38 -05:00
Dan Roscigno
30eb95d7d1
Update hash-functions.md 2022-12-21 08:39:44 -05:00
wineternity
1544e412f5 [DOC] Add support for signed arguments in range() #43333 2022-12-21 19:58:01 +08:00
Robert Schulze
05b70b0cb6
Update link to blog on fuzzing 2022-12-21 10:54:18 +00:00
Sergei Trifonov
048525273f
Merge branch 'master' into Avogar-patch-1 2022-12-21 11:54:18 +01:00
Kruglov Pavel
5e01a3d74e
Merge branch 'master' into improve-streaming-engines 2022-12-21 10:51:50 +01:00
Kruglov Pavel
36a6ee4fdb
Add documentation for setting allow_settings_after_format_in_insert 2022-12-20 22:04:37 +01:00
DanRoscigno
c6513624c4 add support case note for compat setting 2022-12-20 15:03:42 -05:00
Kruglov Pavel
643a35bed1
Merge pull request #44019 from Avogar/refactor-schema-inference
Refactor and improve schema inference for text formats
2022-12-20 17:29:03 +01:00
Robert Schulze
3f03b0b53d
Revert "Revert "Add function 'age'""
This reverts commit 4549b14027.
2022-12-20 10:18:43 +00:00
DanRoscigno
c64ca04bfb add docker back to top 2022-12-19 17:30:30 -05:00
Robert Schulze
d33101e396
Further clean up install guide 2022-12-19 19:27:15 +00:00
Dan Roscigno
3e17926139
Merge branch 'master' into simplify-install-docs 2022-12-19 10:24:16 -05:00
Robert Schulze
dbe5fda11c
AArch64 --> ARM, x86_64 --> x86-64, + more
- revert back to "two" options instead of "three". Docker is a form of self-hosted ClickHouse and it is also listed as such in the text.
2022-12-19 15:13:25 +01:00
DanRoscigno
b0c271381d add easy button 2022-12-19 08:22:03 -05:00
DanRoscigno
6a8a4586a5 apply Robert's edits 2022-12-19 08:10:20 -05:00
Robert Schulze
b93c56323c
Merge remote-tracking branch 'origin/master' into query-result-cache 2022-12-19 09:18:36 +00:00
Robert Schulze
5e446b0d21
AST --> Abstract Syntax Tree 2022-12-19 09:14:57 +00:00
Alexey Milovidov
f3a4163c87
Merge pull request #41099 from peter279k/improve_build
Improve building steps
2022-12-19 04:01:14 +03:00
DanRoscigno
feaa166098 highlight curl and Docker 2022-12-18 18:45:16 -05:00
Tanya Bragin
7f9f819b20
Update install.md
@DanRoscigno I suggest that we change this page to link "Self-Managed ClickHouse" to the `#self-managed-install` anchor below for self-managed install tutorial. This prominent link at the top currently leads to our Github README page, which contains no install instructions. The navigation on the side is pretty hard to notice in the current understated styling vs this red link, so it's easy for users looking for download instructions to navigate away from this page unintentionally, and potentially get lost.
2022-12-18 11:55:21 -08:00
Robert Schulze
d81e507952
Fix doc links 2022-12-18 12:23:38 +00:00
Robert Schulze
bc6bcdfd7b
Allow sharing of cache entries 2022-12-17 18:04:18 +00:00
Robert Schulze
aa50b9cf48
Invert config parameter name for more clarity 2022-12-17 15:10:04 +00:00
Alexey Milovidov
57b0d44774
Update build.md 2022-12-17 05:03:12 +03:00
Alexey Milovidov
e80dc069ef
Merge pull request #44324 from ClickHouse/doc-format-rowbinary-delimiter
Append requirement for FORMAT RowBinary with strict delimiter
2022-12-17 03:57:58 +03:00
Yakov Olkhovskiy
9ce4e6b7e2
fix style 2022-12-16 17:30:40 -05:00
DanRoscigno
4af8e647af switch note to Optimize guide 2022-12-16 16:53:14 -05:00
Yakov Olkhovskiy
bb5d7ff28b
Append requirement for FORMAT RowBinary with strict delimiter 2022-12-16 15:43:52 -05:00
Bharat Nallan Chakravarthy
633f2bc9d8 add docs for quantileInterpolatedWeighted 2022-12-16 10:27:22 -08:00
Kruglov Pavel
37df9b9990
Merge branch 'master' into refactor-schema-inference 2022-12-16 19:13:15 +01:00
Christoph Wurm
4f5932641d Reduce num_layers to 1 and general wording. 2022-12-16 15:59:46 +00:00
Kruglov Pavel
8ce8205955
Merge pull request #44269 from ClickHouse/Avogar-patch-1
Add missing documentation for some schema inference settings
2022-12-16 15:28:01 +01:00
Kruglov Pavel
3fad5c7f1f
Merge branch 'master' into refactor-schema-inference 2022-12-16 14:24:51 +01:00
Dan Roscigno
6d8df98431
Merge branch 'master' into cross-link-docs 2022-12-16 08:23:28 -05:00
Dale Mcdiarmid
1f5e6799ec revert contents change 2022-12-16 12:03:57 +00:00
Dale Mcdiarmid
8e84928f18 Merge branch 'cross-link-docs' of github.com:gingerwizard/ClickHouse into cross-link-docs 2022-12-16 12:01:58 +00:00
Dale Mcdiarmid
ba52210124 revert format issue 2022-12-16 12:00:12 +00:00
Robert Schulze
d1615ec283
Display metrics for query result cache 2022-12-16 10:49:15 +00:00
Smita Kulkarni
16d8fd02fb Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-12-16 08:52:48 +01:00
李扬
6ce9c7b8c2
Merge branch 'master' into improve_from_unixtime 2022-12-16 15:05:20 +08:00
Robert Schulze
3790952631
Move server-level settings into the appropriate document 2022-12-15 22:51:47 +00:00
Robert Schulze
4db33f16e3
Make DoS attack on cache less likely 2022-12-15 21:42:51 +00:00
Robert Schulze
c58bec0789
Fix grammar in docs 2022-12-15 20:21:02 +00:00
Robert Schulze
bcc54ab9b4
Add cfg for min query duration for caching 2022-12-15 20:10:37 +00:00
Robert Schulze
d92cdc5afd
Fix typo 2022-12-15 19:08:30 +00:00
Robert Schulze
08a36ac402
Improve documentation 2022-12-15 18:07:45 +00:00
Kruglov Pavel
c5b2e4cc23
Merge branch 'master' into improve-streaming-engines 2022-12-15 18:44:35 +01:00
Robert Schulze
f3f4f0c7a6
Slightly clearer docs 2022-12-15 17:33:30 +00:00
Kruglov Pavel
00d80e44cc
Fix typos 2022-12-15 16:18:40 +01:00
Kruglov Pavel
7657f16e2a
Add missing documentation for some schema inference settings 2022-12-15 16:17:18 +01:00
Kruglov Pavel
0816626373
Update docs 2022-12-15 16:10:06 +01:00
Sergei Trifonov
f0de30de92
fix typos 2022-12-15 14:11:16 +01:00
Robert Schulze
3a0bd18b62
Typos 2022-12-15 13:06:24 +00:00
Robert Schulze
537c64aad2
Merge remote-tracking branch 'origin/master' into query-result-cache
Conflicts:
- tests/queries/0_stateless/02117_show_create_table_system.reference
2022-12-15 12:17:58 +00:00
Robert Schulze
973d4f75de
More intuitive active/passive enablement of query result cache 2022-12-15 12:16:36 +00:00
Robert Schulze
f1e367179e
Make maximum record count per item configurable 2022-12-15 11:16:44 +00:00
Robert Schulze
e52dfaf45c
Make number of cached items configurable 2022-12-15 10:08:28 +00:00
Dan Roscigno
3310a8edd9
Merge branch 'master' into cross-link-docs 2022-12-14 22:05:46 -05:00
李扬
db0091d5f2
Merge branch 'master' into improve_from_unixtime 2022-12-15 10:11:32 +08:00
Dan Roscigno
8870beb42e
Update summingmergetree.md 2022-12-14 13:55:42 -05:00
Dale Mcdiarmid
22e8477b2a cross link dictionaries + udf posts£ 2022-12-14 15:01:15 +00:00
Vladimir C
06ff93d801
Merge pull request #39129 from unbyte/issue-28967
closes https://github.com/ClickHouse/ClickHouse/issues/28967
2022-12-14 12:17:44 +01:00
taiyang-li
58cbd8162f Add new functions to format datetime in joda datetime style 2022-12-14 14:28:43 +08:00
Alexey Milovidov
4549b14027
Revert "Add function 'age'" 2022-12-13 23:28:09 +03:00
Alexander Tokmakov
f9d63de22f
Merge pull request #43468 from lingtaolf/feature/add_create_database_query
Add engine_full column to system.databases
2022-12-13 23:00:42 +03:00
vdimir
a591213925
Add info about underscores in numbers to doc 2022-12-13 13:00:39 +01:00
李扬
6e5e2d5923
Merge branch 'master' into improve_concat 2022-12-13 12:12:48 +08:00
Peignon Melvyn
69fc75a717
Clearer message about Float vs Decimal (#44175)
* Clearer message about Float vs Decimal

* Update docs/en/sql-reference/data-types/float.md

Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2022-12-12 23:19:07 +01:00
avogar
f3e37c2c9b Merge branch 'refactor-schema-inference' of github.com:Avogar/ClickHouse into refactor-schema-inference 2022-12-12 14:47:04 +00:00
Kruglov Pavel
a03549df28
Apply suggestions from code review
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-12-12 15:46:03 +01:00
Robert Schulze
fc972d760f
Make it configurable if queries with non-deterministic functions are cached 2022-12-12 14:03:21 +00:00
Robert Schulze
b78652e138
Query result cache 2022-12-12 10:37:10 +00:00
Dan Roscigno
59e93bc9c6
Merge branch 'master' into improve_build 2022-12-09 12:40:46 -05:00
Alexander Tokmakov
714666e944 Merge branch 'master' into feature/add_create_database_query 2022-12-09 17:47:15 +01:00
ltrk2
4cbda15acf Drop toFractionalSecond 2022-12-09 07:52:27 -08:00
avogar
cd4fa00d2c Merge branch 'master' of github.com:ClickHouse/ClickHouse into refactor-schema-inference 2022-12-09 14:45:10 +00:00
Kruglov Pavel
59201c71cb
Merge pull request #44052 from Avogar/object-as-string
Allow to parse JSON objects into Strings in JSON input formats
2022-12-09 15:12:25 +01:00
Dan Roscigno
1027ce8d77
Add issue list when running mismatched versions 2022-12-09 08:43:26 -05:00
Sergei Trifonov
7c37e48092
Merge pull request #43903 from ClickHouse/merge_tree_settings_constraints
Constraints on merge tree settings
2022-12-09 14:16:14 +01:00
Dan Roscigno
5782a95ee6
Merge branch 'master' into rolling-upgrade 2022-12-09 07:10:35 -05:00
Nikolay Degterinsky
43ef217134
Merge branch 'master' into patch-1 2022-12-09 10:01:18 +01:00
San
1fe7fb01ff
Update html interface doc
Fixing doc to recommend user NOT to use username and password in URL parameters
2022-12-09 01:15:50 +00:00
Dan Roscigno
791e88ab3d
Merge branch 'master' into rolling-upgrade 2022-12-08 19:05:26 -05:00
DanRoscigno
5e909c1684 add notes from tavplubix 2022-12-08 19:05:05 -05:00
ltrk2
cae7a1d24a Implement formatDateTime fractional second formatter 2022-12-08 14:53:16 -08:00
Sergei Trifonov
bae1519970
Merge branch 'master' into merge_tree_settings_constraints 2022-12-08 22:25:16 +01:00
Dan Roscigno
b026f5583b
Merge pull request #44048 from ClickHouse/fix-case
Update exponentialmovingaverage.md
2022-12-08 15:45:15 -05:00
DanRoscigno
6051301bfe add overview of rolling upgrade 2022-12-08 15:40:47 -05:00
Kruglov Pavel
0d17774440
Better example in docs 2022-12-08 20:57:28 +01:00
avogar
d0f9bb2ec2 Allow to parse JSON objects into Strings 2022-12-08 18:58:18 +00:00
Dan Roscigno
e99456605d
Update exponentialmovingaverage.md 2022-12-08 11:40:27 -05:00
Yakov Olkhovskiy
0641066183
Merge branch 'master' into refactoring-ip-types 2022-12-08 11:12:05 -05:00
Nikolay Degterinsky
bd23b0fa61
Fix docs 2022-12-08 14:17:55 +01:00
vahid-sohrabloo
8594274e99
fix docs 2022-12-07 22:50:27 +01:00
avogar
7375a7d429 Refactor and improve schema inference for text formats 2022-12-07 21:19:27 +00:00
Ivan Blinkov
2c098cbcf7
[docs] link to GitHub from the install page 2022-12-07 18:15:59 +03:00
李扬
c297f9d22a
Merge branch 'master' into improve_concat 2022-12-07 19:59:01 +08:00
Dan Roscigno
c5eb269515
Merge pull request #43943 from DanRoscigno/update-operations-docs
Update operations docs
2022-12-05 20:58:42 -05:00
Dale Mcdiarmid
5ab5aa13f4 cross link docs to blogs 2022-12-05 17:28:03 +00:00
Robert Schulze
b14de0017c
Merge pull request #43788 from arenadata/ADQM-626
Add support of array parameters in `cutURLParameter` function
2022-12-05 16:18:42 +01:00
DanRoscigno
538d9cf598 update link 2022-12-05 08:26:59 -05:00
DanRoscigno
08e8ea1bfa update link 2022-12-05 08:23:51 -05:00
DanRoscigno
6f2dc66700 separate Cloud and self-managed upgrade pages 2022-12-05 08:19:44 -05:00
DanRoscigno
d38ce99b62 separate Cloud and self-managed backup pages 2022-12-05 08:15:15 -05:00
DanRoscigno
851922c827 use clickhouse.com URL 2022-12-05 08:08:55 -05:00
DanRoscigno
62ea058954 fix case of ClickHouse 2022-12-05 08:07:52 -05:00
taiyang-li
88c9438515 rename function 2022-12-05 17:38:25 +08:00
Roman Vasin
a09e7fddcc
Merge branch 'master' into ADQM-626 2022-12-04 20:34:55 +03:00
Roman Vasin
bcb65eb420
Merge branch 'master' into ADQM-623 2022-12-04 20:21:27 +03:00
Kseniia Sumarokova
ec7649cd90
Merge pull request #43639 from CurtizJ/trace-profile-events
Allow to send profile events to `system.trace_log`
2022-12-04 15:50:07 +01:00
Sergei Trifonov
7b80788ed5
Merge branch 'master' into merge_tree_settings_constraints 2022-12-03 15:44:53 +01:00
Amila Welihinda
34d420cb3f
fix broken link 2022-12-02 14:27:57 -08:00
Sergei Trifonov
e27e79b45d
Merge branch 'master' into merge_tree_settings_constraints 2022-12-02 20:51:31 +01:00
serxa
006af1b6a4 constraints on merge tree settings 2022-12-02 19:30:14 +00:00
Roman Vasin
373a353ed9 Update docs 2022-12-02 17:34:02 +00:00
Kruglov Pavel
c35b2a6495
Add a limit for string size in RowBinary format (#43842) 2022-12-02 13:57:11 +01:00
Roman Vasin
59523864b9
Merge branch 'master' into ADQM-623 2022-12-02 15:00:09 +03:00
Robert Schulze
da0002c4c4
Document how the library-bridge port can be changed
Fixes #43605
2022-12-02 10:54:54 +00:00
Dan Roscigno
933f2a93f3
Update docs/en/operations/caches.md 2022-12-01 17:52:50 -05:00
Roman Vasin
325cd07fa1 Update docs 2022-12-01 13:47:44 +00:00
Roman Vasin
cea63dbca0 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-626 2022-12-01 07:32:06 +00:00
taiyang-li
f14582334c Add function concatWs 2022-12-01 10:56:53 +08:00
Ivan Blinkov
15f8030e04
[docs] minor improvements to "Cache Types" article 2022-11-30 21:47:50 +03:00
Roman Vasin
96d7cf319b
Merge branch 'master' into ADQM-623 2022-11-30 19:25:53 +03:00
Roman Vasin
107a0d50f3 Update docs 2022-11-30 16:12:58 +00:00
Anton Popov
fd262cb56b update docs for trace_log 2022-11-30 14:48:46 +00:00
Dan Roscigno
d8d364914d
Merge pull request #43774 from ClickHouse/DanRoscigno-patch-2
Clarify CREATE TABLE AS SELECT docs
2022-11-29 07:52:34 -05:00
Igor Nikonov
278017d854
Merge pull request #43743 from ClickHouse/ann-index-docs-fixes
Minor fixes in annoy index documentation
2022-11-29 11:33:48 +01:00
Roman Vasin
668366af4a Update documentation 2022-11-29 07:10:31 +00:00
Camden Cheek
92c9ebe4ee
Update documentation example for REPLACE TABLE
The example statement for `REPLACE TABLE` using a `SELECT` query does not run as written. The example was missing a query engine, engine options, and the `AS` keyword, all of which seem required to replace a table with the output of some query.
2022-11-28 17:41:52 -07:00
Alexander Gololobov
8c6fc171fc Fix EN doc as in #43765 2022-11-28 21:24:43 +01:00
DanRoscigno
bad28f4a25 fix highlight 2022-11-28 14:19:00 -05:00
Dan Roscigno
4ab04d6461
Update table.md 2022-11-28 14:08:08 -05:00
Smita Kulkarni
953e1068b5 Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-11-28 19:10:32 +01:00
Yakov Olkhovskiy
770b520ded
Merge branch 'master' into refactoring-ip-types 2022-11-28 08:50:19 -05:00
Robert Schulze
8655d1d4d3
Update annindexes.md 2022-11-28 11:23:08 +01:00
Robert Schulze
d587b3f978
Minor fixes in annoy index documentation 2022-11-28 09:09:09 +00:00
Robert Schulze
dce0b78198
Merge pull request #42778 from FArthur-cmd/annoy_cosine
Add cosine distance for annoy
2022-11-28 09:53:17 +01:00
Nikolay Degterinsky
02ec25cdfe
Update explain.md 2022-11-27 13:40:46 +01:00
Vladimir C
ff5bb69584
Merge branch 'master' into zvonand-decdiv 2022-11-25 17:05:22 +01:00
Yakov Olkhovskiy
19a01b77eb refactoring on settings for casting, dirty hack for inaccessable context in cast function (will require review), docs appended 2022-11-25 15:57:49 +00:00
Peignon Melvyn
41d405476a
Fix typo in replication.md (#43643) 2022-11-25 13:57:19 +01:00
Alexander Gololobov
038cac1892 add engine_full to system table databases 2022-11-25 10:11:12 +08:00
zvonand
d42a29ac0f fix ubsan + expand docs 2022-11-24 01:23:59 +03:00
Dan Roscigno
b2b4e1017f
Merge pull request #43363 from CamiloSierraH/patch-6
ATTACH query ignores the SELECT query on MV
2022-11-23 11:35:15 -05:00
Dan Roscigno
31f346e2e5
Merge pull request #43330 from CamiloSierraH/patch-5
adding one link and note about disk usage for projections
2022-11-23 11:32:56 -05:00
Camilo Sierra
ca3f819401
Update docs/en/sql-reference/statements/create/view.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-11-23 16:53:21 +01:00
Dan Roscigno
0e0fef4f51
Merge branch 'master' into patch-6 2022-11-23 10:41:39 -05:00
Dan Roscigno
02a0d4f2e5
Update docs/en/sql-reference/statements/alter/projection.md 2022-11-23 10:39:10 -05:00
Maksim Kita
db1b971643
Merge pull request #43451 from ClickHouse/explain-query-tree-run
Set run_passes to 1 by default
2022-11-23 01:30:49 +03:00
Alexey Milovidov
25780be0c6
Merge pull request #42265 from taofengliu/group_by_all
Support GROUP BY ALL
2022-11-22 20:08:23 +01:00
zvonand
faef0699b6 fix issues 2022-11-22 17:30:44 +03:00
Kruglov Pavel
98d6b96c82
Merge pull request #42033 from mark-polokhov/BSONEachRow
Add BSONEachRow input/output format
2022-11-22 14:45:21 +01:00
Dmitry Novik
18cea75f4f Add docs for EXPLAIN QUERY TREE 2022-11-21 17:07:04 +00:00
Kruglov Pavel
406c50277b
Merge pull request #42779 from Avogar/add-format-func-doc
Add documentation for 'format' table function
2022-11-21 15:16:26 +01:00
Antonio Andelic
3cb202a63b
Merge pull request #43026 from JackyWoo/keeper_manually_assign_leader
Keeper support manually assigning leader
2022-11-21 09:30:00 +01:00
taofengliu
66f101e451 Merge remote-tracking branch 'upstream/master' into group_by_all 2022-11-19 22:36:31 +08:00
taofengliu
a529943d9f Merge remote-tracking branch 'upstream/master' into group_by_all 2022-11-19 21:11:23 +08:00
Vitaliy
9e38b14fc1
docs: Clarified ZooKeeper tips comments. 2022-11-18 12:08:07 -05:00
Sergei Trifonov
d05223e70b
Merge pull request #43335 from ClickHouse/revert-43306-revert-43014-disk-s3-throttler
Revert "Revert "S3 request per second rate throttling""
2022-11-18 16:22:30 +01:00
Camilo Sierra
bbf311ea94
We can not update the select query
An issue was opened as the select query was not updated after the alert of the view was executed, this is because the select gets ignored, the only way to change it is DROP/CREATE the view again.
So I want to add this information into our doc.
2022-11-18 12:31:33 +01:00
Nikolay Degterinsky
e7e21adf17
Merge pull request #43207 from freedomDR/improve_unhex
unhex support FixedString arguments
2022-11-18 03:09:58 +01:00
Sergei Trifonov
f2f0676bcc
Revert "Revert "S3 request per second rate throttling"" 2022-11-17 17:35:04 +01:00
Camilo Sierra
d527ca5d9d
adding one link and note about disk usage
I have found a great page that explain more in deep the Projections, and with images explain how they work behind the scenes.
I have also added a note as it's true we do not mention that creating projections will increase the disk usage.
2022-11-17 15:41:47 +01:00
Nikita Taranov
11b535d443
impl (#43283) 2022-11-17 11:17:27 +01:00
DanRoscigno
93dde0b3f9 Update docs for Date32 2022-11-16 16:18:20 -05:00
Alexander Tokmakov
9011a18234
Revert "S3 request per second rate throttling" 2022-11-16 22:33:48 +03:00
Sergei Trifonov
159743edd6
Merge pull request #43014 from ClickHouse/disk-s3-throttler
S3 request per second rate throttling
2022-11-16 18:51:06 +01:00
Dan Roscigno
15bd5db4dd
Merge branch 'ClickHouse:master' into add-tutorial-link 2022-11-16 11:59:06 -05:00
DanRoscigno
5e087ae967 link to tutorial 2022-11-16 11:54:06 -05:00
Nikolay Degterinsky
00554ecd00
Merge pull request #43271 from evillique/fix-docs-2
Fix docs
2022-11-16 15:12:28 +01:00
Smita Kulkarni
c84a50e77c Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-11-16 12:40:04 +01:00
Maksim Kita
64b2a4d1bf
Merge pull request #43110 from bigo-sg/function_factorial
Add function factorial
2022-11-16 12:49:47 +03:00
Alexey Milovidov
1ec21e5890
Merge branch 'master' into group_by_all 2022-11-16 06:14:04 +01:00
Nikolay Degterinsky
81971acf35 Fix docs 2022-11-16 02:40:51 +00:00
JackyWoo
f8d71f60a2
Merge branch 'master' into keeper_manually_assign_leader 2022-11-16 09:34:40 +08:00
李扬
d9adf2f02d
fix doc 2022-11-16 09:34:04 +08:00
Dan Roscigno
b178a3711c
Merge branch 'master' into standardize-dictionary-categories 2022-11-15 16:18:18 -05:00
DanRoscigno
c60b98f576 updates from review 2022-11-15 16:17:43 -05:00
Dan Roscigno
fbff52847c
Merge pull request #43242 from cwurm/datetime_spelling
Docs: Unify spelling of DateTime
2022-11-15 15:09:35 -05:00
DanRoscigno
7e08798fa8 edits 2022-11-15 13:47:50 -05:00
Camilo Sierra
2a48fb344d
Added examples and extra info to projections
I have added two examples about how we can use projections
2022-11-15 19:22:46 +01:00
DanRoscigno
63ae261119 move tip to snippet 2022-11-15 12:44:54 -05:00
DanRoscigno
5aae1d0724 update note ot include default user 2022-11-15 10:49:13 -05:00
avogar
2af60f34eb Restrict document size in parallel parsing, allow to read ObjectId/JS code into String column 2022-11-15 13:35:17 +00:00
avogar
4d993e653a Fix build and style 2022-11-15 13:06:24 +00:00
Christoph Wurm
2a9ab046dd Unify spelling of DateTime 2022-11-15 11:51:14 +00:00
Kseniia Sumarokova
59cf5def67
Merge branch 'master' into disk-s3-throttler 2022-11-15 12:13:37 +01:00
freedomDR
37c448c6be complete unhex doc 2022-11-15 12:33:14 +08:00
Dan Roscigno
b5a306c4db
Merge branch 'master' into standardize-dictionary-categories 2022-11-14 21:30:05 -05:00
taiyang-li
7178d80c51 Merge branch 'function_factorial' of https://github.com/bigo-sg/ClickHouse into function_factorial 2022-11-15 09:46:44 +08:00
taiyang-li
5eba20e119 modify return type from Int64 to UInt64 2022-11-15 09:46:24 +08:00
李扬
10449247fd
Merge branch 'master' into function_factorial 2022-11-15 09:34:43 +08:00
李扬
1de5bb2392
Add function canonicalRand (#43124)
* add function canonicalRand

* add perf test

* revert rand.xml
2022-11-15 00:27:19 +01:00
李扬
ef45889ecb
Add function pmod which return non-negative result based on modulo (#42755)
* add function positive_modulo

* add ducument

* fix type deduction of positive_modulo

* add function positive_modulo

* add ducument

* fix type deduction of positive_modulo

* add notice

* fix typo

* fix typo

* fix bug

* fix ub error

* fix ub error
2022-11-15 00:15:58 +01:00
Dan Roscigno
b30a0656e1
Merge pull request #43226 from ClickHouse/DanRoscigno-patch-4
Update set-role.md
2022-11-14 17:01:51 -05:00
Dale Mcdiarmid
fcf8e5bfd0 Merge remote-tracking branch 'upstream/master' into git_analysis 2022-11-14 20:07:21 +00:00
Dale Mcdiarmid
d557bece04 fix consecutive days query 2022-11-14 20:06:41 +00:00
avogar
842d25c358 Minor improvements, better docs 2022-11-14 20:05:01 +00:00
Dan Roscigno
00fe401961
Merge pull request #43224 from ClickHouse/DanRoscigno-patch-2
Update permissions-for-queries.md
2022-11-14 14:35:12 -05:00
DanRoscigno
5d6c622e40 apply suggestions and simplify 2022-11-14 14:20:55 -05:00
Dan Roscigno
4b182e7b58
Update set-role.md 2022-11-14 12:17:31 -05:00
DanRoscigno
446c029810 make read only clearer 2022-11-14 11:53:44 -05:00
Dan Roscigno
b8bb7e3842
Merge branch 'master' into git_analysis 2022-11-14 11:36:02 -05:00
Dan Roscigno
4a90f8d3f5
Update permissions-for-queries.md
closes https://github.com/ClickHouse/ClickHouse/issues/43068
2022-11-14 11:34:06 -05:00
Dale Mcdiarmid
3c21c1cba7 fixed tests query 2022-11-14 14:00:47 +00:00
Kruglov Pavel
58b7f6ca04
Merge pull request #42320 from Avogar/improve-schema-inference-insert-select
Improve using structure from insertion table in table functions
2022-11-14 14:51:27 +01:00
Dale Mcdiarmid
a0fadf8ba7 more improvements + flipped sankey 2022-11-14 09:59:47 +00:00
Roman Vasin
ee0baa679b Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-623 2022-11-14 09:45:32 +00:00
李扬
bf88816da4
Merge branch 'master' into function_factorial 2022-11-14 10:30:41 +08:00
Dale Mcdiarmid
c2a3d83197 fix link 2022-11-12 20:20:35 +00:00
Dale Mcdiarmid
b5428f535e fix 2022-11-12 20:19:29 +00:00
FArthur-cmd
5eebc27d24 improve test 2022-11-12 09:23:49 +00:00
Smita Kulkarni
4dec8337f0 Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-11-11 19:04:35 +01:00
Dale Mcdiarmid
b010645c91 play links 2022-11-11 13:40:10 +00:00
avogar
564d83bbc7 Better handle uint64 2022-11-11 13:24:12 +00:00
avogar
94c6dc42eb Use better types 2022-11-11 13:17:48 +00:00
Kruglov Pavel
0270f6003c
Merge branch 'master' into add-format-func-doc 2022-11-11 14:05:34 +01:00
Dale Mcdiarmid
fbe84e0853 Merge remote-tracking branch 'upstream/master' into git_analysis 2022-11-11 12:34:53 +00:00
Dale Mcdiarmid
e064fb38cc edits to github repo analysis 2022-11-11 12:34:23 +00:00
Robert Schulze
cbe4e2b8ce
Merge pull request #42673 from bigo-sg/enable_max_splits
Add optional max_tokens argument for function splitByRegexp
2022-11-11 11:11:26 +01:00
Roman Vasin
35a1c406ad Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-623 2022-11-11 07:35:44 +00:00
avogar
9e89af28c6 Refactor BSONEachRow format, fix bugs, support more data types, support parallel parsing and schema inference 2022-11-10 20:15:14 +00:00
DanRoscigno
790a3b94fa bad code indent 2022-11-10 14:08:54 -05:00
Dan Roscigno
2e5a3adaf0
Merge branch 'master' into git_analysis 2022-11-10 13:56:00 -05:00
DanRoscigno
312875627b spelling 2022-11-10 13:55:39 -05:00
DanRoscigno
978f567d42 broken img markdown? 2022-11-10 13:47:35 -05:00
Dale Mcdiarmid
5c147262e9 add toc 2022-11-10 16:36:30 +00:00
Dale Mcdiarmid
49e53e48f9 initial analysis 2022-11-10 15:32:06 +00:00
taiyang-li
f58e960a7d update as request 2022-11-10 21:07:44 +08:00
Roman Vasin
753895026f Improve docs and add more queries to 02477_age test 2022-11-10 12:18:29 +00:00
Roman Vasin
31d84d5aed Add doc for age() function 2022-11-10 12:05:53 +00:00
taiyang-li
839de0cd09 add function factorial 2022-11-10 16:03:11 +08:00
JackyWoo
8e881e6009
Merge branch 'master' into keeper_manually_assign_leader 2022-11-10 14:38:04 +08:00
serxa
7448d1bb5d add docs 2022-11-09 14:58:41 +00:00
zvonand
90e3aed957 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-decdiv 2022-11-09 15:05:31 +03:00
李扬
9b2dd49b4a
Merge branch 'master' into enable_max_splits 2022-11-09 15:31:06 +08:00
DanRoscigno
c822c8161f fix nav 2022-11-08 20:21:26 -05:00
DanRoscigno
45c9debeaf update links 2022-11-08 19:17:58 -05:00
DanRoscigno
d225366335 update links 2022-11-08 18:04:22 -05:00
DanRoscigno
090b153b1e a dir named index with index.md broke nav 2022-11-08 17:37:20 -05:00
Dan Roscigno
616c3e219b
Merge branch 'master' into fix-pagination 2022-11-08 10:14:33 -05:00