Commit Graph

16495 Commits

Author SHA1 Message Date
Dmitry Novik
f6733ac7ab
Add documentation for ATTACH DATABASE 2023-11-03 01:21:11 +01:00
Dmitry Novik
49d553369e
Add info about DETACH DATABASE 2023-11-03 01:12:58 +01:00
Peignon Melvyn
5d939f6df0
Update detach.md
Added detach database
2023-11-03 00:23:56 +01:00
Robert Schulze
910477b1bd
Add FROM_DAYS() alias 2023-11-02 21:43:17 +00:00
Robert Schulze
0b587d3cea
Remove overflow setting
Reason 1:
- https://github.com/ClickHouse/ClickHouse/pull/55696#issuecomment-1774130793
  Basically: Setting `date_time_overflow_behavior` applies only to
  conversions between Date <-> Date32 <-> DateTime <-> DateTime64 but
  it does not control the behavior of functions.

Reason 2:
- It's overkill (even if well-intented overkill). ClickHouse generally
  has a garbage in - garbate out philosophy, so that should be the
  default behavior which corresponds to behavior "ignore". Moreover,
  function 'fromDaysSinceYearZero()' mostly exists for compatibility /
  parity with MySQL and MySQL takes the same stance.
2023-11-02 21:43:17 +00:00
Robert Schulze
492af27feb
Update docs 2023-11-02 20:56:01 +00:00
robot-clickhouse
a8aa32fd3d Update version_date.tsv and changelogs after v23.10.1.1976-stable 2023-11-02 19:34:42 +00:00
Sema Checherinda
90b64bcdb9 backward compatibility and implementation feature storage_metadata_write_full_object_key 2023-11-02 15:20:55 +01:00
robot-clickhouse
13adae0e42
Merge pull request #56244 from ne1r0n/patch-4
[Docs] fix typo
2023-11-02 14:59:19 +01:00
Nikita Taranov
b078443826
Fix typo in largestTriangleThreeBuckets.md (#56263) 2023-11-02 14:45:13 +01:00
Robert Schulze
79cbaf406d
Merge pull request #56199 from yokofly/update-cross-compile-doc
[Docs] Update cross-compilation guide for OSX
2023-11-02 13:38:06 +01:00
Robert Schulze
6d08a441fa
Update build-cross-osx.md 2023-11-02 12:41:31 +01:00
vdimir
14ba4696f9
Rename jaccardIndex -> stringJaccardIndex, upd doc 2023-11-02 11:37:50 +00:00
vdimir
1f936d1966
upd byteHammingDistance doc 2023-11-02 11:37:50 +00:00
Alexey Milovidov
1267246785
Merge pull request #55642 from ClickHouse/morton-utils
Indexing by space-filling curves
2023-11-02 12:21:33 +01:00
yokofly
84fd2191c9 fix comment:
Simplify ARM build instructions with replacement note
2023-11-02 03:55:22 -07:00
Alexander Chashnikov
3d88614e6b
fix typo
asteriks -> asterisk
2023-11-02 10:56:17 +02:00
袁焊忠
47d9b0e6a1
[hotfix] [docs] Fix typo 2023-11-02 15:56:45 +08:00
Justin de Guzman
782d67766d
[Docs] Specify IAM role necessary for GCS table function 2023-11-01 21:56:20 -07:00
yokofly
46703bf7b9 Merge remote-tracking branch 'origin/master' into update-cross-compile-doc 2023-11-01 18:48:29 -07:00
yokofly
d2f9107889 clean blank 2023-11-01 18:47:56 -07:00
robot-ch-test-poll1
a5fb7b0a1e
Merge pull request #56213 from ttanay/sort-spill-to-disk-docs
Add `max_bytes_before_external_sort` setting to query complexity doc
2023-11-02 00:50:30 +01:00
Denny Crane
d145ddb293 fix asell 2023-11-02 00:01:42 +01:00
Tanay Tummalapalli
f1634bd7d9
Update docs/ru/operations/settings/query-complexity.md
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2023-11-02 01:51:26 +05:30
Denny Crane
71322bde3f
Update index.md 2023-11-01 17:07:27 -03:00
Joanna Hulboj
757dc8b944 Fix typos, add to/fromDaysSinceYearZero to fuzz 2023-11-01 17:48:58 +00:00
Tanay Tummalapalli
6a3b2a04d8 Add max_bytes_before_external_sort setting to query complexity doc
The setting should be mentioned here along with
`max_bytes_before_external_group_by` setting.

Note: The russian translation is courtesy of Google Translate.
2023-11-01 22:33:25 +05:30
Azat Khuzhin
c25d6cd624
Rename directory monitor concept into background INSERT (#55978)
* Limit log frequence for "Skipping send data over distributed table" message

After SYSTEM STOP DISTRIBUTED SENDS it will constantly print this
message.

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

* Rename directory monitor concept into async INSERT

Rename the following query settings (with preserving backward
compatiblity, by keeping old name as an alias):
- distributed_directory_monitor_sleep_time_ms -> distributed_async_insert_sleep_time_ms
- distributed_directory_monitor_max_sleep_time_ms -> distributed_async_insert_max_sleep_time_ms
- distributed_directory_monitor_batch -> distributed_async_insert_batch_inserts
- distributed_directory_monitor_split_batch_on_failure -> distributed_async_insert_split_batch_on_failure

Rename the following table settings (with preserving backward
compatiblity, by keeping old name as an alias):
- monitor_batch_inserts -> async_insert_batch
- monitor_split_batch_on_failure -> async_insert_split_batch_on_failure
- directory_monitor_sleep_time_ms -> async_insert_sleep_time_ms
- directory_monitor_max_sleep_time_ms -> async_insert_max_sleep_time_ms

And also update all the references:

    $ gg -e directory_monitor_ -e monitor_ tests docs | cut -d: -f1 | sort -u | xargs sed -e 's/distributed_directory_monitor_sleep_time_ms/distributed_async_insert_sleep_time_ms/g' -e 's/distributed_directory_monitor_max_sleep_time_ms/distributed_async_insert_max_sleep_time_ms/g' -e 's/distributed_directory_monitor_batch_inserts/distributed_async_insert_batch/g' -e 's/distributed_directory_monitor_split_batch_on_failure/distributed_async_insert_split_batch_on_failure/g' -e 's/monitor_batch_inserts/async_insert_batch/g' -e 's/monitor_split_batch_on_failure/async_insert_split_batch_on_failure/g' -e 's/monitor_sleep_time_ms/async_insert_sleep_time_ms/g' -e 's/monitor_max_sleep_time_ms/async_insert_max_sleep_time_ms/g' -i

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

* Rename async_insert for Distributed into background_insert

This will avoid amigibuity between general async INSERT's and INSERT
into Distributed, which are indeed background, so new term express it
even better.

Mostly done with:

    $ git di HEAD^ --name-only | xargs sed -i -e 's/distributed_async_insert/distributed_background_insert/g' -e 's/async_insert_batch/background_insert_batch/g' -e 's/async_insert_split_batch_on_failure/background_insert_split_batch_on_failure/g' -e 's/async_insert_sleep_time_ms/background_insert_sleep_time_ms/g' -e 's/async_insert_max_sleep_time_ms/background_insert_max_sleep_time_ms/g'

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

* Mark 02417_opentelemetry_insert_on_distributed_table as long

CI: https://s3.amazonaws.com/clickhouse-test-reports/55978/7a6abb03a0b507e29e999cb7e04f246a119c6f28/stateless_tests_flaky_check__asan_.html
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

---------

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-01 15:09:39 +01:00
Kruglov Pavel
5533258091
Merge pull request #55477 from Avogar/streaming-errors
Allow to save unparsed records and errors in RabbitMQ, NATS and FileLog engines
2023-11-01 14:35:35 +01:00
Kruglov Pavel
bf77ce691c
Merge pull request #55982 from yariks5s/npy_input_format
New input format Npy
2023-11-01 14:26:22 +01:00
yokofly
6927a2cadf [Docs] Update cross-compilation guide for OSX
This commit addresses two primary changes:
1. Sync the cross-compilation code for use in the CI action docker:
   - Use `--depth=1` during cloning to reduce clone times.
   - Update to a newer version of the macOS SDK.
see:
eb3a7caa74/docker/packager/binary/Dockerfile (L82)

2. Intro cross-compilation support for aarch64 OSX. The key change involves replacing the `x86_64` phase with `aarch64`, which is the current configuration we use.
2023-11-01 05:46:18 -07:00
Nikolai Kochetov
4deaf7cefb
Merge pull request #56134 from yariks5s/force_optimize_projection_name
Implementing force_optimize_projection_name
2023-11-01 13:12:10 +01:00
vdimir
b0f6b18f6e
Merge pull request #56125 from bezik/patch-10
Update tutorial.md [en→ru]
2023-11-01 10:59:27 +01:00
Nikolay Degterinsky
cd779d4f50
Merge pull request #55856 from ClickHouse/rewrite-delete-docs
Rewrite DELETE docs
2023-11-01 00:10:01 +01:00
Joanna Hulboj
e5b4d7fac7 Fix failing checks 2023-10-31 21:00:11 +00:00
Justin de Guzman
a011990fd7
Add clangd recommendation for VS Code (#56071)
* Add clangd recommendation for VS Code

* Edit docs for clarity and add links

* Adds new words to dictionary. Sorts dictionary.

---------

Co-authored-by: johnnymatthews <9611008+johnnymatthews@users.noreply.github.com>
2023-10-31 16:35:47 +01:00
Robert Schulze
13b2946ae2
Merge pull request #55960 from rschu1ze/adddate-stringargs
Support string-encoded date arguments in `addDate()`
2023-10-31 15:37:34 +01:00
AN
004593f808
Update docs/ru/getting-started/tutorial.md
Co-authored-by: vdimir <vdimir@clickhouse.com>
2023-10-31 15:39:54 +03:00
AN
5b834f31a6
Update docs/ru/getting-started/tutorial.md
Co-authored-by: vdimir <vdimir@clickhouse.com>
2023-10-31 15:39:03 +03:00
AN
5c1b9dc51b
Update docs/ru/getting-started/tutorial.md
Co-authored-by: vdimir <vdimir@clickhouse.com>
2023-10-31 15:27:11 +03:00
AN
5f390966c1
Update docs/ru/getting-started/tutorial.md
Co-authored-by: vdimir <vdimir@clickhouse.com>
2023-10-31 15:14:43 +03:00
AN
c2d2123af0
Update docs/ru/getting-started/tutorial.md
Co-authored-by: vdimir <vdimir@clickhouse.com>
2023-10-31 15:14:24 +03:00
AN
c518494f00
Update docs/ru/getting-started/tutorial.md
Co-authored-by: vdimir <vdimir@clickhouse.com>
2023-10-31 15:13:54 +03:00
AN
2a2242d061
Update docs/ru/getting-started/tutorial.md
Co-authored-by: vdimir <vdimir@clickhouse.com>
2023-10-31 15:13:10 +03:00
AN
cc8663a211
Update docs/ru/getting-started/tutorial.md
Co-authored-by: vdimir <vdimir@clickhouse.com>
2023-10-31 15:12:48 +03:00
AN
df755539ab
Update docs/ru/getting-started/tutorial.md
Co-authored-by: vdimir <vdimir@clickhouse.com>
2023-10-31 15:06:26 +03:00
AN
153ef1caad
Update docs/ru/getting-started/tutorial.md
Co-authored-by: vdimir <vdimir@clickhouse.com>
2023-10-31 15:05:19 +03:00
Raúl Marín
f3a3ec53f6
Merge pull request #56124 from den-crane/patch-64
Beautify `show merges`
2023-10-31 11:02:10 +01:00
Smita Kulkarni
3fdf0daf1b Merge branch 'master' into 49507_Support_compression_for_keeper_protocol 2023-10-31 10:43:28 +01:00
Alexey Milovidov
d57710843d
Merge pull request #56145 from ClickHouse/auto/v23.3.15.29-lts
Update version_date.tsv and changelogs after v23.3.15.29-lts
2023-10-31 02:25:53 +01:00
Alexey Milovidov
f2b0b49128
Merge pull request #56148 from ClickHouse/auto/v23.7.6.111-stable
Update version_date.tsv and changelogs after v23.7.6.111-stable
2023-10-31 02:25:43 +01:00
Alexey Milovidov
28ab961134
Merge pull request #56147 from ClickHouse/auto/v23.9.3.12-stable
Update version_date.tsv and changelogs after v23.9.3.12-stable
2023-10-31 02:25:36 +01:00
robot-clickhouse
e4358cf48c Update version_date.tsv and changelogs after v23.7.6.111-stable 2023-10-31 01:08:19 +00:00
robot-clickhouse
1c92a20693 Update version_date.tsv and changelogs after v23.9.3.12-stable 2023-10-31 01:00:58 +00:00
robot-clickhouse
3d2e295855 Update version_date.tsv and changelogs after v23.8.5.16-lts 2023-10-31 00:58:27 +00:00
robot-clickhouse
16b02f960a Update version_date.tsv and changelogs after v23.3.15.29-lts 2023-10-31 00:55:37 +00:00
Alexey Milovidov
016285ea87
Merge branch 'master' into morton-utils 2023-10-31 01:47:16 +01:00
yariks5s
0846714052 added docs, changed tests 2023-10-30 17:17:53 +00:00
AN
ce063a67f6
Update tutorial.md [en→ru]
Translation
2023-10-30 16:02:21 +03:00
Denny Crane
3535adf2af
Update show.md 2023-10-30 09:53:23 -03:00
yariks5s
9a2d89e3e4 removed getSize() and enhanced docs 2023-10-30 12:42:19 +00:00
Justin de Guzman
e33dc02c8c
Add note clarifying Prometheus support in ClickHouse Cloud (#56069) 2023-10-30 13:35:02 +01:00
Sergei Trifonov
58824fb02b
Merge pull request #56030 from azat/disks/least_used-fix
Fix incorrect free space accounting for least_used JBOD policy
2023-10-30 09:04:38 +01:00
Alexey Milovidov
3631e476eb
Merge pull request #54947 from amosbird/minmax-combinator
Introduce -ArgMin/-ArgMax combinators.
2023-10-30 03:35:28 +01:00
robot-ch-test-poll2
088a3ada7f
Merge pull request #56070 from ClickHouse/docs-dictionary-updates
Clarify query behavior dictionary updates
2023-10-30 01:20:21 +01:00
Alexey Milovidov
6eff22568f
Revert "Add function getHttpHeader" 2023-10-29 19:50:39 +03:00
Azat Khuzhin
c7f392500e Fix incorrect free space accounting for least_used JBOD policy
Before least_used fails to detect when the disk started to have more
space, it works only when the disk starts to have less space.

The reason for this is that it uses priority_queue, and once the disk
goes at the bottom of the queue, free space will not be updated for it
until it will be selected again.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-10-29 17:36:31 +01:00
Rich Raposa
d6a09a6efa
Merge pull request #56100 from ClickHouse/amazon_reviews
Update the Amazon reviews
2023-10-28 22:23:54 -06:00
justindeguzman
9fecf429b1 Docs: edit lightweight DELETE docs based on feedback 2023-10-28 20:23:26 -07:00
rfraposa
a993683a5b Update amazon-reviews.md 2023-10-28 19:34:04 -06:00
robot-clickhouse-ci-2
73c5312392
Merge pull request #56084 from bezik/patch-5
Update performance.md
2023-10-28 22:03:53 +02:00
rfraposa
11f2dd1d10 Update amazon-reviews.md 2023-10-28 13:13:24 -06:00
rfraposa
7ab492edad Update amazon-reviews.md 2023-10-28 12:58:47 -06:00
robot-clickhouse-ci-1
8c63d56cbb
Merge pull request #56094 from bezik/patch-9
Update install.md
2023-10-28 19:52:56 +02:00
AN
9fae0e06d8
Update install.md (ru)
Minor fixes (excessive space, some terms)
2023-10-28 17:41:53 +03:00
AN
f56ee313c7
Update install.md
Minor Russian-language related fixes (commas, dashes, etc.)
2023-10-28 12:25:15 +03:00
AN
146c5ce4d3
Update history.md
Minor Russian language-related fixes (primarily punctuation — dashes, commas, etc.)
2023-10-28 12:12:29 +03:00
yariks5s
894724bfb3 suggested changes 2023-10-28 01:17:25 +00:00
Justin de Guzman
940d099e84
Set correct max_block_size value in docs 2023-10-27 16:50:34 -07:00
AN
a6dd84aae2
Update performance.md
Minor language-related fixes (dashes, missing or explicit commas, standard terms, etc.)
2023-10-27 19:02:24 +03:00
yariks5s
23635352f1 fixed due to review 2023-10-27 15:43:03 +00:00
vdimir
36c1919d7f
Add CHECK ALL TABLES to docs 2023-10-27 15:22:11 +00:00
AN
f560e7ee52
Update architecture.md (#56049)
Minor fixes (typo found in comment pull/55985 by den-crane, punctuation style unification)
2023-10-27 15:36:05 +02:00
Smita Kulkarni
960927a323 Updated name to use_compression 2023-10-27 14:53:54 +02:00
Rory Crispin
b817ab45bd
Fix dead link to Virtual Columns 2023-10-27 12:03:15 +02:00
Robert Schulze
a68e8be08f
Merge pull request #55696 from zvonand/zvonand-datetime-ranges
Introduce setting `date_time_overflow_behavior` to control the overflow behavior when converting to `Date` / `Date32` / `DateTime` / `DateTime64`
2023-10-27 10:40:20 +02:00
Robert Schulze
5801b06529
Merge pull request #55983 from rschu1ze/snowflake-scale
Fix dateTime64ToSnowflake64() with non-default scale
2023-10-27 10:22:35 +02:00
Justin de Guzman
b51f90362d
Clarify query behavior dictionary updates 2023-10-27 00:20:32 -07:00
zvonand
35baf7792d cleanup after rebase, add [[unlikely]] 2023-10-26 23:56:45 +02:00
Robert Schulze
325ff33c3a
Merge pull request #55239 from aiven-sal/aiven-sal/format_query
Add formatQuery function
2023-10-26 22:46:01 +02:00
vdimir
dbaf66b8f2
Fix function_json_value_return_type_allow_nullable setting name in doc 2023-10-26 19:26:18 +02:00
Smita Kulkarni
d1d8f4b2e1 Merge branch 'master' into 49507_Support_compression_for_keeper_protocol 2023-10-26 16:56:03 +02:00
Alexander Tokmakov
fa963d60d0
Merge pull request #55641 from evillique/resubmit-cluster-groups
Resubmit #54421
2023-10-26 15:53:53 +02:00
Andrey Zvonov
71287788d1
Merge branch 'ClickHouse:master' into zvonand-datetime-ranges 2023-10-26 14:14:32 +02:00
robot-ch-test-poll4
73d6f0ddaf
Merge pull request #56040 from bezik/patch-3
Update index.md
2023-10-26 14:13:31 +02:00
Anton Popov
9e64f51ffa
Merge pull request #56020 from CurtizJ/minor-style-fixes
Correct the implementation of function `jsonMergePatch`
2023-10-26 13:26:55 +02:00
Salvatore Mesoraca
56bd61d207
Rename formatQueryOneLine -> formatQuerySingleLine 2023-10-26 13:09:20 +02:00
Salvatore Mesoraca
21e0c510c8
formatQuery: improve doc 2023-10-26 13:08:11 +02:00
AN
6487622d30
Update distinctive-features.md
Minor Russian language-related fixes (term unifications, hyphens, punctuation etc.)
2023-10-26 13:00:45 +03:00
AN
ba418271c0
Update index.md
Minor Russian language fixes (hyphens in compounds, term unification)
2023-10-26 12:51:34 +03:00
Andrey Zvonov
5737369d0b
Merge branch 'ClickHouse:master' into zvonand-datetime-ranges 2023-10-26 11:42:13 +02:00
vdimir
12890eb70c
Merge pull request #55806 from canhld94/rocksdb_trivial_count
Support trivial count for rocksdb and storage join
2023-10-26 11:22:38 +02:00
vdimir
1d5f75fd71
Merge pull request #53404 from ClickHouse/vdimir/check_table_improvements2
Improve CHECK TABLE system query, support checking part
2023-10-26 10:57:44 +02:00
Andrey Zvonov
6fccd55d30
Merge branch 'ClickHouse:master' into zvonand-datetime-ranges 2023-10-26 10:49:38 +02:00
robot-ch-test-poll4
23b7102a39
Merge pull request #55985 from bezik/patch-2
Update architecture.md
2023-10-26 10:11:32 +02:00
robot-ch-test-poll3
90c8efa23f
Merge pull request #55979 from kitaisreal/add-show-setting-query
Add SHOW SETTING query
2023-10-26 09:09:25 +02:00
zvonand
0766c73aab Rename date_time_overflow_mode -> date_time_overflow_behavior, moved it to format settings 2023-10-25 23:11:13 +02:00
zvonand
5b86e8c714 updated after review 2023-10-25 23:10:58 +02:00
zvonand
2f3695add8 Introduce setting for dt overflow exception
Added tests and docs
2023-10-25 23:10:24 +02:00
Alexey Milovidov
bb5a60dc19
Merge pull request #55893 from ClickHouse/revert-partial-result-2
Revert "Revert "Revert "Add settings for real-time updates during query execution"""
2023-10-25 22:20:28 +02:00
Nikolay Degterinsky
95f58777e9 Fix style 2023-10-25 19:04:30 +00:00
Nikolay Degterinsky
97c99132e0 Simplify the implementation 2023-10-25 19:02:48 +00:00
Dmitry Novik
e25ce7c5fb
Merge pull request #56007 from nellicus/patch-1
Fix toDayOfWeek return value description
2023-10-25 20:21:20 +02:00
Maksim Kita
108df081b7 Add documentation 2023-10-25 18:49:00 +03:00
Anton Popov
3e6ecf1858 correct the implementation of function jsonMergePatch 2023-10-25 15:17:28 +00:00
Dmitry Novik
3973b24302
Update docs/en/sql-reference/functions/date-time-functions.md 2023-10-25 16:58:25 +02:00
Anton Popov
6ba59b8408
Merge pull request #54364 from Joeywzr/master
Support jsonMerge function
2023-10-25 15:27:16 +02:00
Robert Schulze
5067fb342f
Support-encoded date arguments in addDate() 2023-10-25 10:41:18 +00:00
yariks5s
2ab1ae42c1 added docs and tests, style check 2023-10-25 10:37:05 +00:00
Antonio Bonuccelli
8861f8b6ea
Fix toDayOfWeek return value description
Fix toDayOfWeek return value description
2023-10-25 11:50:41 +02:00
Raúl Marín
6068277af9
Merge pull request #55815 from jetgm/master
Add SHOW MERGES
2023-10-25 11:44:30 +02:00
Robert Schulze
a7e582fb11
Fix style, pt. II 2023-10-25 09:35:39 +00:00
Raúl Marín
bee9eb5df4
Merge pull request #55962 from Algunenano/show_databases_limit
Fix `SHOW DATABASES LIMIT <N>`
2023-10-25 10:27:43 +02:00
Salvatore Mesoraca
a95a2a5d66
formatQueryOneLine: create new function format queries on one line 2023-10-25 10:10:04 +02:00
Robert Schulze
9838e0ce3a
Update docs 2023-10-25 08:01:57 +00:00
jetgm
ca766e3033 update doc and change order by 2023-10-25 11:08:25 +08:00
AN
f8348681aa
Update architecture.md
Russian language fixes (hyphens in compounds, tautologies etc.), term unification («column» → «столбец», а было то «столбец», то «колонка», «строка/столбец» is traditional translation for ‘row/column‘ in translations (see translations of Date)
2023-10-24 19:47:27 +03:00
Robert Schulze
f94c33586c
Fix issue #42966 2023-10-24 15:14:20 +00:00
xuzifu666
010cc6918a
Add get_direct_children_number command to keeper-client (#55898) 2023-10-24 17:02:54 +02:00
Robert Schulze
0955107e8e
Merge pull request #55948 from rschu1ze/arrayFold-switch-args
arrayFold: Switch accumulator and array arguments
2023-10-24 16:16:02 +02:00
Salvatore Mesoraca
2d2eaceb77
formatQuery: move doc 2023-10-24 16:13:15 +02:00
Salvatore Mesoraca
457e7ba7bd
formatQuery: improve doc 2023-10-24 15:38:24 +02:00
Salvatore Mesoraca
1380dc942e
Add formatQuery function 2023-10-24 15:38:24 +02:00
Kruglov Pavel
9f4f851505
Merge pull request #55899 from srikanthccv/issue-55023
Introduce setting `create_table_empty_primary_key_by_default`
2023-10-24 13:47:23 +02:00
Sergei Trifonov
e2846d4c58
Merge pull request #55922 from joclement/patch-2
docs: state limitations of `USING` clause.
2023-10-24 12:57:58 +02:00
Robert Schulze
38a2ba5769
Cosmetics 2023-10-24 09:53:20 +00:00
vdimir
da6f3346fe
Merge pull request #55839 from ClickHouse/vdimir/async_executor_for_dictionary_load
Use AsyncPipelineExecutor all dictionaries
2023-10-24 11:31:36 +02:00
Duc Canh Le
5291cb7790 add document
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2023-10-24 07:07:47 +00:00
justindeguzman
8ea93b5a11 DELETE docs improvements based on feedback 2023-10-23 14:20:00 -07:00
Srikanth Chekuri
f1933d5341 Merge branch 'issue-55023' of github.com:srikanthccv/ClickHouse into issue-55023 2023-10-23 21:24:00 +05:30
Srikanth Chekuri
8876a92b42 Merge remote-tracking branch 'upstream/master' into issue-55023 2023-10-23 21:21:25 +05:30
Robert Schulze
b9b66e76dd
Switch accumulator and array arguments 2023-10-23 14:59:16 +00:00
Smita Kulkarni
ede91f42e6 Addressed review comments 2023-10-23 16:42:08 +02:00
Robert Schulze
bef5cea5a0
Merge remote-tracking branch 'rschu1ze/master' into string-addinterval 2023-10-23 14:08:18 +00:00
Robert Schulze
bb856680e7
Incorporated review feedback 2023-10-23 14:07:14 +00:00
vdimir
1e068640c8
Add CHECK TABLE PART to docs 2023-10-23 12:33:36 +00:00
Raúl Marín
7d7bf1f565
Merge pull request #55826 from Algunenano/clearer_matview_creation_errors
Provide a better message for common MV pitfalls
2023-10-23 14:07:14 +02:00
Kruglov Pavel
14c97fb426
Update docs/en/engines/table-engines/mergetree-family/mergetree.md 2023-10-23 12:48:05 +02:00
robot-ch-test-poll1
3d8875a342
Merge pull request #55926 from den-crane/patch-63
Doc. fix incorrect arrayFold example
2023-10-23 12:40:27 +02:00
robot-clickhouse-ci-1
792f1e9fb8
Merge pull request #55930 from rschu1ze/docs-homebrew
Docs: Point to formula in community tap for homebrew installation
2023-10-23 12:16:15 +02:00
Denny Crane
835be79d4b
Update docs/en/sql-reference/functions/array-functions.md
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
2023-10-23 07:06:41 -03:00
vdimir
9d840c6532
Use single thread for check table with check_query_single_value_result=0 2023-10-23 09:36:41 +00:00
vdimir
fe95c0d0e4
Improve CHECK TABLE system query
Resubmit PR #52745
2023-10-23 09:35:26 +00:00
Robert Schulze
9a33d51719
Fix link 2023-10-23 09:14:09 +00:00
Robert Schulze
4368af3ba3
Docs: Point to formula in community tap for homebrew installation 2023-10-23 09:12:08 +00:00
Denny Crane
bd934575ea
Update array-functions.md 2023-10-23 05:29:42 -03:00
Denny Crane
8417b64530
Update array-functions.md 2023-10-23 05:27:26 -03:00
Joris Clement
c885314bfe
docs: state limitations of USING clause.
State that it is (currently) not possible to use `USING` with multiple joins. The exception thrown is `Multiple USING statements are not supported`. The relevant code section is d08ce13107/src/Interpreters/CrossToInnerJoinVisitor.cpp (L191-L192).
2023-10-23 09:41:24 +02:00
Robert Schulze
c2215cb5f0
Support string arguments 2023-10-22 09:28:45 +00:00
Srikanth Chekuri
327386a348 Merge remote-tracking branch 'upstream/master' into issue-55023 2023-10-22 10:22:14 +05:30
Alexey Milovidov
2972dbdc40 Merge branch 'master' into morton-utils 2023-10-22 03:52:30 +02:00
Srikanth Chekuri
0f2e0ade99 Update merge tree doc 2023-10-21 21:51:10 +05:30
Alexey Milovidov
7ec4b99e94 Revert partial result 2023-10-21 03:14:22 +02:00
Alexander Tokmakov
f899254e2c
Merge pull request #55430 from arthurpassos/properly_split_remote_proxy_http_https
Properly split remote proxy http https
2023-10-20 21:15:34 +02:00
Aleksei Filatov
0a1f3f205c
Add external HTTP Basic authenticator (#55199) 2023-10-20 19:24:19 +02:00
Robert Schulze
3551d7f2d6
Update docs 2023-10-20 15:46:17 +00:00
Raúl Marín
07e3f10958
Merge pull request #55860 from jrdi/filesystem-cache-docs
Add load_metadata_threads to the documentation
2023-10-20 14:59:47 +02:00
Smita Kulkarni
c98782bd2b Merge branch 'master' into 49507_Support_compression_for_keeper_protocol 2023-10-20 14:47:17 +02:00
helifu
57d60dc4f2
Add a new column xid for zookeeper_connection (#50702)
* Refactor the code

* Add a new column xid for zookeeper_connection

* Support hostnames in the configuration

* Fix a typo

* Fix a typo

* Fix a typo

* Fix a bug about connect_time

* Update test case

* Update test case

* Fix a special build check error

* Resolve conflicts caused by rebase.

* Update failed test case

* Refactor the code according to comment

* Fix two compilation errors
2023-10-20 11:38:44 +02:00
Jordi Villar
01093d4698 Remove deprecated setting do_not_evict_index_and_mark_files 2023-10-20 09:27:46 +02:00
Jordi Villar
fe1df969a7 Add load_metadata_threads to the documentation 2023-10-20 09:04:39 +02:00
Justin de Guzman
757fa750e6
Rewrite DELETE docs 2023-10-19 22:00:39 -07:00
Alexey Milovidov
264df85eb8
Merge pull request #55848 from ClickHouse/auto/v23.9.2.56-stable
Update version_date.tsv and changelogs after v23.9.2.56-stable
2023-10-20 03:38:47 +02:00
robot-clickhouse
66030152b0 Update version_date.tsv and changelogs after v23.8.4.69-lts 2023-10-19 18:38:56 +00:00
robot-clickhouse
21d3c51cde Update version_date.tsv and changelogs after v23.9.2.56-stable 2023-10-19 18:38:32 +00:00
robot-clickhouse
84f2d46642 Update version_date.tsv and changelogs after v23.3.14.78-lts 2023-10-19 18:18:34 +00:00
vdimir
b4851cf2ef
Use AsyncPipelineExecutor for reading clickhouse dictionary source 2023-10-19 15:16:33 +00:00
Raúl Marín
dd640cba72 Provide a better message for common MV pitfalls 2023-10-19 13:21:57 +02:00
jetgm
bde5c5a4a8 add show merges 2023-10-19 18:17:28 +08:00
Smita Kulkarni
af5349f76b Merge branch 'master' into 49507_Support_compression_for_keeper_protocol 2023-10-19 12:03:40 +02:00
Alexey Milovidov
f6db0a5261 Merge branch 'master' into morton-utils 2023-10-19 08:11:25 +02:00
Kseniia Sumarokova
4e0122a299
Merge pull request #54422 from kssenii/s3-queue-fixes
Fixes for storage `S3Queue`
2023-10-18 21:51:51 +02:00
Sinan
c7f78ac73a
Add aggregation function for Largest-Triangle-Three-Buckets (#53145)
* Added a simple lttb aggregate function

* Added support for multiple datatypes

* Added support for Date and Date32, updated LTTBData struct

* Updated code to handle bucket size 0 and 1

* Added sort for LTTBData

* Added tests and documentation

* Added some code style fixes

* Added function to new func ref file

* Removed function from new func ref file

* Apply suggestions from code review

* Updated unit tests

* updated LTTB data code

* Minor style fixes

* Updated code with std sort

* updated tests

* Renamed lttb to largestTriangleThreeBuckets

* Added alias lttb

---------

Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2023-10-18 14:47:18 +02:00
Robert Schulze
945dcb865a
Merge pull request #55617 from slvrtrn/mysql-string-blob-vs-text-config
MySQL compatibility: allow to configure String/FixedString BLOB vs TEXT mapping
2023-10-18 10:57:18 +02:00
slvrtrn
c19ca5c4d5 Address PR feedback 2023-10-17 19:19:35 +02:00
Kseniia Sumarokova
7cedfeff12
Merge pull request #55145 from kssenii/materialized-pg-allow-unique-identifier
Allow to have several MaterializedPostgreSQL tables following the same Postgres table
2023-10-17 18:47:32 +02:00
kssenii
fd37e25fbd Fix doc 2023-10-17 15:07:58 +02:00
kssenii
4d2cf5206f Update documentation 2023-10-17 14:12:15 +02:00
Mikhail f. Shiryaev
9629e255e7
Merge pull request #55716 from ClickHouse/ci_scripts_tuning_2
Ci scripts tuning 2
2023-10-17 11:53:00 +02:00
Smita Kulkarni
01a85522d9 Merge branch 'master' into 49507_Support_compression_for_keeper_protocol 2023-10-17 11:39:20 +02:00
Robert Schulze
96a82df75a
Merge pull request #55616 from HarryLeeIBM/hlee-fts-max-rows
Inverted index: Replace setting density with `max_rows_in_postings_list`
2023-10-17 11:36:46 +02:00
kssenii
4464c86895 Merge remote-tracking branch 'origin/master' into s3-queue-fixes 2023-10-17 11:16:52 +02:00
Max Kainov
fc9a5a725c Revert "Revert "Integration check script fix ups""
This reverts commit 67b9407530.
2023-10-17 08:18:17 +00:00
Alexey Milovidov
de8215f5dd Merge remote-tracking branch 'origin/master' into morton-utils 2023-10-17 04:55:45 +02:00
HarryLeeIBM
fb8cd298d1 Code refactoring according to code review 2023-10-16 17:52:39 -07:00
Michael Kolupaev
ce7eca0615
DWARF input format (#55450)
* Add ReadBufferFromFileBase::isRegularLocalFile()

* DWARF input format

* Review comments

* Changed things around ENABLE_EMBEDDED_COMPILER build setting

* Added 'ranges' column

* no-msan no-ubsan
2023-10-16 17:00:07 -07:00
Kseniia Sumarokova
96c518be5b
Merge branch 'master' into s3-queue-fixes 2023-10-16 22:19:13 +02:00
Kseniia Sumarokova
c31299d86c
Merge branch 'master' into materialized-pg-allow-unique-identifier 2023-10-16 22:18:23 +02:00
alesapin
67b9407530
Revert "Integration check script fix ups" 2023-10-16 22:01:44 +02:00
Mikhail f. Shiryaev
f96bda1deb
Merge pull request #55476 from ClickHouse/ci_scripts_tuning
Integration  check script fix ups
2023-10-16 17:06:19 +02:00
János Benjamin Antal
eeff98f3a3
Merge pull request #55373 from lingtaolf/enhancement/rename_without_keyword
Support rename table without keyword TABLE
2023-10-16 14:06:23 +02:00
Max Kainov
683437c61c fix docs and script 2023-10-16 10:35:14 +00:00
Max Kainov
60ad1c79bd fix docs 2023-10-16 10:35:14 +00:00
Robert Schulze
f7cf512824
Merge pull request #55589 from rschu1ze/string-args-in-week-functions
MySQL compatibility: `toDayOfWeek()` now supports string arguments
2023-10-16 09:07:01 +02:00
Antonio Andelic
a3360cb3f5
Merge pull request #55485 from guoxiaolongzte/keeper_client_add_get_all_children_number_command
keeper_client add get_all_children_number command
2023-10-16 08:45:38 +02:00
Alexey Milovidov
0bf6fd3671 Merge remote-tracking branch 'origin/master' into morton-utils 2023-10-15 21:28:00 +02:00
Kseniia Sumarokova
b26115eabe
Merge branch 'master' into materialized-pg-allow-unique-identifier 2023-10-15 14:17:32 +02:00
Alexey Milovidov
10d03f18e7 Add docs 2023-10-15 06:44:37 +02:00
Nikolay Degterinsky
c1fba94d67 Resubmit #54421
This reverts commit 3e60451ac7.
2023-10-14 19:04:01 +00:00
Smita Kulkarni
13ffebf559 Merge branch 'master' into 49507_Support_compression_for_keeper_protocol 2023-10-14 20:08:49 +02:00
Robert Schulze
dcedc5f10b
Merge remote-tracking branch 'rschu1ze/master' into string-args-in-week-functions 2023-10-14 08:32:33 +00:00
Robert Schulze
a47cff1981
Merge pull request #55607 from rschu1ze/byteswap-128-256
byteswap: Add 16/32-byte integer support
2023-10-14 10:30:29 +02:00
slvrtrn
42fc670c22 Add new settings docs entries 2023-10-13 20:56:12 +02:00
Kseniia Sumarokova
310e922b40
Merge branch 'master' into materialized-pg-allow-unique-identifier 2023-10-13 19:14:50 +02:00
Alexander Tokmakov
3e60451ac7 Revert "Merge pull request #54421 from evillique/cluster-groups"
This reverts commit 211c80e1a0, reversing
changes made to b53a98217c.
2023-10-13 18:55:51 +02:00
robot-ch-test-poll2
0de0799439
Merge pull request #55584 from grant88/patch-3
Update Russian version replacingmergetree.md. Added is_deleted parameter description
2023-10-13 18:38:14 +02:00
Alexander Tokmakov
e40aa72883
Merge pull request #54826 from JackyWoo/lb_nearest_host_name
Add load balancing hostname_levenshtein_distance
2023-10-13 17:23:02 +02:00
Robert Schulze
246e29a41a
Add 16/32-byte integer support 2023-10-13 14:54:56 +00:00
Robert Schulze
d02a718076
Merge pull request #55211 from Priyansh121096/master
Add function byteSwap
2023-10-13 16:54:28 +02:00
Robert Schulze
2653ace122
Update docs 2023-10-13 13:53:39 +00:00
Robert Schulze
1957179058
Make the warning in the docs more strict 2023-10-13 13:21:38 +00:00
grantovsky
52480fe092
Update replacingmergetree.md remove simultaneously word
correct: remove simultaneously word of using FINAL CLEANUP and  clean_deleted_rows
2023-10-13 15:36:34 +03:00
grantovsky
8b7e6adc38
Update replacingmergetree.md cleanup+clean_deleted_rows warning
Добавил формулировку, что CLEANUP + clean_deleted_rows=always - не следует использовать
2023-10-13 15:03:36 +03:00
kssenii
a9c0c20cad Update documentation 2023-10-13 13:21:50 +02:00
Robert Schulze
bb0ff98f5e
String argument support for toDayOfWeek(), toWeek() and toYearWeek() 2023-10-13 10:30:37 +00:00
kssenii
d64b990712 Merge remote-tracking branch 'origin/master' into s3-queue-fixes 2023-10-13 12:13:56 +02:00
grantovsky
4bf3c4156e
Update Russian version replacingmergetree.md. dded is_deleted parameter description
Added is_deleted parameter description for russian documentaion version
2023-10-13 12:07:25 +03:00
robot-ch-test-poll3
3bb141cd51
Merge pull request #55570 from ClickHouse/docs-datetime-functions
Add syntax and examples to docs of date/time functions
2023-10-12 22:28:03 +02:00
rfraposa
c066f6044d Add syntax and examples to docs of date/time functions 2023-10-12 11:24:57 -06:00
Alexey Milovidov
b60726e6ce
Merge pull request #55486 from Ryado/patch-4
Update mysql.md - Remove the Private Preview Note
2023-10-12 19:12:15 +02:00
robot-clickhouse-ci-1
211c80e1a0
Merge pull request #54421 from evillique/cluster-groups
Add replica groups to Replicated database engine
2023-10-12 18:14:42 +02:00
Nikolay Degterinsky
20e16be27b Fixes & improvements 2023-10-12 15:02:08 +00:00
Alexander Tokmakov
6dbc224fc7
Update table.md 2023-10-12 12:50:05 +02:00
Smita Kulkarni
8b54172983 Merge branch 'master' into 49507_Support_compression_for_keeper_protocol 2023-10-12 12:32:43 +02:00
robot-clickhouse-ci-2
2eedb31ae3
Merge pull request #55498 from bytadaniel/patch-4
add npm packages to both en and zh docs from ru
2023-10-12 11:31:24 +02:00
robot-clickhouse-ci-1
c40a79f0b4
Merge pull request #54813 from lingtaolf/feature/function-getClientHttpHeader
Add function getHttpHeader
2023-10-12 10:13:20 +02:00
凌涛
89d123d0fd modify doc 2023-10-12 14:24:59 +08:00
凌涛
4499dd3e2f modify style 2023-10-12 14:21:20 +08:00
JackyWoo
1f553f3d65 Merge branch 'master' into lb_nearest_host_name 2023-10-12 10:19:17 +08:00
Robert Schulze
7b14392675
Merge pull request #55481 from rschu1ze/better-use-mysql-types-in-show-columns
Make `use_mysql_types_in_show_columns` affect only `SHOW COLUMNS`
2023-10-12 00:36:46 +02:00
robot-ch-test-poll
81464ca724
Merge pull request #55524 from ClickHouse/tavplubix-patch-9
Remove a confusing line from docs
2023-10-11 21:40:26 +02:00
alesapin
3f6d1414d3
Merge pull request #55196 from xjtupdy/doc-fix-ClickHouse
edit wrong example in en doc
2023-10-11 20:34:13 +02:00
Alexander Tokmakov
eeacdbae9c
Update replacingmergetree.md 2023-10-11 19:46:58 +02:00
avogar
178c799697 Fix typos 2023-10-11 17:38:17 +00:00
avogar
6c91c2b860 Add documentation 2023-10-11 17:35:18 +00:00
alesapin
fc1ad9a969
Update docs/en/sql-reference/functions/arithmetic-functions.md 2023-10-11 18:24:44 +02:00
alesapin
a150ec53c0
Update arithmetic-functions.md 2023-10-11 18:24:24 +02:00
Robert Schulze
9d04d3c3ad
Merge remote-tracking branch 'rschu1ze/master' into better-use-mysql-types-in-show-columns 2023-10-11 15:04:03 +00:00
Robert Schulze
bb637fa9af
Update docs 2023-10-11 14:34:28 +00:00
Daniel Byta
5e86362abe
Update client-libraries.md 2023-10-11 15:46:42 +03:00