Commit Graph

765 Commits

Author SHA1 Message Date
Sergei Trifonov
76eb001e78 add test for changeable_in_readonly + fix SQL in docs 2022-09-09 14:01:29 +02:00
Robert Schulze
53836bbeeb
Fix typo
The system view is called 'role*_*grants', documented on page
'role*-*grants.md'.
2022-09-02 12:49:50 +00:00
Denny Crane
e3af5a7a11
Doc. Added ON CLUSTER cluster in couple places (#40874) 2022-09-01 13:31:22 +02:00
Robert Schulze
912663b719
Revert "Move CatBoost evaluation into clickhouse-library-bridge" 2022-08-31 20:54:43 +02:00
Robert Schulze
ca01286028
Merge pull request #39629 from ClickHouse/catboost-bridge
Move CatBoost evaluation into clickhouse-library-bridge
2022-08-31 16:16:11 +02:00
Robert Schulze
64a6aa328e
fix: broken links in documentation (hopefully) 2022-08-29 20:27:06 +00:00
DanRoscigno
c4b8137d31 replace symlinks 2022-08-29 12:19:50 -04:00
DanRoscigno
5b5fcc56aa add slugs 2022-08-28 10:53:34 -04:00
DanRoscigno
71409f8f67 trying tags with Algolia 2022-08-15 11:08:46 -04:00
DanRoscigno
ced68e9298 add title frontmatter 2022-08-15 09:27:20 -04:00
Nityananda Gohain
0b82fb7816
Extra semicolon removed from the TTL example
This PR removes an extra semicolon from the TTL example.
2022-08-03 12:52:06 +05:30
alesapin
2dfb547847
Merge pull request #39054 from SmitaRKulkarni/add-option-for-outfile-to-print-stdout
Add an option to INTO OUTFILE to also print details to standard output.
2022-07-27 13:51:38 +02:00
Robert Schulze
7d653b3bd8
Merge pull request #39495 from ClickHouse/mark-qpl-deflate-experimental
Mark new codec DEFLATE_QPL as experimental + cosmetics
2022-07-26 19:00:21 +02:00
Vladimir C
3bd5ca9b6a
Merge pull request #39271 from vdimir/join-alg-setting
Cleanup logic around join_algorithm setting, add docs
2022-07-26 11:00:22 +02:00
Robert Schulze
2785783def
Mark DEFLAPT_QPL as 'experimental' codec + cosmetics 2022-07-24 20:10:11 +00:00
mergify[bot]
0933dd7904
Merge branch 'master' into add-option-for-outfile-to-print-stdout 2022-07-23 19:50:10 +00:00
vdimir
e8834c5ea3
Remove trailing whitespaces from docs/en/sql-reference/statements/select/join.md 2022-07-21 14:53:40 +00:00
jasperzhu
c044c67745
Merge branch 'master' into dev_intel_iaa_deflate 2022-07-19 15:32:57 +08:00
Denny Crane
577978026a
Update partition.md 2022-07-17 21:09:01 -03:00
jinjunzh
d3d0605c00 add words of caution into documentation 2022-07-15 14:33:51 -04:00
Smita Kulkarni
1dc2187f9c Addressed review comments
Implementation:
- Added a new buffer ForkWriteBuffer takes a vector of WriteBuffer and writes data to all of them. It uses the buffer of the first element as its buffer and copies data from first buffer to all the other buffers
Testing:
- Updated tests/queries/0_stateless/02346_into_outfile_and_stdout.sh
Documentation:
- Updated the english documentation for SELECT.. INTO OUTFILE with AND STDOUT.
2022-07-14 22:47:38 +02:00
Smita Kulkarni
c7967fb721 Add an option to INTO OUTFILE to also print details to standard output.
Implementation:
- Added a bool to ASTQueryWithOutput & patched the usage in ClientBase.
- Added a new buffer TeeWriteBuffer which extends from WriteBufferFromFile (used to write data to the file) and has WriteBufferFromFileDescriptor (used to write data to stdout). The WriteBufferFromFileDescriptor uses the same buffer as TeeWriteBuffer.
- Added a new bool select_into_outfile_and_stdout in ClientBase to enable/disable progress rendering.

Testing:
 - Added a test tests/queries/0_stateless/02346_into_outfile_and_stdout.sh

Documentation:
- Updated the english documentation for the new option in SELECT.
2022-07-09 10:12:46 +02:00
Alexey Milovidov
74d02aeca7
Merge pull request #38907 from evillique/compression_level
Add compression level for data export
2022-07-07 22:27:21 +03:00
Nikolay Degterinsky
fcb6cfb6df Fix style issues 2022-07-07 08:31:55 +00:00
Nikolay Degterinsky
54d210d714 Add documentation 2022-07-07 01:59:00 +00:00
Denny Crane
db357f4a3c
Update index.md 2022-07-06 20:57:49 -03:00
Denny Crane
71c4e738d0
Update update.md 2022-07-06 20:55:06 -03:00
Denny Crane
f96225cca4
Update partition.md 2022-07-06 20:50:13 -03:00
Denny Crane
d51f9b954b
Update exchange.md 2022-07-06 20:41:01 -03:00
Nikolay Degterinsky
efcb1c368f
Merge pull request #38800 from railwayc/master
Update drop.md
2022-07-05 11:08:41 +02:00
chen
a0956465cf
Update drop.md 2022-07-04 19:34:26 +08:00
chen
4ca0c50d57
Update function.md
create function already support on cluster.
2022-07-04 19:24:54 +08:00
GruffGemini
572e540217
docs (en, group-by.md): fixed broken links 2022-06-30 09:29:18 +03:00
xinhuitian
ccb4802ab1 fix some wrong links in alter docs 2022-06-25 14:01:41 +08:00
Alexey Milovidov
ff8c52b087
Update partition.md 2022-06-25 06:11:37 +03:00
xinhuitian
3bb765ae1f fix some wrong titles and links in alter docs 2022-06-24 22:24:48 +08:00
DanRoscigno
aafe91a8ca add H3 tages for Algolia search 2022-06-22 14:48:18 -04:00
Dmitry Novik
00aca924d0 Update GROUP BY clause docs 2022-06-16 22:45:28 +00:00
Robert Schulze
a0d936cc9f
Small follow-up for FPC codec
- add paper reference + doxygen

- remove endianness handling (ClickHouse assumes little endian)

- documentation

- other minor stuff
2022-06-15 14:21:28 +02:00
Dan Roscigno
e85e450200
Merge pull request #37621 from Vxider/wv-doc
Update Window View document, add alter, inner engine, and populate
2022-06-14 12:28:18 -04:00
Vadim Volodin
637d293fbd Add SYSTEM UNFREEZE query 2022-06-08 15:21:14 +03:00
Vxider
0246a3f415 Merged with master 2022-06-04 17:22:22 +00:00
rfraposa
869967de41 Remove H1 anchor tags from docs 2022-06-02 04:55:18 -06:00
Vxider
2232d47c5a update windowview doc for alter, inner engine, and populate 2022-05-28 12:23:30 +00: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
Yakov Olkhovskiy
6b62144090 docs spelling fix 2022-05-20 08:57:18 -04: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
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
Ramazan Polat
72a2a1d8fe
update materialize index notation 2022-05-16 00:28:49 +03:00