Commit Graph

1414 Commits

Author SHA1 Message Date
Tanya Bragin
2639767f4c
Clarify compression codec default
cc @alexey-milovidov
2023-03-19 19:55:51 -07:00
Denny Crane
64e8d9d4d7
Update view.md 2023-03-19 14:10:18 -03:00
Denny Crane
35d2fb48de
Update view.md 2023-03-19 14:09:12 -03:00
Denny Crane
4629911e6e
Update view.md 2023-03-19 14:05:39 -03:00
Denny Crane
749daca64b
Update view.md 2023-03-19 14:01:47 -03:00
Alexander Tokmakov
f1df91cd09
Merge pull request #47659 from ClickHouse/fix_993
Fixes for 993 and friends
2023-03-18 14:46:43 +03:00
rfraposa
ac5ed141d8 New nav - reverting the revert 2023-03-17 21:45:43 -05:00
Alexander Tokmakov
d11aee2b0c
Merge branch 'master' into fix_993 2023-03-17 21:28:23 +03:00
Alexander Tokmakov
ec44c8293a
Revert "New navigation" 2023-03-17 21:21:11 +03:00
Alexander Tokmakov
dfd8b2670a fix tests, update docs 2023-03-17 14:15:03 +01:00
rfraposa
60fb9973d7 trailing slash fixes 2023-03-16 16:43:01 -05:00
Rich Raposa
06471b84ba
Merge branch 'master' into new-nav 2023-03-16 13:22:04 -06:00
rfraposa
9ee7b82e64 Trailing slashes fix 2023-03-16 14:21:32 -05:00
Alexander Tokmakov
a72f0cae07
Merge pull request #46071 from arenadata/ADQM-639
Add support of arbitrary engines for temporary tables
2023-03-16 20:56:25 +03:00
Rich Raposa
ecf6f28c77
Merge branch 'master' into new-nav 2023-03-16 09:01:46 -06:00
Denny Crane
8a802b7fc9
Update comment.md 2023-03-16 11:04:15 -03:00
Kruglov Pavel
a3510a2ffe
Merge pull request #47271 from Avogar/codecs-better
Add optional parameters to some codecs, fix aborts in clickhouse-compressor with some codecs.
2023-03-16 12:20:23 +01:00
Rich Raposa
81cd962773
Merge branch 'master' into new-nav 2023-03-15 22:23:44 -06:00
Igor Nikonov
109ef9232c
Warning regarding SETTINGS and FORMAT 2023-03-15 16:30:31 +01:00
avogar
0005517cee Fix comments 2023-03-15 13:08:01 +00:00
Rich Raposa
f7e87eb036
Merge branch 'master' into new-nav 2023-03-10 10:48:18 -07:00
Dan Roscigno
5c03df2f1c
Merge branch 'master' into rs/cleanup-default-value-docs 2023-03-10 08:37:59 -05:00
rfraposa
591b905fe0 Fix links 2023-03-09 23:32:25 -07:00
Rich Raposa
de68dade71
Revert "standardize admonitions" 2023-03-09 14:30:40 -07:00
DanRoscigno
95351bc2d3 standardize admonitions 2023-03-09 12:05:26 -05:00
rfraposa
604eeede97 Update system.md 2023-03-09 08:41:39 -07:00
rfraposa
b608a9e177 Update delete.md 2023-03-09 08:28:43 -07:00
Rich Raposa
66dd5b3834
Merge branch 'master' into new-nav 2023-03-09 08:12:23 -07:00
Roman Vasin
f42f3ee655
Merge branch 'master' into ADQM-639 2023-03-09 09:48:33 +03:00
Rich Raposa
f24fad9e26
Merge branch 'master' into new-nav 2023-03-08 14:31:10 -07:00
Azat Khuzhin
d7b5e36218
Merge branch 'master' into mv-ignore-errors 2023-03-08 22:13:05 +01:00
rfraposa
fa6f3dadba Link fixes 2023-03-07 22:52:43 -07:00
Rich Raposa
67c16195cc
Merge branch 'master' into new-nav 2023-03-07 14:06:37 -07:00
Robert Schulze
ff8fc0634a
Docs: Small cleanups after Kafka fix #47138 2023-03-07 19:50:42 +00:00
Robert Schulze
5b91631722
Merge pull request #47138 from AVMusorin/disallow-default-columns-kafka-engine
Prohibit DEFAULT/EPHEMERAL/ALIAS/MATERIALIZED columns in KafkaEngine
2023-03-07 20:36:46 +01:00
Kseniia Sumarokova
0d778e693b
Update docs/en/sql-reference/statements/create/view.md 2023-03-07 11:31:43 +01:00
rfraposa
3d484e20bc Fixing links 2023-03-06 23:33:56 -07:00
avogar
b5f19ee12c Make better 2023-03-06 19:34:36 +00:00
avogar
8847561fc2 Add optional parameters to some codecs, fix aborts in clickhouse-compressor with some codecs 2023-03-06 16:49:28 +00:00
Roman Vasin
cf85915466 Refactor grants logic, create test for grants, update docs 2023-03-06 16:37:41 +00:00
Mike Kot
1fca58b694
Merge branch 'master' into feature/show-secrets-option 2023-03-06 15:46:54 +03:00
Roman Vasin
95a7e11a47 Merge branch 'master' of github.com:ClickHouse/ClickHouse into ADQM-639 2023-03-06 09:11:20 +00:00
Roman Vasin
237b5b2bfa Update docs 2023-03-06 08:25:39 +00:00
AVMusorin
0f2ae72141
prohibit DEFAULT/EPHEMERAL/ALIAS in KafkaEngine 2023-03-03 16:25:42 +01:00
Robert Schulze
31bc032e0b
Docs: Cleanup default value docs 2023-03-02 19:23:00 +00:00
rfraposa
17a2d7ed45 Fixing broken links 2023-03-01 16:53:17 -07:00
Rich Raposa
632fc6c8da
Merge branch 'master' into new-nav 2023-02-28 22:47:31 -07:00
Rich Raposa
5704c87c5f
Merge branch 'master' into new-nav 2023-02-28 15:55:36 -07:00
Dan Roscigno
fa5b65a702
add comment info to create table
closes https://github.com/ClickHouse/ClickHouse/issues/37088
2023-02-28 17:35:52 -05:00
Dan Roscigno
7c6e7622d8
docs: sample settings profile and assign to a user
closes https://github.com/ClickHouse/ClickHouse/issues/12311
2023-02-28 15:38:31 -05:00
Rich Raposa
232ab4ecda
Merge branch 'master' into new-nav 2023-02-28 13:26:00 -07:00
rfraposa
a4a5a8a7d3 Initial copy of doc-preview 2023-02-28 11:59:05 -07:00
Dan Roscigno
7099e76cc3
Remove extra ]
closes #46172
2023-02-28 10:47:51 -05:00
Roman Vasin
bb483ca051 Update table.md doc 2023-02-28 08:05:29 +00:00
Dan Roscigno
f1e270b755
Add link to Howto from Materialized view ref.
closes https://github.com/ClickHouse/clickhouse-docs/issues/96
2023-02-27 15:41:52 -05:00
Mike Kot
c799bd094b
Merge branch 'master' into feature/show-secrets-option 2023-02-27 18:43:14 +03:00
Mike Kot
62acc7a6cf setting and some docs 2023-02-27 13:18:21 +00:00
Rich Raposa
bb51da7de1
Merge pull request #46805 from den-crane/patch-63
Doc. Final setting
2023-02-25 16:05:54 -07:00
Denny Crane
95b701a37c
Update table.md 2023-02-24 13:17:30 -04:00
Denny Crane
9974f45ab0
Update table.md 2023-02-24 13:15:35 -04:00
Denny Crane
828b850335
Update from.md 2023-02-23 21:39:46 -04:00
Denny Crane
8851c268c2
Update from.md 2023-02-23 21:25:00 -04:00
Denny Crane
06a3c5598a
Update from.md 2023-02-23 21:21:36 -04:00
Rich Raposa
25a759d8d1
Update insert-into.md
Fix the formatting
2023-02-23 14:41:45 -07:00
Azat Khuzhin
3a58951f64 Improve documentation for materialized_views_ignore_errors
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-21 19:25:58 +01:00
Azat Khuzhin
6391e2daec Set materialized_views_ignore_errors unconditionally for system.*_log tables
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-21 16:33:15 +01:00
Azat Khuzhin
a110e0f022 Allow to ignore errors while pushing to MATERILIZED VIEW
This can be useful in the following scenarious:

