Commit Graph

11250 Commits

Author SHA1 Message Date
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
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
Rich Raposa
e260416b5a
Merge pull request #37102 from ClickHouse/rfraposa-patch-5
Fix table on formats.md page
2022-05-11 07:21:01 -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
Mikhail f. Shiryaev
3fa955aec1
Merge pull request #37057 from ClickHouse/changelog
Changelog script
2022-05-11 10:54:29 +02: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
Alexey Milovidov
99cc8d47fe Add PowerPC binary to universal install script 2022-05-11 03:02:01 +02: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
avogar
f6b16880bd Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-columns-formats 2022-05-10 12:57:18 +00:00
Vladimir C
425d429044
Merge pull request #37049 from ni1l/master 2022-05-10 12:58:30 +02:00
Mikhail f. Shiryaev
3129d2f3f8
Add raw changelogs for tags in 2022 2022-05-10 11:25:38 +02:00
Yong-Hao Zou
031487333f
Fix install scripts 2022-05-10 16:21:57 +08:00
Yong-Hao Zou
a24adda127
Fix install scripts 2022-05-10 16:17:03 +08:00
bharatnc
592de6895c Merge remote-tracking branch 'upstream/master' into ncb/h3-missing-traversal-funcs 2022-05-09 22:41:03 -07:00
rfraposa
0b9da27ca2 Update postgresql.md 2022-05-09 14:21:38 -06:00
rfraposa
72b0cbbb53 Add a docs page for the PostgreSQL wire protocol 2022-05-09 13:53:22 -06:00
ni1l
f1eee40345 Add isIPAddressInRange function example 2022-05-10 00:03:10 +08:00
hardstep33
d0bb66604c
Update int-uint.md (#36404)
add UInt128 in documentation

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-09 13:36:18 +02:00
avogar
04fdd75c56 Make JSONColumns frormats mono block by default 2022-05-09 11:13:44 +00:00
bharatnc
6fc6acf93b docs for h3HexRing 2022-05-08 22:16:40 -07:00
bharatnc
2721955f49 docs for h3Distance 2022-05-08 22:05:44 -07:00
bharatnc
a6cc23aaed docs for h3Line 2022-05-08 22:05:39 -07:00
Alexey Milovidov
fa77040825 Fix benchmark build code 2022-05-09 02:11:58 +02:00
Alexey Milovidov
63483e1321
Merge pull request #36913 from ClickHouse/pair_tuple
Replace make_pair()/make_tuple() by pair()/tuple()
2022-05-08 19:08:27 +03:00
Alexey Milovidov
3755466e8d
Merge pull request #34916 from nic11/pr/content-type
Support content_type in HTTP handler config
2022-05-08 16:36:21 +03:00
Robert Schulze
7bef3843ce
Recommend syntactic sugar for better readability in code style 2022-05-08 08:44:22 +02:00
Alexey Milovidov
3a2ddac2e6
Merge pull request #33861 from RogerYK/fix-substring-negative-offset-length
Fix substring negative offset length
2022-05-08 01:09:36 +03:00
BoloniniD
aa21a8925f Fixes 2022-05-07 17:08:40 +03:00
Alexey Milovidov
acf48ef933
Merge pull request #36456 from dzhiryakov/patch-1
Fix typo in LowCardinality doc
2022-05-07 15:33:51 +03:00
Alexey Milovidov
43b2664c87
Update array-functions.md 2022-05-07 13:49:03 +03:00
Alexey Milovidov
fd363695dc
Update array-functions.md 2022-05-07 13:48:11 +03:00
Alexey Milovidov
40c049b0c9
Update bit-functions.md 2022-05-07 13:47:15 +03:00
Alexey Milovidov
0cac59a9f9
Update string-functions.md 2022-05-07 13:46:17 +03:00
mergify[bot]
2d1057bc87
Merge branch 'master' into fix-substring-negative-offset-length 2022-05-07 10:30:39 +00:00
Alexey Milovidov
5244065cdb
Update metrica.md 2022-05-07 13:04:46 +03:00
BoloniniD
0cf6f66fcf Add BLAKE3 hash docs 2022-05-07 12:08:37 +03:00
Brandon
e718e0a73b
update missing database name for hits_100m_obfuscated
in creare sql, database name for hits_100m_obfuscated is missing
2022-05-07 14:36:06 +08:00
Alexey Milovidov
d76ac4d34d
Merge pull request #36822 from ClickHouse/revert-group-array-sorted
Revert "Merge pull request #34055 from palegre-tiny/groupSortedArray"
2022-05-06 23:27:08 +03:00