Commit Graph

11408 Commits

Author SHA1 Message Date
Nikolay Degterinsky
d0449792c4
Merge pull request #37595 from yjant/patch-4
Update insert-into.md
2022-06-02 02:21:03 +02:00
Alexey Milovidov
b5f48a7d3f Merge branch 'master' of github.com:ClickHouse/ClickHouse into llvm-14 2022-06-01 22:09:58 +02:00
Denny Crane
dc9b11b814
Update map.md 2022-06-01 15:39:45 -03:00
Denny Crane
08806a150d
Update map.md 2022-06-01 15:39:02 -03:00
Denny Crane
320fd567dd
Update tuple-map-functions.md 2022-06-01 15:38:41 -03:00
Denny Crane
931d424fa1
Update tuple-map-functions.md 2022-06-01 15:37:13 -03:00
Denny Crane
5d3cc4be26
Update tuple-map-functions.md 2022-06-01 15:35:58 -03:00
Denny Crane
608ad73c93
Update tuple-map-functions.md 2022-06-01 15:34:15 -03:00
Denny Crane
223bcb7958
Update map.md 2022-06-01 15:31:59 -03:00
Denny Crane
219e46dc8f
Update map.md 2022-06-01 15:29:58 -03:00
Denny Crane
2b78adf628
Update map.md 2022-06-01 15:27:31 -03:00
Robert Schulze
b3b0716b32
Merge pull request #37544 from ClickHouse/cached_patterns
Cache compiled regexps when evaluating non-const needles
2022-06-01 19:55:25 +02:00
Dmitry Novik
7fbe91ca81
Merge pull request #37460 from ClickHouse/memory-overcommit-improvement
Memory Overcommit: update defaults, exception message and add ProfileEvent
2022-06-01 17:06:33 +02:00
Sema Checherinda
16dc3ed97d FR: Expose what triggered the merge in system.part_log #26255 2022-06-01 16:58:07 +02:00
Dan Roscigno
544be03b41
Update caches.md
spelling
2022-05-31 11:46:53 -04:00
avogar
a60ceea31a Fix 2022-05-31 15:25:47 +00:00
avogar
636cd6e1d3 Add fixes 2022-05-31 15:20:38 +00:00
avogar
858570d335 Refactor docs related to format settings 2022-05-31 15:18:49 +00:00
mergify[bot]
ba49c6bb46
Merge branch 'master' into memory-overcommit-improvement 2022-05-31 13:17:06 +00:00
Kruglov Pavel
7cc87d9a65
Merge pull request #37537 from Avogar/skip-first-lines
Allow to skip some of the first lines in CSV/TSV formats
2022-05-31 14:26:21 +02:00
avogar
139a7e19a9 Fix comments 2022-05-30 11:43:29 +00:00
Sergei Trifonov
2589f78135
Fix misleading arrayFunction description 2022-05-30 10:32:22 +02:00
MEX7
fa34663708 Merge remote-tracking branch 'upstream/master' 2022-05-30 15:55:23 +08:00
MEX7
1b6aa31419 docs: add clickvisual intro 2022-05-30 15:44:06 +08:00
Alexey Milovidov
9a5dd75a68 Merge branch 'master' into llvm-14 2022-05-30 05:34:38 +02:00
qinghuan wang
ded9f5675d
Update gui.md 2022-05-30 09:22:06 +08:00
Alexey Milovidov
746ff42239
Update gui.md 2022-05-30 01:13:03 +03:00
qinghuan wang
c14b547f00
Update gui.md 2022-05-29 20:19:23 +08:00
Alexey Milovidov
6195429020
Update star-schema.md 2022-05-29 10:01:27 +03:00
Alexey Milovidov
c8935d6e6c
Update star-schema.md 2022-05-29 10:00:34 +03:00
Alexey Milovidov
e22a79eaf2
Update star-schema.md 2022-05-29 09:58:54 +03:00
Alexey Milovidov
9e0f61a74f
Merge pull request #37623 from den-crane/patch-12
Doc. Notes about UInt64 key for dictionaries layout
2022-05-29 07:58:07 +03:00
Alexey Milovidov
be586f7b33
Update ontime.md 2022-05-29 06:43:50 +03:00
Alexey Milovidov
73c89e65e6
Update ontime.md 2022-05-29 06:31:15 +03:00
Alexey Milovidov
7be278c9ff
Update table structure for "ontime" dataset 2022-05-29 06:26:13 +03:00
Alexey Milovidov
c1169019d2 Merge branch 'master' into llvm-14 2022-05-29 02:29:02 +02:00
Denny Crane
d7e098fb17
Update external-dicts-dict-layout.md 2022-05-28 17:26:11 -03:00
Denny Crane
1d2cf73b81
Update external-dicts-dict-layout.md 2022-05-28 17:14:36 -03:00
Denny Crane
2395764a92
Update external-dicts-dict-layout.md 2022-05-28 17:07:39 -03:00
Denny Crane
bfc7cbaf1f
Update external-dicts-dict-layout.md 2022-05-28 17:02:27 -03:00
Denny Crane
4573c2431e
Update external-dicts-dict-layout.md 2022-05-28 16:59:55 -03:00
Vxider
2232d47c5a update windowview doc for alter, inner engine, and populate 2022-05-28 12:23:30 +00:00
Alexey Milovidov
39a55991ca Change Playground URL in the docs 2022-05-28 01:18:07 +02:00
Alexey Milovidov
f3e83cb222
Update star-schema.md 2022-05-28 01:51:41 +03:00
Dmitry Novik
60b9d81773 Remove global_memory_usage_overcommit_max_wait_microseconds 2022-05-27 16:30:29 +00:00
PigInCloud
7ccf4f4db7
Update insert-into.md
I translated some untranslated text into Chinese
2022-05-27 18:30:20 +08:00
Robert Schulze
ff228d63e8
Fix typo 2022-05-27 10:14:13 +02:00
Alexey Milovidov
207ffc0f92 Merge branch 'master' into llvm-14 2022-05-27 01:18:51 +02:00
Maksim Kita
58cd1bd3ec
Merge pull request #36843 from bharatnc/ncb/h3-unidirectionaledges-funcs
add h3 unidirectional edge functions
2022-05-25 22:46:40 +02:00
alesapin
bf0da38d6f
Merge pull request #37402 from DanRoscigno/origin/67-replace-zookeeper-to-clickhouse-keeper-in-docs-and-tutorials
add ClickHouse Keeper to doc pages describing ZooKeeper use
2022-05-25 22:24:56 +02:00
Robert Schulze
23378ab67b
Merge pull request #37520 from ClickHouse/update-3rd-party-contribution-guide
Update 3rd party contribution guide
2022-05-25 21:54:49 +02:00
alesapin
620ab399c9
Update docs/en/operations/clickhouse-keeper.md 2022-05-25 20:23:24 +02:00
avogar
ede6e2f433 Add docs for settings 2022-05-25 15:10:20 +00:00
Igor Nikonov
4f09a0c431
Update architecture.md
Updated broken links in Functions section
2022-05-25 16:27:17 +02:00
Robert Schulze
c743fef3ae
Update 3rd party contribution guide
- replace obsolete references to clickhouse-extra to clickhouse