- you want to duplicate the data to another table and you don't care
  about the errors
- you want to duplicate system.*_log to another server, you are adding
  materialized view that will push to Distributed table, but you don't
  want to miss original blocks in the local system.*_log
- you want to push some data to a 3d party service, using i.e. URL
  engine.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-21 16:28:38 +01:00
Roman Vasin
3e2b56fabc
Merge branch 'master' into ADQM-639 2023-02-17 21:14:26 +03:00
robot-ch-test-poll1
300dfbbef6
Merge pull request #46460 from ClickHouse/group-by-use-nulls-docs
Add documentation for `group_by_use_nulls` setting
2023-02-16 18:41:34 +01:00
Dmitry Novik
c95df21324 Review fixes 2023-02-16 15:38:25 +00:00
Dmitry Novik
b908fa32df Add documentation for group_by_use_nulls 2023-02-16 00:57:53 +00:00
Denny Crane
6d1b3dcd78
Update prewhere.md 2023-02-14 13:07:01 -04:00
Denny Crane
e07c723032
Update prewhere.md 2023-02-14 13:03:44 -04:00
Roman Vasin
8cc768fde2 Add KeeperMap as disallowed engine for temporary tables 2023-02-13 16:23:04 +00:00
Roman Vasin
9488bd834f
Merge branch 'master' into ADQM-639 2023-02-07 09:45:10 +03:00
Roman Vasin
a4079bc360 Update docs for temporary tables 2023-02-06 09:52:52 +00:00
Antonio Andelic
a58653820e Update docs 2023-02-03 18:19:12 +00:00
DanRoscigno
c9244335ef move title to frontmatter 2023-02-03 09:21:30 -05:00
DanRoscigno
7889b632d6 add metadata 2023-02-03 09:16:33 -05:00
DanRoscigno
26a6c5a25b combine guide and reference for lightweight deletes 2023-02-03 09:13:48 -05:00
Alexander Tokmakov
cce6d1989e
Update system.md 2023-02-02 22:01:00 +03:00
Robert Schulze
b512316586
Merge pull request #45682 from ClickHouse/rename-qrc-to-qc
Rename "Query Result Cache" to "Query Cache"
2023-02-01 11:23:29 +01:00
Alexander Gololobov
e705f11ad1
Merge pull request #45786 from ClickHouse/delete_on_cluster
Support DELETE ON CLUSTER
2023-02-01 10:52:01 +01:00
robot-ch-test-poll2
202fa9fa37
Merge pull request #45859 from FArthur-cmd/show_engines_support
Add support for SHOW ENGINES query
2023-02-01 07:32:56 +01:00
FArthur-cmd
63e8eef9de add documentation and test 2023-02-01 02:50:53 +03:00
Dan Roscigno
2f64ba187f
Update docs/en/sql-reference/statements/alter/ttl.md 2023-01-31 14:55:13 -05:00
rfraposa
8d0908cb0f Update ttl.md 2023-01-31 11:43:09 -07:00
Dan Roscigno
9ada816d5a
Update table.md 2023-01-31 10:59:08 -05:00
Robert Schulze
325c6bdf3d
Renaming: "Query Result Cache" --> "Query Cache"
Reasons:

- The cache will at some point store intermediate results as opposed to
  only query results. We should change the terminology now without
  having to worry about backward compat.

- Equivalent caches in MySQL (1) and Starrocks (2) are called "query
  cache".

- The new name is ca. 13.8% more catchy.

(1) https://dev.mysql.com/doc/refman/5.6/en/query-cache.html
(2) https://docs.starrocks.io/en-us/2.5/using_starrocks/query_cache
2023-01-31 09:54:34 +00:00
Alexander Gololobov
65d39a616d Added ON CLUSTER 2023-01-30 17:02:29 +01:00
Derek Chia
692b7ab211
Update dictionary.md
Remove "statement:" from a query
2023-01-30 17:56:17 +08:00
freedomDR
876a92d4d1 add doc about system sync file cache. 2023-01-28 04:27:10 +00:00
Alexey Milovidov
bc2f454522
Merge branch 'master' into block-non-float-gorilla-v2 2023-01-28 03:30:12 +03:00
Alexey Milovidov
0ffc8f048b
Merge pull request #45464 from lesandie/patch-1
Update skipping-index.md
2023-01-28 03:27:44 +03:00
Diego Nieto
836e14e52b
Update skipping-index.md
Deleted the confusing comment and added implemented as a mutation, like MATERIALIZE INDEX.
2023-01-26 17:23:39 +01:00
Diego Nieto
ec378fc4d6
Merge branch 'ClickHouse:master' into patch-1 2023-01-26 17:17:35 +01:00
Dan Roscigno
b4ab361366
Merge branch 'master' into docs_optimize_skip_merged_partitions 2023-01-25 19:45:32 -05:00
Dan Roscigno
55c9b03c47
Update docs/en/sql-reference/statements/optimize.md 2023-01-25 19:45:25 -05:00
Robert Schulze
da7a657f1f
Docs: fix docs of EXPLAIN PLAN indexes=1 2023-01-25 11:02:50 +00:00
AVMusorin
5f8658b2d6
docs: added optimize_skip_merged_partitions setting 2023-01-24 14:56:39 +01:00
Robert Schulze
574cab5d7e
Remove transitory parameter 2023-01-24 11:05:29 +00:00
Robert Schulze
aaf7653108
Merge remote-tracking branch 'origin/master' into block-non-float-gorilla-v2 2023-01-24 10:14:10 +00:00
rfraposa
33770303a0 Add DISTINCT to INTERSECT and EXCEPT 2023-01-23 17:10:30 -07:00
Diego Nieto
c4266588c6
Merge branch 'master' into patch-1 2023-01-23 20:50:37 +01:00
Dan Roscigno
ee31da9e1e
Merge pull request #45366 from gingerwizard/cross-link-docs
link docs to blogs
2023-01-23 14:04:59 -05:00
Robert Schulze
0ab7ae6c17
Merge pull request #43797 from ClickHouse/query-result-cache
Query result cache [experimental]
2023-01-23 19:54:35 +01:00
Denny Crane
531ad1661e
Update column.md 2023-01-23 09:57:42 -04:00
Denny Crane
4d9be1ef4f
Update column.md 2023-01-23 09:57:04 -04:00
Denny Crane
2bf59fd48c
Update column.md 2023-01-23 09:55:30 -04:00
Robert Schulze
e6167d6b36
Deprecate Gorilla compression of non-float columns
Reasons:

