Robert Schulze
c4ab1e12f1
Initial version of SHOW INDEXES
2023-04-25 20:48:11 +00:00
Manas Alekar
935f5f5807
Add documentation for append.
2023-04-25 11:06:07 -07:00
Robert Schulze
1da6ea7988
Move SHOW PROCESSLIST to a better position
2023-04-25 11:41:33 +00:00
Nikolay Degterinsky
2fe3a69ba1
Merge remote-tracking branch 'upstream/master' into add_default_password_type
2023-04-24 18:51:32 +00:00
Nikolay Degterinsky
1e92c504bd
Add docs
2023-04-24 16:03:52 +00:00
pufit
1985fb785e
Merge pull request #48262 from ClickHouse/42497-inherit-grant
...
GRANT CURRENT GRANTS implementation
2023-04-24 11:11:10 -04:00
Alexander Tokmakov
332a736a59
Merge branch 'master' into clusters_is_active_column
2023-04-24 15:54:03 +02:00
robot-ch-test-poll1
a9e1368d18
Merge pull request #48942 from ClickHouse/davenger-delete-where
...
WHERE clause is not optional for DELETE statement
2023-04-19 22:29:18 +02:00
Robert Schulze
cdf28f9b71
Minor fixups
2023-04-19 16:16:51 +00:00
Robert Schulze
c406663442
Docs: Replace annoying three spaces in enumerations by a single space
2023-04-19 15:56:55 +00:00
Alexander Gololobov
0e4aff9dc7
WHERE clause is not optional for DELETE statement
2023-04-19 17:00:25 +02:00
rfraposa
85d7b43c2b
Update function.md
2023-04-14 14:36:28 -06:00
Robert Schulze
adb15b7033
Merge branch 'master' into show-table
2023-04-14 09:52:56 +02:00
pufit
a9fcff72f3
Update docs
2023-04-13 12:57:21 -04:00
flynn
2571372fe0
update docs
2023-04-13 12:27:48 +00:00
flynn
bbaa7e126c
udpate docs
2023-04-13 11:06:36 +00:00
flynn
e4b1711812
udpate doc and test
2023-04-12 14:02:34 +00:00
Alexander Tokmakov
a1fda047f6
add docs
2023-04-11 16:32:40 +02:00
Dale Mcdiarmid
d50c6a9e1b
update blog references
2023-04-10 15:23:00 +01:00
DanRoscigno
cbda8762b2
add note about MV
2023-04-06 12:18:09 -04:00
Dan Roscigno
66af848f82
Update docs/en/sql-reference/statements/undrop.md
2023-04-06 12:09:34 -04:00
Dan Roscigno
28f86e7b84
Update docs/en/sql-reference/statements/undrop.md
...
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-04-06 12:07:53 -04:00
Dan Roscigno
fae4906e11
Update docs/en/sql-reference/statements/undrop.md
...
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-04-06 12:07:00 -04:00
DanRoscigno
1ea49371e6
lost a word
2023-04-05 10:53:36 -04:00
DanRoscigno
4876cac958
add docs for UNDROP TABLE
2023-04-05 10:49:03 -04:00
pufit
8441b0a3e1
Fix comments, tests, docs
2023-04-04 20:43:15 -04:00
Sergei Trifonov
1bea16ea63
doc entry for SYSTEM WAIT LOADING PARTS
2023-04-05 01:34:25 +02:00
Dan Roscigno
7aef9bb65e
Clarify SYSTEM RELOAD CONFIG and USERS
...
closes #48201
2023-04-04 08:41:58 -04:00
Alexander Tokmakov
e39498129c
Merge branch 'master' into sync_replica_lightweight
2023-03-31 18:17:08 +03:00
Robert Schulze
e1d299640b
Small follow-up to #48017
2023-03-31 14:11:37 +00:00
Robert Schulze
5d64841276
Merge pull request #48017 from ClickHouse/rs/show_columns
...
MySQL compatibility: Implement `SHOW COLUMNS`
2023-03-31 15:50:23 +02:00
Alexander Tokmakov
caf00b5968
Merge branch 'master' into sync_replica_lightweight
2023-03-31 14:52:55 +02:00
Rich Raposa
4675fa82a3
Update delete.md
...
Lightweight deletes are no longer experimental in 23.3
2023-03-30 10:29:08 -06:00
rfraposa
98d098618b
Add cross_to_inner_join_rewrite setting
2023-03-29 14:34:48 -06:00
Robert Schulze
202f52dc3a
Implement SHOW COLUMNS
...
Modeled after (*)
Fixes #46437
(*) https://dev.mysql.com/doc/refman/8.0/en/show-columns.html
2023-03-28 18:04:22 +00:00
Alexander Tokmakov
b5fe1ada0b
more options for sync replica
2023-03-28 01:39:36 +02:00
DanRoscigno
6d8a2bbd48
standardize admonitions
2023-03-27 14:54:05 -04:00
Robert Schulze
86f6828556
Docs: Update syntax of some SHOW queries
2023-03-27 15:56:31 +00:00
Robert Schulze
a123533b2f
Merge pull request #48061 from ClickHouse/rs/doc-full
...
Docs: Document [FULL] keyword in SHOW TABLES
2023-03-27 17:28:48 +02:00
Robert Schulze
246316dd49
Docs: Document [FULL] keyword in SHOW TABLES
...
Follow-up to #43910
2023-03-27 15:23:30 +00:00
Tyler Hannan
2981890ab4
Fix Sample...
2023-03-27 12:03:47 +02:00
rfraposa
ac72ed035c
Update user.md
2023-03-24 22:50:29 -06:00
rfraposa
9f548d658e
Update user.md
2023-03-24 22:45:34 -06:00
rfraposa
24b5b32dc3
Update user.md
2023-03-24 22:28:14 -06:00
rfraposa
747eaf3f72
Fix broken links
2023-03-23 14:40:45 -06:00
rfraposa
42725964d4
Remove links from nav categories
2023-03-23 14:20:26 -06:00
Robert Schulze
382aa60056
Merge pull request #47745 from jinjunzh/iaadeflate_doc_update
...
Create doc and scripts for qpl_deflate benchmark
2023-03-22 10:15:26 +01:00
jinjunzh
ed23d2f3a4
add missing 'docs'
2023-03-21 14:04:16 -04:00
jinjunzh
41eff365a7
update doc for deflate_qpl
2023-03-21 13:58:10 -04:00
jinjunzh
18c59fb5d3
Create doc and scripts for qpl_deflate benchmark
2023-03-20 17:19:34 -04:00
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