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