1. The original Gorilla paper proposed a compression schema for pairs of
   time stamps and double-precision FP values. ClickHouse's Gorilla
   codec only implements compression of the latter and it does not
   impose any data type restrictions.
   - Data types != Float* or (U)Int* (e.g. Decimal, Point etc.) are
     definitely not supposed to be used with Gorilla.
   - (U)Int* types are debatable. The paper only considers
     integers-stored-as-FP-values, a practical use case for which
     Gorilla works well. Standalone integers are not considered which
     makes them at least suspicious.

2. Achieve consistency with FPC, another specialized floating-point
   timeseries codec, which rejects non-float data.

3. On practical datasets, ZSTD is often "good enough" (**) so it should
   be okay to disincentive non-ZSTD codecs a little bit. If needed,
   Delta and DoubleDelta codecs are viable alternative for slowly
   changing (time-series-like) integer sequences.

Since on-prem and hosted users may still have Gorilla-compressed
non-float data, this combination is only deprecated for now. No warning
or error will be emitted. Users are encouraged to migrate
Gorilla-compressed non-float data to an alternative codec. It is planned
to treat Gorilla-compressed non-float columns as "suspicious" six months
after this commit (i.e. in v23.6). Even then, it will still be possible
to set "allow_suspicious_codecs = true" and read and write
Gorilla-compressed non-float data.

(*) Sec. 4.1.2, "Gorilla restricts the value element in its tuple to a
    double floating point type.", https://doi.org/10.14778/2824032.2824078