- generally rewrite the guide and make it easier to understand
2022-05-25 13:46:05 +02:00
Kuz Le
196ff48f34
Update delete-old-data.md
Изменение смысла предложения в переводе на русский язык в статье по удалению старых данных
2022-05-25 12:55:55 +03:00
Alexey Milovidov
a5541dc2d5 Merge branch 'master' into llvm-14 2022-05-25 01:56:24 +02:00
Mikhail f. Shiryaev
b3a93601a8
Add changelogs for 2020 where the script works 2022-05-25 00:05:55 +02:00
Mikhail f. Shiryaev
352c7d6c21
Add changelogs for 2021 2022-05-25 00:05:54 +02:00
Mikhail f. Shiryaev
cd9486b103
Update changed descriptions for v22.1.1.2542-prestable.md and v22.1.3.7-stable.md 2022-05-25 00:05:53 +02:00
Alexey Milovidov
919a0ae835 Fix trash 2022-05-24 22:14:13 +02:00
Robert Schulze
7348a0eb28
Merge pull request #37251 from ClickHouse/non_const_like
Support non-constant SQL functions (NOT) (I)LIKE and MATCH
2022-05-24 20:28:31 +02:00
Dan Roscigno
2ffdefe839
Merge branch 'ClickHouse:master' into origin/67-replace-zookeeper-to-clickhouse-keeper-in-docs-and-tutorials 2022-05-24 07:37:36 -04:00
Dan Roscigno
8dced1af03
Update docs/en/operations/system-tables/mutations.md
Co-authored-by: Antonio Andelic <antonio2368@users.noreply.github.com>
2022-05-24 07:29:52 -04:00
Mikhail f. Shiryaev
a83864cdcb
Fix shellcheck issues in docs/tools 2022-05-24 11:14:17 +02:00
Alexey Milovidov
98138112c9
Update cmake_in_clickhouse_header.md 2022-05-24 03:55:51 +03:00
Alexey Milovidov
3b0ecb4620
Update cmake-in-clickhouse.md 2022-05-24 03:55:28 +03:00
Dan Roscigno
b9bd3cb49f update tips for ClickHouse Keeper 2022-05-23 10:06:16 -04:00
Dan Roscigno
49b0fde46c add ClickHouse Keeper to docs 2022-05-23 09:43:26 -04:00
Mikhail f. Shiryaev
bc145294a6
Merge pull request #37441 from ClickHouse/website-content
Release website content
2022-05-23 12:51:14 +02:00
Kruglov Pavel
ce48e8e102
Merge pull request #36975 from Avogar/json-columns-formats
Add columnar JSON formats
2022-05-23 12:11:28 +02:00
Mikhail f. Shiryaev
cfe98c4aba
Fix publishing of content.clickhouse.com
- Publish only benchmarks and data
- Minimize clickhouse/docs-release
- Run it as a normal user
- Speed up running by not redownload virtual env deps
- Clean out docs and blog buildging
- Minimize docs/tools/requirements.txt
2022-05-23 11:50:02 +02:00
Alexey Milovidov
3431376d4e
Merge pull request #37396 from MasterOdin/patch-1
Fix docs for regionToTopContinent parameters
2022-05-23 03:09:53 +03:00
Alexey Milovidov
5d43f46908
Update ym-dict-functions.md 2022-05-23 03:09:28 +03:00
Denny Crane
f8e2e0f1b2
Update uuid-functions.md 2022-05-22 20:24:18 -03:00
Denny Crane
5984d9993d
Update uuid-functions.md 2022-05-22 20:17:45 -03:00
Denny Crane
c478f2c21a
Update uuid-functions.md 2022-05-22 20:13:43 -03:00
Alexey Milovidov
dce7a86ca9 Merge branch 'master' into llvm-14 2022-05-22 22:38:07 +02:00
Robert Schulze
00d004c061
Remove -T flag from instructions about test creation
That flag no longer exists and test creation works fine w/o it (see
commit f07d4177a5 for a related change).
2022-05-22 17:50:38 +02:00
Ilya Strukov
dff8c0e4f0
Fix a tiny wording issue
Replace "there are another ways" with "there are other ways"
2022-05-22 12:19:18 +02:00
Maksim Kita
3e486c7a09
Merge pull request #37414 from den-crane/patch-10
Doc.  Update system.tables description
2022-05-21 20:42:02 +02:00
Yakov Olkhovskiy
ce1df15e1c
Merge pull request #37377 from ClickHouse/sha256_hash-with-salt
Allow SALT in CREATE USER user1 IDENTIFIED WITH sha256_hash
2022-05-21 14:36:22 -04:00
Denny Crane
4e327564f5
Update tables.md 2022-05-21 12:45:09 -03:00
Denny Crane
2f8edc8e7f
Update tables.md 2022-05-21 12:44:19 -03:00
Denny Crane
cb68b20c8a
Update tables.md 2022-05-21 12:41:50 -03:00
Denny Crane
3ff82569d0
Update tables.md 2022-05-21 12:30:57 -03:00
Dan Roscigno
93e0e72fcb typo 2022-05-20 17:43:23 -04:00
Dan Roscigno
c3d8668eb6 add ClickHouse Keeper to docs 2022-05-20 17:34:14 -04:00
Matthew Peveler
4c005e53b6
Update ym-dict-functions.md 2022-05-20 15:54:23 -04:00
Matthew Peveler
91bd0b6f69
Fix docs for regionToTopContinent parameters 2022-05-20 15:52:19 -04:00
Robert Schulze
ec1fe244c6
Merge pull request #37370 from ni1l/master
Update the Chinese version of encoding-functions.md
2022-05-20 16:53:03 +02:00
Yakov Olkhovskiy
6b62144090 docs spelling fix 2022-05-20 08:57:18 -04:00
avogar
d2304f5d15 Make better 2022-05-20 12:07:29 +00:00
avogar
a6a430c5ee Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-columns-formats 2022-05-20 11:08:30 +00:00
Robert Schulze
b475fbc9a7
Merge pull request #37300 from ClickHouse/cmake-cleanup-pt3
Various cmake cleanups
2022-05-20 10:02:36 +02:00
Igor Nikonov
471ef23130
Merge pull request #37376 from den-crane/patch-9
Doc. fix formating
2022-05-20 09:16:29 +02:00
Yakov Olkhovskiy
a5e421581d docs fix 2022-05-20 01:30:45 -04:00
Yakov Olkhovskiy
b7bc40ce58 documentation updated 2022-05-19 22:16:08 -04:00
Denny Crane
c3c468af86
Update random-functions.md 2022-05-19 21:16:27 -03:00
ni1l
ca702b4593 Update the Chinese version of encoding-functions.md 2022-05-19 23:52:08 +08:00
Azat Khuzhin
ba26b3cf4c Implement lead_used load balancing algorithm for disks inside volume
v2: rebase on top removed raid1
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-19 14:10:11 +03:00
Azat Khuzhin
dad31fe5a0 doc/mergetree: fix aligment in documentation
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-19 14:10:11 +03:00
Azat Khuzhin
590dfe6ae5 doc: document perform_ttl_move_on_insert
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-19 14:10:11 +03:00
Mikhail f. Shiryaev
c3fd892e26
Update version_date.tsv and changelogs after v22.5.1.2079-stable 2022-05-19 10:48:46 +02:00
Mikhail f. Shiryaev
ae0d64d8e1
Merge pull request #37249 from ClickHouse/changelog-script
Improve changelog script
2022-05-18 19:30:31 +02:00
Vitaly Baranov
9ccddc44c6
Merge pull request #35767 from azat/ON_CLUSTER-grant
RFC: Add separate CLUSTER grant
2022-05-18 19:19:54 +02:00
Nikolai Kochetov
508e64b7d0
Merge pull request #37322 from ClickHouse/typos
Fixed typos
2022-05-18 13:48:52 +02:00
Alexander Gololobov
e9db3465e3 Fixed typos 2022-05-18 13:01:32 +02:00
avogar
12010a81b7 Make better 2022-05-18 09:25:26 +00:00
Bharat Nallan Chakravarthy
c476b8dd92 Merge remote-tracking branch 'upstream/master' into ncb/h3-unidirectionaledges-funcs 2022-05-17 20:10:03 -07:00
Alexander Gololobov
38f291c70d
Merge pull request #37030 from bharatnc/ncb/h3-missing-traversal-funcs
add remaining h3 traversal funcs
2022-05-17 18:19:56 +02:00
Maksim Kita
4c6224c1c6
Update boolean.md 2022-05-17 16:49:32 +02:00
Robert Schulze
34af1cb116
Throw option WEVERYTHING out
WEVERYTHING enables on Clang literally every warning. People on the
internet are divided if this is a good thing or not but ClickHouse
compiles with -Weverything + some exceptions for noisy warnings since at
least a year.

