Commit Graph

1324 Commits

Author SHA1 Message Date
凌涛
4499dd3e2f modify style 2023-10-12 14:21:20 +08:00
Kruglov Pavel
5ded0005a3
Merge pull request #55064 from AVMusorin/system-drop-format-cache
Allow drop cache for Protobuf format
2023-10-10 14:23:11 +02:00
Han Fei
fcb19b4f77 Merge branch 'master' into hanfei/statistic 2023-10-09 14:24:58 +02:00
Aleksandr Musorin
8d0c961af0 Allow drop cache for protobuf format
Before it was impossible to update Protobuf schema without server
restart. With this commit, it is enough to send query `SYSTEM DROP
SCHEMA FORMAT CACHE [FOR Protobuf]`.
2023-10-09 10:41:15 +02:00
Robert Schulze
2e8cac6e9c
Make use_mysql_types_in_show_columns independent from the connection
Fixes: #55273
2023-10-07 13:06:41 +00:00
Jens Hoevenaars
9d63f86259
Update truncate.md
Small typo in command
2023-10-05 12:11:33 +02:00
János Benjamin Antal
c911c8daf4
Prevent attaching parts from tables with different projections or indices (#55062)
* Prevent attaching parts from tables with different projections or indices

* Update docs

* Add tests
2023-09-27 15:02:53 -04:00
Han Fei
76b9d43dc4 make code beautiful 2023-09-27 11:01:53 +02:00
Han Fei
6c4474d3d1 refine code structure 2023-09-26 22:22:11 +02:00
George Gamezardashvili
0ce30ab6d5
SSH keys authentication (#41109)
Added new type of authentication based on SSH keys. It works only for Native TCP protocol.

Co-authored-by: Nikita Mikhaylov <nikitamikhaylov@clickhouse.com>
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2023-09-26 17:50:19 +02:00
Vitaly Baranov
3a2ca1f69c
Merge pull request #51261 from evillique/users-valid-until
Add VALID UNTIL clause for users
2023-09-22 12:38:30 +02:00
Pavel Novitskiy
853e3f0aa7
Add drop table IF EMPTY (#48915) 2023-09-21 09:20:18 -04:00
robot-clickhouse-ci-1
9e1e8f4d67
Merge pull request #54707 from incfly/doc-update
add missing documentation for system sync database replica.
2023-09-19 00:29:17 +02:00
Alexander Tokmakov
de9f4be7bd
Update system.md 2023-09-19 00:04:25 +02:00
Jianfei Hu
e8a292cbd4
Apply suggestions from code review
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-09-18 11:08:41 -07:00
Jianfei Hu
745006a433 add missing documentation for system sync database replica.
Signed-off-by: Jianfei Hu <hujianfei258@gmail.com>
2023-09-15 23:37:40 +00:00
Rory Crispin
0a0e278c1a
Small typo 2023-09-15 10:45:10 +01:00
Nikolay Degterinsky
0998b0bbc7 Fixes 2023-09-13 03:14:02 +00:00
Nikolay Degterinsky
268c45d900 Merge remote-tracking branch 'upstream/master' into users-valid-until 2023-09-12 23:44:22 +00:00
slvrtrn
28e2ebf9db Merge remote-tracking branch 'refs/remotes/origin/simplified-prepared-statements-for-mysql' into simplified-prepared-statements-for-mysql 2023-09-12 18:41:36 +02:00
slvrtrn
dddea9219a Address the review comments 2023-09-12 18:39:03 +02:00
Julia Kartseva
59844b0a9d Add SHOW FUNCTIONS support to client
Accepts CH client queries in the form of
SHOW FUNCTIONS [LIKE | ILIKE '< pattern>']

Retrieves all columns from `functions` table in system database.

Fixes #52757
2023-09-07 14:08:50 -07:00
robot-clickhouse
fd4ddc49f2
Merge pull request #54332 from rschu1ze/consolidate-tests-53149
Consolidate GCD codec tests (Follow up to #53149)
2023-09-07 15:29:22 +02:00
Alexey Milovidov
ce8ab5c9dd
Update comment.md 2023-09-07 07:30:46 +03:00
Robert Schulze
f2f24610d0
Improve English grammar by 8.3% 2023-09-06 15:04:18 +02:00
Alexander Sapin
518d4b4357 Merge branch 'master' into alter-table-add-comment 2023-09-06 12:34:04 +02:00
Robert Schulze
d36edea9e2
Consolidate GCD codec tests (follow up to #53149) 2023-09-05 21:34:27 +00:00
Robert Schulze
470ce3444c
Merge pull request #53149 from seshWCS/gcddelta-codec
Add GCD codec
2023-09-05 23:32:06 +02:00
Robert Schulze
17cb6a8e3f
SHOW COLUMNS: update docs, refresh expected results, add comment about bug 2023-09-05 18:34:33 +00:00
seshWCS
dbab2f27ba Docs-fix 2023-09-05 12:40:21 +00:00
pufit
2469cbbf67
Update projection.md 2023-09-05 08:28:58 -04:00
Александр Нам
0ca380707f
Merge branch 'master' into gcddelta-codec 2023-09-05 11:08:00 +03:00
Vasily Nemkov
c0db042879
Update optimize.md 2023-09-04 17:01:10 +02:00
Vasily Nemkov
ef3ab85b76
Minor clarifications to the OPTIMIZE ... DEDUPLICATE docs 2023-09-04 16:57:38 +02:00
Александр Нам
9a71bce1f5
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-09-02 00:51:49 +03:00
vdimir
406d61f9c8
Merge pull request #53755 from ClickHouse/vdimir/join_on_nullsafe 2023-09-01 11:02:37 +02:00
seshWCS
e0157c4288 Docs-fix 2023-08-29 18:19:37 +00:00
seshWCS
85240aca3b Docs-fix 2023-08-29 18:09:28 +00:00
Александр Нам
7c2aefe170
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-08-29 20:59:54 +03:00
robot-ch-test-poll1
2c8cc7979f
Merge pull request #53571 from ClickHouse/password-complexity-req
Add password complexity requirements to docs
2023-08-29 12:42:30 +02:00
Robert Schulze
679a983094
Switch paragraphs 2023-08-29 10:57:35 +02:00
Justin de Guzman
be65292714
Rename COLUMNS expression to dynamic column selection 2023-08-28 19:55:42 -07:00
Justin de Guzman
bc6c8ea410
Add info about password complexity req for ClickHouse Cloud 2023-08-28 18:16:53 -07:00
vdimir
1cf68baad7
Add NULL values in JOIN keys section to join doc 2023-08-28 11:41:36 +00:00
Александр Нам
a291444b30
Update table.md 2023-08-23 00:33:14 +03:00
Александр Нам
c7f7fc55c4
Merge branch 'ClickHouse:master' into gcddelta-codec 2023-08-22 20:13:25 +03:00
Александр Нам
50e10a66cc Added Docs 2023-08-22 17:12:01 +00:00
Robert Schulze
583d9b33f0
Merge pull request #51446 from rschu1ze/recfgable-caches
Runtime-reconfigurable cache sizes
2023-08-21 23:27:21 +02:00
Nikita Mikhaylov
145c99ee94
Merge pull request #53280 from evillique/better-stop-listen
Add EXCEPT clause to SYSTEM STOP LISTEN query
2023-08-21 19:03:49 +02:00
Robert Schulze
8cbf626d0f
Cosmetics 2023-08-21 14:08:44 +00:00
Justin de Guzman
f891401a5d
Add password complexity requirements to docs 2023-08-18 17:58:06 -07:00
Alexey Milovidov
e7d0edfce6
Merge pull request #53261 from bharatnc/ncb/truncate-db
support TRUNCATE DATABASE
2023-08-18 08:22:32 +03:00
Nikolay Degterinsky
a893f75884 Merge remote-tracking branch 'upstream/master' into better-stop-listen 2023-08-16 23:06:18 +00:00
Nikolay Degterinsky
1738afc196
Update insert-into.md 2023-08-14 16:37:34 +02:00
Bharat Nallan Chakravarthy
8cd9f3b912 add docs 2023-08-10 21:14:47 -07:00
Nikolay Degterinsky
bcc0fbbf91 Add EXCEPT clause to SYSTEM STOP LISTEN query 2023-08-10 16:10:33 +00:00
Alexander Tokmakov
4b30900fed
Revert "Improve CHECK TABLE system query" 2023-08-10 14:44:16 +03:00
vdimir
1183dac293
fix doc links 2023-08-08 09:45:34 +00:00
vdimir
50715ca4fc
fix doc links 2023-08-08 09:45:33 +00:00
vdimir
aeee50466c
Upd doc for CHECK TABLE 2023-08-08 09:45:32 +00:00
pufit
2f46ae850e
Merge branch 'master' into pufit/role-from-storage 2023-08-07 17:57:41 -04:00
Anton Popov
92cb5e9ae3
Merge pull request #52687 from alkorgun/fix-named-collections-on-cluster-23.7
Fix named collections on cluster 23.7
2023-08-03 14:50:28 +02:00
Alexander Tokmakov
7684e68008
Add system stop pulling replication log (#52881)
* add system stop pulling replication log

* add const

* fix another stupid test

* Update test.py
2023-08-03 13:34:43 +03:00
pufit
9dbb106dc1 Fix tests, docs 2023-07-27 23:37:09 -04:00
Илья Коргун
d1f3849d99 Fix errata at named collections sql-reference 2023-07-27 22:08:36 +03:00
Al Korgun
f026ccf11e
Merge branch 'ClickHouse:master' into fix-named-collections-on-cluster-23.7 2023-07-27 10:48:25 +03:00
Илья Коргун
e511072df1 Update named collections related docs 2023-07-27 09:42:38 +03:00
Nikolay Degterinsky
d89e2e6a27
Add SYSTEM STOP LISTEN query (#51016)
Co-authored-by: Nikita Mikhaylov <nikitamikhaylov@clickhouse.com>
Co-authored-by: Nikita Mikhaylov <mikhaylovnikitka@gmail.com>
2023-07-26 19:58:41 +02:00
Julian Maicher
b91852de3a fix(docs): Document correct MODIFY COLUMN REMOVE syntax 2023-07-25 16:07:29 +02:00
Alexey Milovidov
2d89dba8d1
Merge pull request #51796 from rschu1ze/show-index-better-mysql-compat
Improve MySQL compatibility of statement `SHOW INDEX`
2023-07-22 01:22:47 +03:00
Samuel Colvin
90be5e6160
Remove reference to TIMEOUT in live views documentation
Temporary live views were removed in #42173, but the documentation was not fully updated to reflect the change.
2023-07-19 20:04:43 +01:00
timfursov
90df922f50
Update with.md
Removed new line chars completely just in case
2023-07-18 15:02:59 +01:00
timfursov
cfcfb83ab7
Update with.md
replaced <br> to \
2023-07-18 14:41:43 +01:00
timfursov
5a398f9a93
Update with.md
Added an example
2023-07-18 13:39:53 +01:00
timfursov
f3bfc6e5cf
Update with.md
I propose changes to make it clear that CTEs do not guarantee the same results in all places they are used, since the query will be re-executed in each place they are used.
2023-07-18 11:40:57 +01:00
Robert Schulze
e71efe5c5c
Merge branch 'master' into show-index-better-mysql-compat 2023-07-17 16:19:51 +02:00
Konstantin Ilchenko
3b954a2952
[DOCS] Add REMOVE SAMPLE BY to docs 2023-07-09 14:38:16 +02:00
Robert Schulze
9a295eca46
Incorporate review feedback 2023-07-06 15:03:15 +00:00
Robert Schulze
b3edfbaab6
Update docs 2023-07-05 08:57:14 +00:00
Robert Schulze
966e93b908
Point to existing system tables for alternatives 2023-07-04 19:22:08 +00:00
Robert Schulze
0f68c894f5
Point to existing system tables for alternatives 2023-07-04 17:02:00 +00:00
Robert Schulze
b71043b2c9
Fix field 'non_unique' 2023-07-04 16:57:31 +00:00
Robert Schulze
5c463838b7
Improve compatibility of 'cardinality' field 2023-07-04 16:45:10 +00:00
Robert Schulze
eb86f27482
Document field 'sub_part' 2023-07-04 16:37:15 +00:00
Robert Schulze
6aab7577ff
Document 'packed' field 2023-07-04 16:33:33 +00:00
Robert Schulze
a8511a0be5
Fix description of 'comment' field 2023-07-04 16:31:36 +00:00
Robert Schulze
e9e3f87ed2
SHOW INDEX: Make fields INDEX_TYPE more compatible with MySQL 2023-07-04 16:21:55 +00:00
Robert Schulze
047060f9a4
SHOW INDEX: Make fields COMMENT and INDEX_COMMENT more compatible with MySQL 2023-07-04 16:18:11 +00:00
Robert Schulze
59928cb485
Docs: Fix description of output field NON_UNIQUE for statement SHOW INDEXES 2023-07-04 16:00:53 +00:00
Robert Schulze
3cb459bd04
Docs: Fix description of output field NON_UNIQUE for statement SHOW INDEXES 2023-07-04 15:50:56 +00:00
Alexey Milovidov
0db9d6be37
Merge branch 'master' into alter-table-add-comment 2023-06-27 22:56:22 +03:00
Robert Schulze
99c9830737
Docs: Add more blog posts to join docs 2023-06-27 13:34:58 +00:00
Alexey Milovidov
630e2e7907 Add documentation 2023-06-23 03:22:21 +02:00
Nikolay Degterinsky
0d2b9fd0e5 Add VALID UNTIL clause for users 2023-06-22 02:12:12 +00:00
DanRoscigno
c14930bc19 bad path 2023-06-21 13:12:09 -04:00
Robert Schulze
06e8590c8e
Merge pull request #50775 from rschu1ze/non-experimental-qpl-deflate
Mark QPL_DEFLATE non-experimental but default: off-by-default
2023-06-21 10:43:16 +02:00
Dan Roscigno
3ccbfc8489
Merge branch 'master' into patch-53 2023-06-20 14:39:52 -04:00
Robert Schulze
bc7df2baca
Merge branch 'master' into non-experimental-qpl-deflate 2023-06-20 20:06:01 +02:00
Dan Roscigno
513b28b451
Update docs/en/sql-reference/statements/alter/skipping-index.md 2023-06-20 13:49:16 -04:00
Denny Crane
ef65367ff0
Update projection.md 2023-06-20 13:59:18 -03:00
Denny Crane
2cca74df68
Update skipping-index.md 2023-06-20 13:56:34 -03:00
Justin de Guzman
af4159e71e
Use better user/pw examples for docs when creating dicts in SQL Console
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-06-20 09:51:11 -07:00
Justin de Guzman
62044d3079
Add info on creating users when creating dicts in SQL Console
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-06-20 09:50:49 -07:00
Justin de Guzman
2718dab7fa
Specify database when creating dicts in docs
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-06-20 09:49:48 -07:00
Justin de Guzman
82e770bf9a
SQL Console must use users with default role for dicts
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2023-06-20 09:48:40 -07:00
Denny Crane
fe8fbde909
Update index.md 2023-06-20 13:46:55 -03:00
Denny Crane
9e324b4eba
Update skipping-index.md 2023-06-20 13:41:11 -03:00
Denny Crane
a39088c99a
Update column.md 2023-06-20 13:35:45 -03:00
Justin de Guzman
28703ccead
Specify that user/password is required for dicts in SQL Console 2023-06-20 09:00:03 -07:00
Derek Chia
811f6c1532
Update delete.md 2023-06-14 20:50:47 +08:00
Derek Chia
08cd94e826
Update delete.md
LWD is not supported in table with projection
2023-06-14 12:57:50 +08:00
Robert Schulze
8222861f2e
Merge remote-tracking branch 'rschu1ze/master' into non-experimental-qpl-deflate 2023-06-11 14:39:30 +00:00
Robert Schulze
c538506f2e
More fixes 2023-06-09 20:50:17 +00:00
Robert Schulze
1aa158909e
enable_qpl_deflate_codec --> enable_deflate_qpl_codec 2023-06-09 12:43:33 +00:00
jinjunzh
f1192d59af
refine patch according to comments 2023-06-09 12:43:15 +00:00
jinjunzh
056ca4f555
Add extensive testing cases for deflate qpl codec 2023-06-09 12:42:59 +00:00
YalalovSM
094d661701
Update projection.md
Document using keywords IF EXISTS/IF NOT EXISTS with projections
2023-06-09 09:26:00 +05:00
Robert Schulze
42914484b3
Merge pull request #50713 from rschu1ze/show-indices
Add SHOW INDICES as alias for statement SHOW INDEX/INDEXES/KEYS
2023-06-09 00:37:29 +02:00
Robert Schulze
6fcc4158d2
Add SHOW INDICES as alias for statement SHOW INDEX/INDEXES/KEYS 2023-06-08 12:51:33 +00:00
Robert Schulze
4050b637f1
ALTER TABLE ADD INDEX: Add default GRANULARITY argument for secondary indexes
- Related to #45451, which provides a default GRANULARITY when the
  skipping index is created in CREATE TABLE.
2023-06-07 09:04:24 +00:00
Alexey Milovidov
129fe9158f
Merge pull request #50486 from Algunenano/system_on_cluster
Mention ON CLUSTER options for SYSTEM queries
2023-06-03 06:48:54 +03:00
Raúl Marín
dcd5579851 Mention ON CLUSTER options for SYSTEM queries 2023-06-02 16:51:04 +02:00
Robert Schulze
a22bb07fbd
Merge remote-tracking branch 'rschu1ze/master' into fix-typo-check-on-nested-docs 2023-06-02 12:33:16 +00:00
Robert Schulze
65cc92a78d
CI: Fix aspell on nested docs 2023-06-02 12:24:41 +00:00
Dan Roscigno
bd047ed9e0
Update order-by.md
add a note that ORDER BY sorting is case sensitive.  

closes https://github.com/ClickHouse/clickhouse-docs/issues/81
2023-06-01 14:16:49 -04:00
DanRoscigno
97e120ee3c add explain video to docs 2023-06-01 09:31:05 -04:00
Nikita Mikhaylov
5de6dc87ec
Merge branch 'master' into usernam3-sample-clause-links-fix 2023-05-27 14:38:34 +02:00
Igor Nikonov
c6c4ded5e1
Fixes for WITH FILL grouped by sorting prefix 2023-05-26 10:12:34 +02:00
Stanislav Dobrovolschii
8c4f0c763e Update SAMPLE clause documentation links 2023-05-25 18:52:38 +00:00
Igor Nikonov
1c0b02c3c4
Merge pull request #49503 from ClickHouse/fill_with_by_sorting_prefix_2
WITH FILL by sorting prefix
2023-05-25 12:37:40 +02:00
Dan Roscigno
0219f78630
Testing algolia index 2023-05-24 12:40:12 -04:00
Igor Nikonov
fbeba9b591 Documentation 2023-05-23 22:55:58 +02:00
Dan Roscigno
1ded6d6409
Update grant.md 2023-05-19 16:53:26 -04:00
Denny Crane
94fe224935
Update partition.md 2023-05-18 10:06:59 -03:00
Ilya Golshtein
7fa6ea4ccc row policy template: tests and code cleanup, code review changes 2023-05-13 22:30:02 +00:00
Robert Schulze
0d9a6b5545
Update QPL docs 2023-05-13 13:26:47 +00:00
Alexey Milovidov
6df457dcaf
Merge pull request #49811 from jinjunzh/iaadeflate_swpath_compat
qpl_deflate codec lower the minimum SIMD version to SSE 4.2
2023-05-13 04:21:54 +03:00
Yakko Majuri
eb6cbe63ee
Minor correction to example in COMMENT COLUMN 2023-05-12 11:54:53 -03:00
Robert Schulze
9d34233e65
Merge branch 'master' into iaadeflate_swpath_compat 2023-05-12 16:39:17 +02:00
jinjunzh
e72a6fe973 qpl-deflate codec lower the minimum SIMD version to SSE 4.2 2023-05-12 09:56:01 -04:00
DanRoscigno
0b9e575588 uplevel UDFs and link 2023-05-12 08:05:38 -04:00
Roman Vasin
632c0eeefc
Add support of temporary tables in FROM part of ATTACH|REPLACE PARTITION FROM (#49436)
* Add temp tables after FROM

* Resolve works fine with temp and non-temp tables

* Add usage of temporary table in  00626_replace_partition_from_table test

* Update documentation

* Add tests for ReplicatedMergeTree

* Move tests into 02731_replace_partition_from_temporary_table
2023-05-10 15:25:12 +03:00
alekar
605991d4d5
Merge branch 'master' into 48716 2023-05-09 13:38:11 -07:00
Robert Schulze
7137c8811a
Merge pull request #49158 from ClickHouse/rs/show-indexes
Implement SHOW INDEX
2023-05-06 15:30:29 +02:00
Ivan Takarlikov
8873856ce5 Fix some grammar mistakes in documentation, code and tests 2023-05-04 13:35:18 -03:00
alesapin
89caf40840
Merge pull request #46528 from myrrc/feature/show-secrets-option
Show secrets in `SHOW` and `SELECT` queries
2023-05-04 11:21:30 +02:00
alekar
af81f056b4
Merge branch 'master' into 48716 2023-05-03 18:35:54 -07:00
Alexander Tokmakov
e399903030
Merge pull request #48548 from ClickHouse/clusters_is_active_column
Add some columns to system.clusters
2023-05-03 17:42:40 +03:00
alekar
29d96afae8
Merge branch 'master' into 48716 2023-04-28 14:24:46 -07:00
Mike Kot
2d20658885
Merge branch 'master' into feature/show-secrets-option 2023-04-28 20:19:35 +03:00