(**) https://clickhouse.com/blog/optimize-clickhouse-codecs-compression-schema
2023-01-20 17:31:16 +00:00
Diego Nieto
a2b342bcbe
Update skipping-index.md
ADD and DROP are not such lightweight command they generate mutations to deal with the changes and they will take time to complete depending on how much data the table has.
2023-01-20 12:32:50 +01:00
Dale Mcdiarmid
9c4d3e0ffb link docs to blogs 2023-01-17 15:38:10 +00:00
Robert Schulze
099e30ef2a
Merge remote-tracking branch 'origin/master' into query-result-cache 2023-01-16 08:04:49 +00:00
Kseniia Sumarokova
db3e0219fc
Merge pull request #41687 from ClickHouse/40907_Parameterized_views_as_table_functions
40907 Parameterized views as table functions
2023-01-12 14:24:32 +01:00
Sergei Trifonov
1b94c839d5
Add docs for SYSTEM RELOAD USERS 2023-01-11 21:16:22 +01:00
Robert Schulze
cbc18318ff
Merge pull request #45114 from ClickHouse/less-awkward-comment-about-debugging
Docs: Rewrite awkwardly phrased sentence about flush interval
2023-01-10 14:15:43 +01:00
Robert Schulze
6497ddd882
Docs: Rewrite awkwardly phrased sentence about flush interval 2023-01-10 13:13:35 +00:00
Robert Schulze
0c3b034887
Merge remote-tracking branch 'origin/master' into query-result-cache 2023-01-10 09:02:41 +00:00
Ivan Blinkov
61c2f23713 Remove leftover empty lines at the end of markdown files 2023-01-09 15:15:18 +01:00
Ivan Blinkov
b7e082d033 Remove "Original article links" 2023-01-09 15:13:36 +01:00
Robert Schulze
45dbcf88e5
Merge remote-tracking branch 'origin/master' into query-result-cache 2023-01-06 20:42:48 +00:00
DanRoscigno
2397318b1a add more about matching 2023-01-04 15:37:13 -05:00
DanRoscigno
df603911ea add example with file globbing 2023-01-04 11:36:38 -05:00
Smita Kulkarni
1f89db78a5 Added is_create_parameterized_view flag in ActionsVisitor, added functions for column manipulation for parameterized view in StorageView, updated tests to fix flaky test issues and addressed small review comments- 40907 Parameterized views as table functions 2023-01-03 11:00:39 +01:00
Robert Schulze
e9e04166d9
Merge remote-tracking branch 'origin/master' into query-result-cache 2023-01-02 08:20:27 +00:00
SmitaRKulkarni
4d7459bd65
Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-12-27 08:15:42 +01:00
Dan Roscigno
37826d6301
Update docs/en/sql-reference/statements/select/from.md 2022-12-22 11:13:36 -05:00
DanRoscigno
4da00b0b1d clarify which engines support final 2022-12-21 09:07:40 -05:00
DanRoscigno
e791e7bbfe clarify which engines support final 2022-12-21 08:58:12 -05:00
DanRoscigno
4981d4a013 clarify which engines support final 2022-12-21 08:55:38 -05:00
Robert Schulze
b93c56323c
Merge remote-tracking branch 'origin/master' into query-result-cache 2022-12-19 09:18:36 +00:00
Smita Kulkarni
16d8fd02fb Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-12-16 08:52:48 +01:00
Robert Schulze
3790952631
Move server-level settings into the appropriate document 2022-12-15 22:51:47 +00:00
Robert Schulze
537c64aad2
Merge remote-tracking branch 'origin/master' into query-result-cache
Conflicts:
- tests/queries/0_stateless/02117_show_create_table_system.reference
2022-12-15 12:17:58 +00:00
Dale Mcdiarmid
22e8477b2a cross link dictionaries + udf posts£ 2022-12-14 15:01:15 +00:00
Robert Schulze
b78652e138
Query result cache 2022-12-12 10:37:10 +00:00
Nikolay Degterinsky
43ef217134
Merge branch 'master' into patch-1 2022-12-09 10:01:18 +01:00
Nikolay Degterinsky
bd23b0fa61
Fix docs 2022-12-08 14:17:55 +01:00
vahid-sohrabloo
8594274e99
fix docs 2022-12-07 22:50:27 +01:00
DanRoscigno
538d9cf598 update link 2022-12-05 08:26:59 -05:00
Dan Roscigno
d8d364914d
Merge pull request #43774 from ClickHouse/DanRoscigno-patch-2
Clarify CREATE TABLE AS SELECT docs
2022-11-29 07:52:34 -05:00
Camden Cheek
92c9ebe4ee
Update documentation example for REPLACE TABLE
The example statement for `REPLACE TABLE` using a `SELECT` query does not run as written. The example was missing a query engine, engine options, and the `AS` keyword, all of which seem required to replace a table with the output of some query.
2022-11-28 17:41:52 -07:00
DanRoscigno
bad28f4a25 fix highlight 2022-11-28 14:19:00 -05:00
Dan Roscigno
4ab04d6461
Update table.md 2022-11-28 14:08:08 -05:00
Smita Kulkarni
953e1068b5 Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-11-28 19:10:32 +01:00
Nikolay Degterinsky
02ec25cdfe
Update explain.md 2022-11-27 13:40:46 +01:00
Dan Roscigno
b2b4e1017f
Merge pull request #43363 from CamiloSierraH/patch-6
ATTACH query ignores the SELECT query on MV
2022-11-23 11:35:15 -05:00
Dan Roscigno
31f346e2e5
Merge pull request #43330 from CamiloSierraH/patch-5
adding one link and note about disk usage for projections
2022-11-23 11:32:56 -05:00
Camilo Sierra
ca3f819401
Update docs/en/sql-reference/statements/create/view.md
Co-authored-by: Dan Roscigno <dan@roscigno.com>
2022-11-23 16:53:21 +01:00
Dan Roscigno
0e0fef4f51
Merge branch 'master' into patch-6 2022-11-23 10:41:39 -05:00
Dan Roscigno
02a0d4f2e5
Update docs/en/sql-reference/statements/alter/projection.md 2022-11-23 10:39:10 -05:00
Maksim Kita
db1b971643
Merge pull request #43451 from ClickHouse/explain-query-tree-run
Set run_passes to 1 by default
2022-11-23 01:30:49 +03:00
Dmitry Novik
18cea75f4f Add docs for EXPLAIN QUERY TREE 2022-11-21 17:07:04 +00:00
taofengliu
a529943d9f Merge remote-tracking branch 'upstream/master' into group_by_all 2022-11-19 21:11:23 +08:00
Camilo Sierra
bbf311ea94
We can not update the select query
An issue was opened as the select query was not updated after the alert of the view was executed, this is because the select gets ignored, the only way to change it is DROP/CREATE the view again.
So I want to add this information into our doc.
2022-11-18 12:31:33 +01:00
Camilo Sierra
d527ca5d9d
adding one link and note about disk usage
I have found a great page that explain more in deep the Projections, and with images explain how they work behind the scenes.
I have also added a note as it's true we do not mention that creating projections will increase the disk usage.
2022-11-17 15:41:47 +01:00
Nikolay Degterinsky
00554ecd00
Merge pull request #43271 from evillique/fix-docs-2
Fix docs
2022-11-16 15:12:28 +01:00
Smita Kulkarni
c84a50e77c Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-11-16 12:40:04 +01:00
Alexey Milovidov
1ec21e5890
Merge branch 'master' into group_by_all 2022-11-16 06:14:04 +01:00
Nikolay Degterinsky
81971acf35 Fix docs 2022-11-16 02:40:51 +00:00
Dan Roscigno
b178a3711c
Merge branch 'master' into standardize-dictionary-categories 2022-11-15 16:18:18 -05:00
DanRoscigno
c60b98f576 updates from review 2022-11-15 16:17:43 -05:00
DanRoscigno
7e08798fa8 edits 2022-11-15 13:47:50 -05:00
Camilo Sierra
2a48fb344d
Added examples and extra info to projections
I have added two examples about how we can use projections
2022-11-15 19:22:46 +01:00
Dan Roscigno
b5a306c4db
Merge branch 'master' into standardize-dictionary-categories 2022-11-14 21:30:05 -05:00
Dan Roscigno
4b182e7b58
Update set-role.md 2022-11-14 12:17:31 -05:00
Smita Kulkarni
4dec8337f0 Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-11-11 19:04:35 +01:00
DanRoscigno
c822c8161f fix nav 2022-11-08 20:21:26 -05:00
DanRoscigno
45c9debeaf update links 2022-11-08 19:17:58 -05:00
DanRoscigno
d225366335 update links 2022-11-08 18:04:22 -05:00
DanRoscigno
090b153b1e a dir named index with index.md broke nav 2022-11-08 17:37:20 -05:00
taofengliu
eff3d121e9 Merge remote-tracking branch 'upstream/master' into group_by_all 2022-11-08 10:44:53 +08:00
alesapin
c88dcba36e
Merge pull request #42852 from SaltTan/patch-1
Docs. Add PARTITION clause  to CHECK TABLE
2022-11-07 22:49:33 +01:00
Alexander Tokmakov
c5edea19f3
Merge pull request #43004 from ClickHouse/devcrafter-restart-replica-patch
Simple fixes for restart replica description
2022-11-07 22:18:28 +03:00
Igor Nikonov
434c0f24f9
Update docs/en/sql-reference/statements/system.md
Co-authored-by: Alexander Tokmakov <tavplubix@clickhouse.com>
2022-11-07 19:40:59 +01:00
Vitaly Baranov
ab8feb5bff
Merge pull request #42782 from mdonkers/session-log-support-sslcertificate-auth
Add SSL_CERTIFICATE auth method to all places missing
2022-11-07 16:36:42 +01:00
DanRoscigno
34f90ff6ef update pages that refer to dictionaries 2022-11-07 09:26:50 -05:00
Igor Nikonov
e7fbe40b1c
Simple fixes for restart replica description 2022-11-07 14:30:52 +01:00
DanRoscigno
3dd5df4615 update examples 2022-11-02 16:58:07 -04:00
DanRoscigno
c8f9af1afa start renaming 2022-11-02 15:47:11 -04:00
taofengliu
e08c33ac85 Merge remote-tracking branch 'upstream/master' into group_by_all 2022-11-02 23:08:52 +08:00
Dan Roscigno
4c77987bf8
Update projection.md
Experiment with Algolia search
2022-11-02 10:41:55 -04:00
Habibullah Oladepo
ba34ad37d1
Fix minor typos in intersect statement documentation 2022-11-02 08:02:01 +01:00
taofengliu
c9576e3761 Merge remote-tracking branch 'upstream/master' into group_by_all 2022-11-02 10:33:27 +08:00
DanRoscigno
e5f9c65590 add to page title for search 2022-11-01 12:56:41 -04:00
SaltTan
3afc688751
Update docs/en/sql-reference/statements/check-table.md
Co-authored-by: Ilya Yatsishin <2159081+qoega@users.noreply.github.com>
2022-11-01 13:04:24 +00:00
SaltTan
97d361bce0
Update check-table.md 2022-11-01 10:02:04 +00:00
taofengliu
4862586417 fix docs 2022-11-01 16:27:34 +08:00
taofengliu
d0767cab1d GROUP BY ALL in Analyzer 2022-11-01 16:18:56 +08:00
taofengliu
5630bc4d44 Merge remote-tracking branch 'upstream/master' into group_by_all 2022-11-01 16:17:04 +08:00
Vitaly Baranov
9d46547daa
Merge branch 'master' into session-log-support-sslcertificate-auth 2022-11-01 08:32:09 +01:00
Smita Kulkarni
9aa06e48f6 Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-10-31 15:46:52 +01:00
Nikolay Degterinsky
81a812c1ea
Merge pull request #42822 from ClickHouse/serxa-patch-3
Link to proper place in docs
2022-10-31 13:11:15 +01:00
Sergei Trifonov
e43ecf9ca0
Link to proper place in docs 2022-10-31 12:52:31 +01:00
Sergei Trifonov
b677e68c4e
Update column.md 2022-10-31 12:46:14 +01:00
Sergei Trifonov
9066e0c3da
Merge pull request #42760 from ClickHouse/serxa-patch-2
Fix anchor links
2022-10-31 12:38:48 +01:00
taofengliu
73a35f1bc4 Merge remote-tracking branch 'upstream/master' into group_by_all 2022-10-29 13:58:27 +08:00
Miel Donkers
fb1623a5f8 Add SSL_CERTIFICATE auth method to all places missing 2022-10-28 21:17:59 +02:00
Denny Crane
7fa71d8c04
Update column.md 2022-10-28 16:04:00 -03:00
Denny Crane
e903efda0a
Update column.md 2022-10-28 16:00:37 -03:00
Vitalii S
665fcf55aa
Update database.md
Minor text correction
2022-10-28 10:08:04 -04:00
taofengliu
7d1fbdbfeb Merge remote-tracking branch 'upstream/master' into group_by_all 2022-10-28 21:48:56 +08:00
taofengliu
56ab264ec9 fix 2022-10-28 21:48:48 +08:00
Sergei Trifonov
acec447526
Fix anchor links 2022-10-28 12:35:18 +02:00
DanRoscigno
91c3744cfe add backup to S3 endpoint 2022-10-25 21:33:09 -04:00
taofengliu
46b24380f2 Merge remote-tracking branch 'upstream/master' into group_by_all 2022-10-22 13:57:31 +08:00
Dan Roscigno
440af00c74
Merge pull request #42151 from ClickHouse/remove-misc-statements
Docs: Remove obsolete misc page
2022-10-21 13:48:53 -04:00
taofengliu
66c0765c8a fix docs 2022-10-20 18:26:11 +08:00
taofengliu
7fe812b480 fix docs 2022-10-20 18:20:40 +08:00
taofengliu
4d5bf0e3b2 avoid extracting the deepest columns 2022-10-20 18:17:40 +08:00
taofengliu
17be6ab492 docs for GROUP BY ALL 2022-10-18 10:46:38 +08:00
Smita Kulkarni
3034229c37 Merge branch 'master' of github.com:ClickHouse/ClickHouse into 40907_Parameterized_views_as_table_functions 2022-10-17 18:37:31 +02:00
Smita Kulkarni
614fd4cf42 Added is_parameterized_view to Context and removed flag from ASTs, updated to use tryGetTable, addressed review comments - 40907 Parameterized views as table functions 2022-10-17 18:11:22 +02:00
Alexey Milovidov
9bf5fe728b
Merge pull request #42173 from ClickHouse/remove-temporary-live-view
Remove TEMPORARY LIVE VIEW
2022-10-08 19:05:33 +03:00
Alexey Milovidov
b9159db82f Remove temporary live views 2022-10-08 00:16:36 +02:00
Robert Schulze
3e3c0a7bb6
Docs: Add "TABLE" to CHECK/DESCRIBE statements in sidebar 2022-10-07 14:41:00 +00:00
Robert Schulze
cde0257d11
Docs: Remove obsolete pages
Removes page https://clickhouse.com/docs/en/sql-reference/statements/misc