I tried to build with WEVERYTHING = OFF and the build was badly broken.
It seems nobody actually turns WEVERYTHING off. Actually, why would one
if the CI builds (configured with WEVERYTHING = ON) potentially generate
errors not generated in local development.

To simplify the build scripts and to remove the need to maintain two
sets of compiler warnings, I made WEVERYTHING the default and threw
WEVERYTHING = OFF out.
2022-05-17 15:52:53 +02:00
Denny Crane
e7555e8a07
Update boolean.md 2022-05-17 10:51:41 -03:00
Denny Crane
f7ead85150
Update boolean.md 2022-05-17 10:49:21 -03:00
Vitaly Baranov
f34a5cdee2
Merge branch 'master' into ON_CLUSTER-grant 2022-05-17 13:21:20 +02:00
Robert Schulze
8500cdd082
Merge pull request #37262 from ni1l/master
Sync the English version of conditional-functions.md and date-time-fu…
2022-05-17 09:24:27 +02:00
ni1l
1bec6edd24 Sync the English version of conditional-functions.md and date-time-functions.md to the Chinese document 2022-05-17 00:30:26 +08:00
Rich Raposa
75d9ef0e3b
Merge pull request #37126 from mrk-andreev/patch-3
Add Kafka headers virtual columns
2022-05-16 09:35:50 -06:00
Rich Raposa
cd22ce032e
Merge pull request #37127 from cwurm/add_json_docs
Add documentation for JSON data type
2022-05-16 09:34:51 -06:00
Denny Crane
52b7f899b2
Update syntax.md 2022-05-16 11:27:49 -03:00
Denny Crane
df6b874df9
Update syntax.md
fix typo
2022-05-16 11:25:33 -03:00
Mikhail f. Shiryaev
fe3f95a66c
Rerun improved script to order output and clean duplications 2022-05-16 14:46:05 +02:00
Igor Nikonov
34de7d9973
Remove prompt($) from bash scripts
Copy bash script. Paste it into terminal. Some bash scripts fail to execute due to bash prompt in documentation. So, I just removed the prompt(s)
2022-05-16 13:55:42 +02:00
Robert Schulze
82c30442bd
Merge pull request #37223 from ni1l/master
Sync the English version of bit-functions.md to the Chinese document
2022-05-16 13:42:06 +02:00
Azat Khuzhin
01e1c5345a Add separate CLUSTER grant
In case you have different roles for the same user on multiple clusters,
ON CLUSTER query can help to overcome some limitations.

