Commit Graph

11298 Commits

Author SHA1 Message Date
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
avogar
9c5ad1e773 Add docs 2022-05-06 16:51:50 +00:00
Kruglov Pavel
9618fddea2
Fix formats docs 2022-05-06 17:49:02 +02:00
filimonov
715fcf7dd6
Mention currentDatabase in the Buffer docs 2022-05-06 10:12:22 +02:00
Alexey Milovidov
d0d4fde5ed Benchmark was not loaded properly 2022-05-05 02:25:53 +02:00
bharatnc
01ea1beee5 Merge remote-tracking branch 'upstream/master' into ncb/h3-unidirectionaledges-funcs 2022-05-04 15:55:56 -07:00
Alexey Milovidov
5a750d3305 Merge branch 'master' into revert-group-array-sorted 2022-05-05 00:51:01 +02:00
Maksim Kita
26afc5264d
Merge pull request #36908 from kitaisreal/docs-user-defined-executable-functions-config-setting-fix
Docs user defined executable functions config setting fix
2022-05-04 20:58:23 +02:00
Kruglov Pavel
77e55c344c
Merge pull request #36667 from Avogar/mysqldump-format
Add MySQLDump input format
2022-05-04 19:49:48 +02:00
Maksim Kita
459aa8ffd9 Documentation setting user_defined_executable_functions_config fix 2022-05-04 17:24:20 +02:00
Sergei Trifonov
6730ad9799
update docs for time window functions 2022-05-03 19:12:42 +02:00
Alexander Tokmakov
e03bcc93ca
Merge pull request #36846 from yakkomajuri/patch-1
Add docs for undocumented allow_nondeterministic_mutations
2022-05-03 16:23:02 +03:00
Sergei Trifonov
08688332bd
more info + fixes 2022-05-03 11:22:07 +02:00
yakkomajuri
79029d3772 move setting 2022-05-03 09:15:40 +00:00
bharatnc
0491341953 docs for h3GetUnidirectionalEdgeBoundary 2022-05-02 21:53:39 -07:00
Sergei Trifonov
98168cfc8f
Add docs for developers on threads and jobs 2022-05-02 19:47:15 +02:00
Kruglov Pavel
d613f7eab0
Merge branch 'master' into mysqldump-format 2022-05-02 13:31:57 +02:00
Yakko Majuri
d004dced33
Add docs for undocumented allow_nondeterministic_mutations 2022-05-02 11:03:26 +00:00
Alexey Milovidov
c95591f294
Merge pull request #36841 from ClickHouse/fix-performance-test-5
Remove "preconditions" from performance tests (overengineering, unneeded feature)
2022-05-02 12:22:56 +03:00
bharatnc
680fb0f265 docs for h3GetUnidirectionalEdgesFromHexagon 2022-05-01 22:38:01 -07:00
bharatnc
03db6738bb docs for h3GetIndexesFromUnidirectionalEdge 2022-05-01 21:34:32 -07:00
Alexey Milovidov
88826e2da5 Remove "preconditions" from performance tests (overengineering, unneeded feature) 2022-05-02 02:33:22 +02:00
bharatnc
b5a914ed04 docs for h3GetDestinationIndexFromUnidirectionalEdge 2022-05-01 14:11:53 -07:00
bharatnc
9ec187ef22 docs for h3GetOriginIndexFromUnidirectionalEdge 2022-05-01 13:53:44 -07:00
bharatnc
59e1f252fd docs for h3UnidirectionalEdgeIsValid func 2022-05-01 13:27:48 -07:00
bharatnc
925afc8f19 docs for h3GetUnidirectionalEdge 2022-05-01 11:12:11 -07:00
mergify[bot]
7f7d78b001
Merge branch 'master' into revert-group-array-sorted 2022-05-01 10:46:44 +00:00
Alexey Milovidov
149600bc95 Remove minify 2022-04-30 16:37:04 +02:00
Alexey Milovidov
7fab0437d9 Remove git log 2022-04-30 16:30:36 +02:00
Alexey Milovidov
eb6346b704 Remove purify-css and npm 2022-04-30 16:29:01 +02:00
Alexey Milovidov
07d2daeb16 Remove amp 2022-04-30 16:27:02 +02:00
Alexey Milovidov
d6c0de0d40 Revert "Merge pull request #34055 from palegre-tiny/groupSortedArray"
This reverts commit f055d7b692, reversing
changes made to 4ec3c35e14.
2022-04-30 12:29:23 +02:00
小蝌蚪
1dc653f0ec
Translate playground.md to Chinese 2022-04-30 17:20:15 +08:00
Nikolai Kochetov
5807ca47b0
Merge pull request #36425 from ClickHouse/pool-size-hot-reload
Allow to increase number of threads and tasks for background executors
2022-04-29 17:24:12 +02:00
Rich Raposa
8c3f313671
Merge pull request #36791 from ClickHouse/rfraposa-patch-3
Various docs fixes
2022-04-29 06:09:23 -06:00
rfraposa
e7b7b7ecd3 Various docs fixes 2022-04-29 05:33:51 -06:00
Maksim Kita
5b9bb36f80
Merge pull request #36753 from kitaisreal/added-user-defined-path-config-setting
Added user_defined_path config setting
2022-04-29 11:10:51 +02:00
Alexey Milovidov
ca7e4c6eb2
Merge pull request #36740 from Ryado/patch-1
Adding a note about server_id reuse
2022-04-29 05:44:11 +03:00
Maksim Kita
a9a04ca2fd Fix style 2022-04-28 22:13:51 +02:00
Maksim Kita
04429d85db Added user_defined_path config setting 2022-04-28 22:13:33 +02:00
Maksim Kita
fc4f241f01 Fix documentation for executable user defined functions configuration 2022-04-28 18:01:10 +02:00
Kruglov Pavel
4d08587559
Merge branch 'master' into mysqldump-format 2022-04-28 15:58:18 +02:00
Sergei Trifonov
6b7d3ce739
Merge pull request #36670 from ClickHouse/serxa-dev-config-docs
documentation on how configuration is implemented
2022-04-28 15:42:33 +02:00
Ryadh DAHIMENE
213da305d5
typo fix 2022-04-28 12:58:26 +01:00
Ryadh DAHIMENE
a5d343a705
Adding a note about server_id reuse 2022-04-28 11:32:51 +01:00
Vladimir C
1cbdc1ef3a
Merge pull request #36206 from vdimir/output-format-prometheus 2022-04-28 12:09:53 +02:00
alesapin
8f1a0f6625
Merge pull request #36258 from ClickHouse/keeper-recovery-mode
clickhouse-keeper support for force recovery
2022-04-28 11:20:59 +02:00
Alexey Milovidov
1f3d1d67fc
Merge pull request #36598 from ClickHouse/ch-keeper-zh
/zh version of clickhouse-keeper.md
2022-04-28 05:46:04 +03:00
Alexey Milovidov
b60c19e05c
Merge pull request #36613 from rschu1ze/clang-tidy-cleanup
Cleanup clang-tidy integration.
2022-04-28 05:04:50 +03:00
小蝌蚪
11cc8639ca
Add a missing **ESTIMATE** in explain syntax 2022-04-28 00:10:59 +08:00
mergify[bot]
afd82a68f9
Merge branch 'master' into clang-tidy-cleanup 2022-04-27 02:30:02 +00:00
Alexey Milovidov
b8a9f1411a
Merge pull request #36649 from azat/system.processes-is_all_data_sent
clickhouse-test: improve left queries after the test hardening
2022-04-27 05:21:22 +03:00
Ivan Blinkov
c0ee49920f
[docs] title doesn't need a period + make it shorter (#36678) 2022-04-26 21:09:03 +03:00