It indexes "miscellaneous" SQL statements but these are already easily
reachable by the sidebar.
2022-10-07 14:37:22 +00:00
Robert Schulze
e759a64d38
Docs: Redirect links to misc.md
--> https://clickhouse.com/docs/en/sql-reference/statements/misc

This page indexes a bunch of SQL statements but they are easily
reachable by the sidebar already.
2022-10-07 13:22:40 +00:00
Smita Kulkarni
ec95294621 Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-10-05 11:48:14 +02:00
Reinaldy Rafli
b52d58dcae
docs(statements): specify ON CLUSTER clause for CREATE ROLE 2022-10-02 09:51:17 +07:00
Dan Roscigno
4f23f6ef25
fix other links
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2022-09-27 14:07:35 -04:00
Smita Kulkarni
bbc33a54b2 Addressed review comments - 40907 Parameterized views as table functions
Implementation
* Fix for clang-today build fails - updated to use const in Context.cpp & const function in ActionsVisitior.cpp
* Updated to use QueryParameterVisitor to check if query has query parameters
* Updated executeTableFunction to check if table/table exists instead of try-catch approach
* Fixed small review comments and style comments.
Documentation:
* Addressed review comments and added the LIVE view part which was removed by mistake in the previous commits.
2022-09-27 16:30:59 +02:00
DanRoscigno
4be153cbd3 fix link from intro 2022-09-27 10:21:35 -04:00
Smita Kulkarni
f801772a86 40907 Parameterized views as table functions
Implementation:
* Updated parsers by adding a bool allow_query_parameters while creating ordinary view, which is used in interpreters to allow query parameters in SELECT.
* Added a check in ActionsVisitor if multiple parameters have same names while creating parameterised view.
* Added bool in StorageView to represent parameterized view.
* Updated processing of SELECT with parameter values to check for views and added substitution of values in the query parameters.

Testing:
* Added a test tests/queries/0_stateless/02428_parameterized_view.sql

Documentation:
* Updated the english documentation for VIEW.
2022-09-23 14:04:43 +02:00
kssenii
b8079e4577 Merge remote-tracking branch 'upstream/master' into rename-some-cache-commands 2022-09-20 13:02:18 +02:00
kssenii
6dcbeceeb9 Update doc 2022-09-20 13:00:10 +02:00
Sergei Trifonov
f7a1ed3141
Merge branch 'master' into readonly-settings-allow 2022-09-19 12:52:36 +02:00
Kruglov Pavel
2d4a6b38af
Merge branch 'master' into fix-totals-extremes 2022-09-16 15:03:59 +02:00
Robert Schulze
b32b02d844
Merge pull request #40897 from ClickHouse/catboost-bridge-resurrected
Move CatBoost evaluation into clickhouse-library-bridge
2022-09-16 13:12:09 +02:00
Robert Schulze
cb04c724b9
Merge pull request #41285 from ClickHouse/fix-broken-doc-links
System statements docs: Fix broken links
2022-09-14 13:03:01 +02:00
Robert Schulze
49136d26aa
docs: fix internal links
The links at the very beginning of
https://clickhouse.com/docs/en/sql-reference/statements/system
don't work. They are reference other sections of the same document. This
is weird because there is a small index already on the right side. I
searched our documentation and this seems to be the only pages which do
so. Therefore removing the links altogether instead of fixing them.
2022-09-13 19:45:46 +00:00
Dan Roscigno
078b9bff3c
Update docs/en/sql-reference/statements/delete.md 2022-09-13 13:18:01 -04:00
Rich Raposa
b833c39dcf
Update delete.md 2022-09-13 10:55:26 -06:00
Rich Raposa
e85b222136
Update delete.md 2022-09-13 10:54:47 -06:00
DanRoscigno
64bd1ea77a spelling 2022-09-13 12:42:24 -04:00
DanRoscigno
fc2e7159f0 add note about privs 2022-09-13 12:40:16 -04:00
Robert Schulze
3e6821e8d7
fix: repair broken documentation links and update docs 2022-09-13 16:00:53 +00:00
Kruglov Pavel
17621b5607
Merge branch 'master' into fix-totals-extremes 2022-09-13 14:36:31 +02:00
Robert Schulze
fac1be9700
chore: restore SYSTEM RELOAD MODEL(S) and moniting view SYSTEM.MODELS
- This commit restores statements "SYSTEM RELOAD MODEL(S)" which provide
  a mechanism to update a model explicitly. It also saves potentially
  unnecessary reloads of a model from disk after it's initial load.

  To keep the complexity low, the semantics of "SYSTEM RELOAD MODEL(S)
  was changed from eager to lazy. This means that both statements
  previously immedately reloaded the specified/all models, whereas now
  the statements only trigger an unload and the first call to
  catboostEvaluate() does the actual load.

- Monitoring view SYSTEM.MODELS is also restored but with some obsolete
  fields removed. The view was not documented in the past and for now it
  remains undocumented. The commit is thus not considered a breach of
  ClickHouse's public interface.
2022-09-12 19:33:02 +00:00
avogar
8ac2fc7b26 Don't outout totals/extremes in all row formats, update docs 2022-09-12 17:21:40 +00:00
Sergei Trifonov
fe88a7991d
Merge branch 'master' into readonly-settings-allow 2022-09-12 16:20:40 +02:00
Rich Raposa
b9e9d776f0
Update delete.md 2022-09-09 15:55:57 -06:00
rfraposa
4af246a2e0 Feedback 2022-09-09 13:59:21 -06:00
Rich Raposa
9870957621
Update docs/en/sql-reference/statements/delete.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2022-09-09 12:16:54 -06:00
Rich Raposa
50789126a8
Update docs/en/sql-reference/statements/delete.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2022-09-09 12:15:59 -06:00
Rich Raposa
34c2c4bb52
Merge branch 'master' into lightweight-delete 2022-09-09 12:13:51 -06:00
Sergei Trifonov
76eb001e78 add test for changeable_in_readonly + fix SQL in docs 2022-09-09 14:01:29 +02:00
rfraposa
18f5b5e5b0 Add docs for lightweight deletes 2022-09-08 16:05:56 -06:00
Vincent Bernat
fab1b40928 docs: mention SYNC modifier for DROP and DETACH statements 2022-09-08 15:21:59 +02:00
Robert Schulze
c16707ff00
chore: delete obsolete modelEvaluate() function + SYSTEM.MODELS view
- The deleted function modelEvaluate() was superseded by
  catboostEvaluate().