Consider the following example:
- cluster_with_data, dev_user (readonly=2)
- stage_cluster, dev_user (readonly=0)

So when you will execute the following query from stage_cluster, it will
be successfully executed, since ON CLUSTER queries has different system
profile:

    DROP DATABASE default ON CLUSTER cluster_with_data

This is not 100% safe, but at least something.

Note, that right now only ON CLUSTER query it self is supported, but
separate clusters are not (i.e. GRANT CLUSTER some_cluster_name TO
default), since right now grants sticked to database+.

v2: on_cluster_queries_require_cluster_grant
v3: fix test and process flags as bit mask
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-16 13:57:45 +03:00
Nikolai Kochetov
f1bc2bc615 Merge branch 'master' into llvm-14 2022-05-16 12:03:26 +02:00
ni1l
e85c616704 fix the broken link in the bit-functions.md 2022-05-16 18:03:09 +08:00
Robert Schulze
7006ef6ebb
Merge pull request #37230 from ramazanpolat/patch-3
update materialize index notation
2022-05-16 11:18:10 +02:00
Robert Schulze
f7de28ce4a
Merge pull request #37222 from ClickHouse/cmake-cleanup-pt2
Cmake cleanup pt2
2022-05-16 09:28:37 +02:00
Alexey Milovidov
c430fa3a7c
Merge pull request #37098 from liumaojing/patch-1
Update grouparray.md
2022-05-16 04:29:41 +03:00
Alexey Milovidov
b6a0ea92dc
Update grouparray.md 2022-05-16 04:29:30 +03:00
Alexey Milovidov
7b9d81af84
Update grouparray.md 2022-05-16 04:28:39 +03:00
Alexey Milovidov
97a144d8ed
Update grouparray.md 2022-05-16 04:27:58 +03:00
Alexey Milovidov
b7d828e250
Merge pull request #37128 from DevTeamBK/query-profiler-docUpdate
Flamegraph Link update
2022-05-16 04:25:48 +03:00
Ramazan Polat
72a2a1d8fe
update materialize index notation 2022-05-16 00:28:49 +03:00
ni1l
ee368b522f Sync the English version of bit-functions.md to the Chinese document 2022-05-15 23:21:05 +08:00
Robert Schulze
7c11f41038
Removed funny objcopy/strip finding logic on Apple
On Darwin, the build script tries to
1. use llvm-objcopy/llvm-strip from $PATH,
2. if not found by 1., use standard objcopy/strip from $PATH

