Commit Graph

11298 Commits

Author SHA1 Message Date
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
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
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
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
rfraposa
044e76d91b Add BLAKE3 hash function 2022-05-11 12:10:16 -06:00
Marcelo Rodriguez
2d0020e9f6 updated config file and xml tag
Updated with correct config file.
updated xml tag per this commit:
cb66a63aa4
2022-05-11 11:36:53 -06:00
Dmitry Novik
d756a34d89
Update docs/en/operations/settings/memory-overcommit.md 2022-05-11 19:01:39 +02:00
Dmitry Novik
f9e635763e
Update docs/en/operations/settings/memory-overcommit.md
Co-authored-by: Nikita Taranov <nikita.taranov@clickhouse.com>
2022-05-11 18:54:20 +02:00
ni1l
89d6409ed1 Sync the arithmetic functions and array functions in the Chinese document with the English document 2022-05-12 00:33:31 +08:00