- Also delete the external model repository, as modelEvaluate() was it's
  last user. Additionally remove the system view SYSTEM.MODELS for
  inspecting the repository.

- SYSTEM RELOAD MODELS is also obsolete. HOWEVER, it was retained and
  made a no-op instead of deleted.

  Why?
  The reason is that RBAC in distributed setups works by storing
  privileges (granted and revoked) as plain SQL statements in Keeper.
  Nodes read these statements at startup and parse them. If a privilege
  for SYSTEM RELOAD MODELS exists but parser doesn't recognize it
  nodes would fail to come up.

  Considered but rejected alternatives:
  - Ignore SYSTEM RELOAD MODELS during parsing RBAC privileges and
    return an error for regular SYSTEM RELOAD MODELS SQL. Special-case
    of no-op behavior, too brittle.
  - Remove SYSTEM RELOAD MODELS manually from Keeper via command-line
    manipulation of Keeper nodes or via SQL by dropping the privileges.
    Needs user intervention during upgrade.
2022-09-08 09:10:11 +00: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
小蝌蚪
11cc8639ca
Add a missing **ESTIMATE** in explain syntax 2022-04-28 00:10:59 +08:00
rfraposa
6576fd88c1 EOL fixes 2022-04-19 13:50:45 -06:00
rfraposa
fb08c5b7e1 Merge branch 'master' into docs-staging 2022-04-15 07:25:27 -06:00
rfraposa
1afe4300e8 Fixed broken links 2022-04-11 09:55:54 -06:00
rfraposa
d9e6f780db Fixed broken links 2022-04-10 23:01:34 -06:00
rfraposa
4da4259c78 Added reference docs to sidebar 2022-04-10 21:27:48 -06:00
rfraposa
8f01fe9c49 Revised /en folder 2022-04-09 07:34:21 -06:00
rfraposa
5250d9ad11 Removed /ja folder, cleaned up /ru markdown 2022-04-09 07:29:05 -06:00
Yakov Olkhovskiy
7dbe8bc2dc major bugs fixed, tests added, docs updated 2022-04-07 01:21:24 -04:00
Yakov Olkhovskiy
90c4cd3de7
Merge branch 'master' into interpolate-feature 2022-04-05 14:39:07 -04:00
Alexey Milovidov
9854b55835
Revert "Format changes for new docs" 2022-04-04 02:05:35 +03:00
rfraposa
72a00e2c62 Fixed broken links 2022-04-02 17:38:54 -06:00
Rich Raposa
e6191511cf
Merge branch 'ClickHouse:master' into master 2022-04-01 11:43:48 -06:00
rfraposa
e5ee39541e Fixing conflicts with source repo 2022-04-01 11:34:35 -06:00
rfraposa
560471f991 Update /sql-reference docs 2022-03-29 22:06:21 -06:00
Yakov Olkhovskiy
de58f5988d
Update table.md
allow EPHEMERAL without expression
2022-03-29 04:01:20 -04:00
rfraposa
c05bf7beb4 Testing new /en folder 2022-03-28 23:09:17 -06:00
Yakov Olkhovskiy
5ae6f800c6 Update order-by.md
INTERPOLATE fix
2022-03-19 03:03:24 -04:00
Yakov Olkhovskiy
5c8a77dade Update order-by.md
INTERPOLATE fix
2022-03-19 03:02:51 -04:00
Yakov Olkhovskiy
4f892dc9da Update order-by.md
INTERPOLATE is added
2022-03-19 03:02:20 -04:00
Yakov Olkhovskiy
90888ea95b Update index.md
INTERPOLATE is added
2022-03-19 03:00:29 -04:00
Denny Crane
fd910af86d
Update limit-by.md 2022-03-06 13:37:33 -04:00
Yong Wang
838d931137
Update array-join.md 2022-02-23 18:37:13 -05:00
Yong Wang
8a5ac182f0
Update array-join.md 2022-02-23 18:32:37 -05:00
Nikolai Kochetov
ab288642f6 Merge branch 'master' into ephemeral-column 2022-02-15 10:03:34 +00:00
Denny Crane
2daacc1a3e
Update column.md 2022-02-11 15:40:20 -04:00
yakov-olkhovskiy
465dee928c
Update table.md 2022-02-08 21:09:52 -05:00
yakov-olkhovskiy
42ea826acb
Update table.md
EPHEMERAL specifier is added
2022-02-08 11:35:14 -05:00
cmsxbc
a33bd4c623
Merge branch 'master' into addressToLineWithInlines 2022-02-08 08:54:15 +08:00
Anton Popov
861ce6ae94
Update order-by.md 2022-02-05 02:07:45 +03:00
Mohamad Fadhil
8f1030378a
Add INTERVAL STEP example in SELECT .. ORDER BY WITH FILL documentation
This corresponds to the merged PR https://github.com/ClickHouse/ClickHouse/pull/30927
2022-02-04 10:02:42 +08:00
cmsxbc
8b916a67e5 Merge branch 'master' into addressToLineWithInlines 2022-02-01 19:37:18 +08:00
zhangxiao871
7f2f7fa993 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into yandex-master 2022-01-30 13:46:52 +08:00
alexey-milovidov
379f8d3d7e
Update use.md 2022-01-29 01:09:46 +03:00
mergify[bot]
c9a1c9a896
Merge branch 'master' into system_on_cluster 2022-01-28 10:42:26 +00:00
mergify[bot]
61ac72ca32
Merge branch 'master' into addressToLineWithInlines 2022-01-27 12:02:56 +00:00
Maksim Kita
10cba358cf
Merge pull request #33952 from grant88/patch-1
Update user.md
2022-01-26 22:29:14 +01:00
zhangxiao871
1bd74dda63 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into yandex-master 2022-01-26 17:40:32 +08:00
zhangxiao871
20b669f330 Supports all types of SYSTEM query ON CLUSTER clause. 2022-01-26 17:40:00 +08:00
cmsxbc
58dd1a2d5c
add function addressToLineWithInlines 2022-01-25 19:13:47 +08:00
grantovsky
d7ad03a37f
Update user.md
removed keyword 'NAME' from HOST instruction
2022-01-24 16:54:42 +03:00
mergify[bot]
5ef5e1d558
Merge branch 'master' into karnevil-DOCSUP-18631 2022-01-24 12:09:59 +00:00
mlkui
4041fbc062
Update check-table.md
Right should be:

If `check_query_single_value_result` = 1, the `CHECK TABLE` query shows the general table check status.

Old wrong:

