Commit Graph

7347 Commits

Author SHA1 Message Date
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
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
Denny Crane
e7555e8a07
Update boolean.md 2022-05-17 10:51:41 -03:00
Vitaly Baranov
f34a5cdee2
Merge branch 'master' into ON_CLUSTER-grant 2022-05-17 13:21:20 +02: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
df6b874df9
Update syntax.md
fix typo
2022-05-16 11:25:33 -03: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
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
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
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
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
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
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
Dmitry Novik
17608b3d93 Update documentation and defaults for memory overcommit 2022-05-11 16:18:41 +00:00
Mark Andreev
ebb9694920
Add Kafka headers virtual columns
Add documentation for https://github.com/ClickHouse/ClickHouse/pull/11283
2022-05-11 18:38:09 +04:00
Rich Raposa
3215c98319
Merge pull request #37116 from lanfz/master
Misspelled words
2022-05-11 07:23:33 -06:00
Rich Raposa
ee0cef3576
Merge pull request #37118 from ClickHouse/test-doc-update
Mini update of testing guide
2022-05-11 07:22:33 -06:00
Robert Schulze
f07d4177a5
Small update of testing guide
- the guide talked about 'testmode' but that doesn't seem to exist
  anymore (grep for it ...), and the command works w/o 'testmode'

- also replaced parameter '-n' by its full form '--multiquery' for
  readability
  '
2022-05-11 14:38:16 +02:00
lanfz
6be44ae90d
Misspelled words
partiton Modified to partition
2022-05-11 20:08:53 +08:00
liumaojing
2924cfd960
Update grouparray.md 2022-05-11 14:14:05 +08:00
rfraposa
3234534dd8 Fix table on formats.md page 2022-05-10 22:55:17 -06:00
liumaojing
a26f46aec9
Update grouparray.md 2022-05-11 11:30:21 +08:00
Rich Raposa
2ee6c6edf5
Merge pull request #37092 from ClickHouse/revert-36999-BLAKE3_docs
Revert "BLAKE3 hash function documentation"
2022-05-10 13:33:19 -06:00
Rich Raposa
69a9d3fd6d
Merge pull request #37064 from zouyonghao/patch-1
Fix package names in install doc
2022-05-10 13:32:25 -06:00
Rich Raposa
34f0d1c5f8
Revert "BLAKE3 hash function documentation" 2022-05-10 13:28:36 -06:00
Rich Raposa
23608b5e53
Merge pull request #36999 from BoloniniD/BLAKE3_docs
BLAKE3 hash function documentation
2022-05-10 13:28:21 -06:00
Rich Raposa
9880a2875c
Merge pull request #37086 from ClickHouse/rfraposa-patch-4
Add section on SSL
2022-05-10 11:45:34 -06:00
rfraposa
22bb9bbf28 Add section on SSL 2022-05-10 09:12:48 -06:00
Vladimir C
425d429044
Merge pull request #37049 from ni1l/master 2022-05-10 12:58:30 +02:00
Yong-Hao Zou
031487333f
Fix install scripts 2022-05-10 16:21:57 +08:00