The brew install instructions recommends to set $PATH to brew's binary
dir, so 2. will find something (assuming binutils is installed from
brew). If $PATH additionally points to brew's LLVM binary dir (which is
different from brew's binary dir), 1. will find the llvm versions of the
tools.

This commit removes additional logic which repeats above steps in a more
implicit way by calling brew internally and figuring out the paths once
more if 1. and 2. cannot find them in the $PATH. This removes
duplication and simplifies the script. Maybe it even helps with
reproducibility.
2022-05-15 16:06:54 +02:00
Robert Schulze
1c127bbe09
Make color output a CMake option and fix setting for makefile generator
- Variable CMAKE_BUILD_COLOR_MAKEFILE has no effect (perhaps it had in
  ancient CMake), the actual variable is called CMAKE_COLOR_MAKEFILE
2022-05-15 09:48:02 +02:00
Alexey Milovidov
3b9d8f9d19
Merge pull request #37095 from ClickHouse/upload-ppc64le-binary
Add PowerPC binary to universal install script
2022-05-15 04:33:06 +03:00
mergify[bot]
4a661b6e78
Merge branch 'master' into json-columns-formats 2022-05-13 11:32:03 +00:00
Dan Roscigno
f35c893fbe move UK and Taxi datasets up 2022-05-12 14:32:13 -04:00
Vladimir C
6ca3d61ec9
Merge pull request #37145 from ClickHouse/macosx-guide 2022-05-12 19:49:20 +02:00
HeenaBansal2009
b81dbf3f1c Flamegraph Link update 2022-05-12 07:21:27 -07:00
Kseniia Sumarokova
8b41a58352
Merge pull request #37132 from e-mars/mars-auth-error-fix
Update Exception Message for allowed auth types
2022-05-12 14:48:59 +02:00
Christoph Wurm
f7ca5e8173 Add documentation for JSON data type. 2022-05-12 13:45:54 +01:00
Dmitry Novik
df071bb701
Merge pull request #37129 from ClickHouse/enable-overcommit-for-user
Update documentation and defaults for memory overcommit
2022-05-12 14:38:43 +02:00
Robert Schulze
a15dacf80f
Simplify and update MacOS build instructions
- instead of repeating Homebrew's installation steps (which may become
  outdated), just point to their homepage

- Specify CC and CXX env variables instead of internal CMake variables,
  CMake figure out paths to ar, ranlib and objcopy automatically

- use -S and -B parameters available in recent CMake versions to build
  directly from the source directory
2022-05-12 11:45:58 +02:00
Robert Schulze
da5fb43060
Merge pull request #37131 from ni1l/master
Sync the arithmetic functions and array functions in the Chinese document with the English document
2022-05-12 11:23:05 +02:00
mergify[bot]
f4bae3969d
Merge branch 'master' into enable-overcommit-for-user 2022-05-11 20:04:20 +00:00