If `check_query_single_value_result` = 0, the `CHECK TABLE` query shows the general table check status.
2022-01-23 19:19:21 +08:00
cnmade
4043529300 Translate zh/sql/statements:rev translate 2022-01-18 11:40:29 +08:00
cnmade
fc38cffd33 Translate zh/sql/statements index and use document 2022-01-18 11:06:41 +08:00
Anton Popov
a25f2518e3
Merge pull request #33141 from 1over/feature_default_keyword
Add support of DEFAULT keyword for INSERT
2022-01-18 02:04:37 +03:00
13DaGGeR
c1ab96bf0f
Fix typo: OPTMIZE -> OPTIMIZE 2022-01-13 13:32:45 +03:00
Kseniia Sumarokova
e6ea7c361d
Merge pull request #32836 from stigsb/explain-table-override
Add `EXPLAIN TABLE OVERRIDE` for pre-validating overrides.
2022-01-10 09:58:16 +03:00
Anselmo D. Adams
883b83acb0
Update dictionary.md 2021-12-30 19:43:54 -03:00
Anselmo D. Adams
5df89e978e
Update dictionary.md
Fixed order of DICTIONARY term in create statement
2021-12-30 19:33:31 -03:00
Stig Bakken
6b4a16977e Add some docs for EXPLAIN TABLE OVERRIDE 2021-12-30 09:02:28 +01:00
alexey-milovidov
255c4c92b9
Merge pull request #33233 from freedomDR/doc_projection_fix
improve projection doc describe
2021-12-29 21:09:33 +03:00
Denny Crane
035d757cc1
Update grant.md 2021-12-28 14:13:41 -04:00
Vladimir C
78710d71b5
Specify sql syntax in code snippets in join.md 2021-12-28 10:49:35 +03:00
Tatiana Kirillova
8dc204c280 fix diff and translate 2021-12-27 21:23:09 +03:00
freedomDR
d41ba4dc0f improve projection describe 2021-12-27 15:39:35 +00:00
Tatiana Kirillova
a4d364ab03 update text 2021-12-26 14:03:49 +03:00
Tatiana Kirillova
e3e1fe74c1 update 2021-12-26 13:55:49 +03:00
Tatiana Kirillova
05a33abf26 OR operator in ON section for JOIN 2021-12-26 13:38:22 +03:00
Andrii Buriachevskyi
6a0a0efd29 Update docs with DEFAULT keyword for INSERT statement 2021-12-24 13:45:43 +01:00
dalei2019
11c85fe66b
Update role.md 2021-12-21 16:03:37 +08:00
alesapin
3cee6d37db
Merge pull request #32746 from fanofxiaofeng/patch-1
name -> table_name
2021-12-16 10:45:56 +03:00
Denny Crane
41fc080c04
Update group-by.md 2021-12-15 12:18:50 -04:00
靳阳
14ca6aa92b
name -> table_name
fix possible wrong word
2021-12-14 19:21:12 +08:00
Vxider
7eb18ea21e watch events support for window view 2021-12-12 07:45:55 +00:00
vxider
52fa82b4d4 rename window-view function to time window function 2021-12-10 09:43:44 +00:00
Vxider
b74af1af5d fix window view docs 2021-12-10 00:51:31 +08:00
vxider
eb759c83f6 window view docs improvement 2021-12-08 14:43:26 +00:00
vxider
ed17afbdb3 rename window function to window view function 2021-12-07 10:31:49 +00:00
vxider
03dc76da15 add window view doc(en) 2021-12-07 10:05:19 +00:00
cmsxbc
366ee3deba
Support PostgreSQL style ALTER MODIFY COLUMN 2021-11-30 21:07:14 +08:00
Vladimir C
ef2571af06
Merge pull request #31585 from lehasm/alexey-sm-DOCSUP-14893-document-COMPRESSION 2021-11-30 11:36:45 +03:00
Vladimir C
c6d49769d9
Apply suggestions from code review 2021-11-30 11:36:03 +03:00
Alexey
bc4047ef24 updates 2021-11-28 19:26:51 +00:00
Alexey
b8a3f62734 updates 2021-11-28 08:20:57 +00:00
Alexey
031cd54cea Updated INSERT INTO 2021-11-28 07:59:40 +00:00
Alexey
2664b664a7 INSERT INTO syntax reverted 2021-11-27 20:05:28 +00:00
karnevil13
9a60033fef
Merge branch 'master' into karnevil-DOCSUP-18631 2021-11-23 01:05:12 +03:00
karnevil13
77df8ce0dd DOCSUP-18631: Edit and translate 2021-11-23 00:44:08 +03:00
Alexey
83886b76a3 INSERT INTO TABLE FUNCTION draft 2021-11-22 19:17:00 +00:00
Kseniia Sumarokova
32911193de
Merge pull request #31394 from lehasm/alexey-sm-DOCSUP-17653-doc-WHERE-EXISTS
DOCSUP-17653: document EXISTS(subquery)
2021-11-22 08:57:53 +03:00
Alexey
8943908cf0 INSERT FROM INFILE draft 2021-11-21 11:28:17 +00:00
Alexey
b17b05590c INTO OUTFILE description updated 2021-11-20 18:44:45 +00:00
Alexey
122b42c36a Formatting updated. Spelling fix.
2 paragraphs reordered.
2021-11-20 08:44:36 +00:00
Alexey
ef6443f3f5 Translated paragraph about NULL from ru to en.
Copied corresponding example
2021-11-19 19:21:50 +00:00
SuperDJY
dd2972b8c3
return fake create query when executing show create table on system's tables. (#31391)
* clarify that cannot show create table of system's tables

* clarify that cannot show create table of system's tables in the document

* bypass test style-check for required `database=currentDatabase()` because `show create table` do not have condition

* rename supportsShowCreateTable to isSystemStorage

* build fake create query for show create table of system's tables

* fix tests for show create table on system's table:

1. only build fake create query when cannot get real query
2. only test rocksdb when it's enabled.

* fix test for show create table system.tables

* fix test for ASTCreateQuery set table and database

* change to LOGICAL_ERROR when cannot get in_memory metadata

Co-authored-by: tavplubix <tavplubix@gmail.com>

* implement common getCreateQueryFromStorage

Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-11-19 13:25:55 +03:00
alexey-milovidov
3e62f8a548
Merge pull request #30448 from FArthur-cmd/remove_comments_for_enc_docs
Remove comments for enc docs
2021-11-18 09:42:59 +03:00
Alexey
40952d53ac Small text change
Removed See Also EXISTS from WHERE
2021-11-13 19:47:50 +00:00
Alexey
ba0d57b90e Added example to WHERE 2021-11-13 19:46:38 +00:00
Alexey
398e164e46 en draft (EXISTS) 2021-11-12 20:02:26 +00:00
Denny Crane
22a32c46bd
Update dictionary.md 2021-11-12 13:00:34 -04:00
alesapin
fe44b167d1
Merge pull request #31110 from sevirov/sevirov-DOCSUP-15458-document_the_alter_table_modify_comment
DOCSUP-15458: Document the SQL-statement ALTER TABLE ... MODIFY COMMENT
2021-11-12 16:45:00 +03:00
Maksim Kita
42ecb28788
Merge pull request #31082 from sevirov/sevirov-DOCSUP-16607-update_the_sql_statement_create_dictionary
DOCSUP-16607: Update the SQL-statement CREATE DICTIONARY
2021-11-12 16:29:27 +03:00
Denny Crane
8ea209c084
Update column.md 2021-11-09 17:34:28 -04:00
Denny Crane
b391ca512a
Doc. freeze with name 2021-11-07 17:42:56 -04:00
Dmitriy
2f01d45bb2 Translate to Russian
Выполнил перевод на русский язык.
2021-11-07 19:04:14 +03:00
sevirov
10cfbbc1a6
Update docs/en/sql-reference/statements/alter/index.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-11-07 18:09:07 +03:00
sevirov
11b1662eb0
Update docs/en/sql-reference/statements/alter/comment.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-11-07 18:09:01 +03:00
sevirov
deb25ebeef
Update docs/en/sql-reference/statements/alter/comment.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-11-07 18:08:55 +03:00
Dmitriy
1c08065a37 Translate to Russian
Выполнил перевод на русский язык.
2021-11-06 10:52:28 +03:00
Dmitriy
bd355bd727 Fix link
Поправил ссылку.
2021-11-05 21:13:46 +03:00
Dmitriy
fa3bbdb0a0 Document ALTER TABLE MODIFY COMMENT
Задокументировал comment.md
2021-11-05 19:40:17 +03:00
Dmitriy
0d4275f43e Fix links
Поправил ссылку.
2021-11-04 19:37:03 +03:00
Dmitriy
4355d69213 Create comment to dictionary
Задокументировал комментарий к словарю, обновил примеры и системную таблицу.
2021-11-04 19:08:42 +03:00
tavplubix
3f8f08c49c
Merge pull request #30772 from sevirov/sevirov-DOCSUP-16361-update_the_sql_statement_create_database
DOCSUP-16361: Update the SQL-statement CREATE DATABASE
2021-11-01 21:40:48 +03:00
Dmitriy
4d2be6d8bb Add database engines
Добавил движки баз данных.
2021-11-01 19:39:35 +03:00
sevirov
279e1eb6e9
Update docs/en/sql-reference/statements/create/database.md
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-11-01 18:58:08 +03:00
alexey-milovidov
bc5be3208e
Merge pull request #30815 from simpl1g/doc-add-projection-example
[DOCS] Fix ADD PROJECTION example in ru/en docs
2021-10-31 14:29:48 +03:00
Alexey
671b421a31 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into alexey-sm-DOCSUP-14793-document-describe_include_subcolumns 2021-10-28 19:45:53 +00:00
Dmitriy
3515ab99b6 Translate to Russian
Выполнил перевод на русский язык.
2021-10-28 20:27:29 +03:00
Konstantin Ilchenko
88084c715b [DOCS] Fix ADD PROJECTION example in ru/en docs 2021-10-28 17:34:09 +02:00
Alexey
a09746b4e2 updated related data types 2021-10-28 04:47:16 +00:00
Dmitriy
b4b48e09a5 Document the database comment
Задокументировал секцию comment.
2021-10-27 22:29:29 +03:00
Anton Popov
2bb586bed3
Merge pull request #30541 from gyuton/gyuton-DOCSUP-14941-Document-asynchronous-insert-mode
DOCSUP-14941-Document-asynchronous-inserts
2021-10-27 20:25:17 +03:00
gyuton
527474da64 Fix wording 2021-10-27 16:21:50 +03:00
Kseniia Sumarokova
57626438b0
Merge pull request #30469 from kirillikoff/kirillikoff-DOCSUP-13264
DOCSUP-13264: Document the SQL-statements INTERSECT, EXCEPT and ANY, ALL operators
2021-10-27 09:48:12 +03:00
gyuton
901e5170a1 small fixes 2021-10-26 16:42:19 +03:00
gyuton
c08f6cae05 translated to Russian 2021-10-25 22:39:47 +03:00
gyuton
8ec5d68ce3
Apply suggestions from code review
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-25 15:02:24 +03:00
Alexey
3103e9970d format fixed. LLink added 2021-10-23 20:23:32 +00:00
Alexey
20c842aef5 some en updates 2021-10-23 15:09:12 +00:00
lehasm
31e1ae6037
Update docs/en/sql-reference/statements/describe-table.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-23 17:54:24 +03:00
lehasm
2c4d40c261
Update docs/en/sql-reference/statements/describe-table.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-23 17:51:20 +03:00
Tatiana Kirillova
82fc693d55 russian fixes 2021-10-22 22:38:34 +03:00
Tatiana Kirillova
e4df841798
Update intersect.md 2021-10-22 11:58:34 +03:00
Tatiana Kirillova
3510f4cddc
Update except.md 2021-10-22 11:58:04 +03:00
Tatiana Kirillova
745b47762c
Update docs/en/sql-reference/statements/select/except.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-22 11:49:20 +03:00
Tatiana Kirillova
0f66ba1704
Update docs/en/sql-reference/statements/select/intersect.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-22 11:49:11 +03:00
Tatiana Kirillova
692b99ca0d
Update docs/en/sql-reference/statements/select/intersect.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-22 11:49:01 +03:00
Tatiana Kirillova
41f69e9677
Update docs/en/sql-reference/statements/select/except.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-22 11:48:53 +03:00
Tatiana Kirillova
cb907dd6c6
Update docs/en/sql-reference/statements/select/intersect.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-22 11:48:07 +03:00
gyuton
4ecd2ed6e2 typo 2021-10-22 04:21:29 +03:00
gyuton
81d9bac04a Initial draft 2021-10-22 03:53:44 +03:00
Alexey
9d74ae16df en updated 2021-10-20 20:01:57 +00:00
Tatiana Kirillova
e36f06887b update 2021-10-20 20:43:07 +03:00
Tatiana Kirillova
1241db3795 document the SQL-statements INTERSECT, EXCEPT and ANY, ALL operators 2021-10-20 20:18:14 +03:00
Filatenkov Artur
cf50015d49
Merge branch 'ClickHouse:master' into remove_comments_for_enc_docs 2021-10-20 15:38:52 +03:00
Filatenkov Artur
963ece5d6a
Update table.md 2021-10-20 15:13:12 +03:00
Filatenkov Artur
24d3209f60
Update table.md 2021-10-20 15:08:50 +03:00
Alexey
2cfc6a5fcf DESCRIBE refactored. Example updated and moved. 2021-10-19 20:50:30 +00:00
Nikita Mikhaylov
4fbd332bf1 Done 2021-10-19 11:53:55 +00:00
Alexey
deb696fd27 en draft 2021-10-18 16:07:19 +00:00
Kseniia Sumarokova
5d6cc29b98
Merge pull request #29969 from olgarev/revolg-DOCSUP-11547-optimize_move_to_prewhere-and-optimize_move_to_prewhere_if_final-settings
DOCSUP-11547: optimize_move_to_prewhere and optimize_move_to_prewhere_if_final settings
2021-10-12 19:46:49 +03:00
Maksim Kita
c968c7463c
Merge pull request #29534 from ka1bi4/romanzhukov-DOCSUP-13910-SHA512
DOCSUP-13910: Edit and translate to Russian (SHA512 function and note for materialized views)
2021-10-12 12:35:49 +03:00
alesapin
f71a3a194f
Merge pull request #29732 from michon470/kuriatnikovm-DOCSUP-14538-MATERIALIZE-COLUMN-retry
DOCSUP-14538: MATERIALIZE COLUMN statement documented, new PR
2021-10-12 11:29:20 +03:00
olgarev
cb8a66e515 Settings and links 2021-10-10 23:34:26 +00:00
Kseniia Sumarokova
8285d8dbac
Merge pull request #29753 from kirillikoff/kirillikoff-DOCSUP-13583
DOCSUP-13583: Document the enable_positional_arguments setting
2021-10-08 11:02:00 +03:00
Mikhail
9389cb7c77 Example corrected 2021-10-07 22:31:44 +03:00
michon470
c030756c38
Update docs/en/sql-reference/statements/alter/column.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-10-07 22:28:02 +03:00
michon470
1df9afb47c
Update docs/en/sql-reference/statements/alter/column.md
Co-authored-by: Anna <42538400+adevyatova@users.noreply.github.com>
2021-10-07 22:27:22 +03:00
Tatiana Kirillova
0362083843
Update docs/en/sql-reference/statements/select/order-by.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-07 08:29:28 +03:00