Commit Graph

66 Commits

Author SHA1 Message Date
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
Dale Mcdiarmid
9c4d3e0ffb link docs to blogs 2023-01-17 15:38:10 +00: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
Smita Kulkarni
953e1068b5 Merge branch 'master' into 40907_Parameterized_views_as_table_functions 2022-11-28 19:10:32 +01: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
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
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
b9159db82f Remove temporary live views 2022-10-08 00:16:36 +02: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
DanRoscigno
5b5fcc56aa add slugs 2022-08-28 10:53:34 -04: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
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
Alexey Milovidov
9854b55835
Revert "Format changes for new docs" 2022-04-04 02:05:35 +03:00
rfraposa
560471f991 Update /sql-reference docs 2022-03-29 22:06:21 -06: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
Roman Bug
bb5c92276d
Update docs/en/sql-reference/statements/create/view.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-01 18:26:09 +03:00
Roman Bug
50ef202b12
Update docs/en/sql-reference/statements/create/view.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-10-01 18:25:57 +03:00
romanzhukov
c0ba8d1a04 Fix crosslink. 2021-09-29 21:31:18 +03:00
romanzhukov
e312156b1c Add note about Materialized views 2021-09-29 17:52:39 +03:00
olgarev
2570e270d7
DOCSUP-13593: Alter view (#28911)
* Alter mv and lv (en)

* Translated to Russian. Fixes.

* Fixes

* Update docs/en/sql-reference/statements/alter/view.md

Co-authored-by: Ivan Blinkov <github@blinkov.ru>

Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2021-09-17 12:07:32 +03:00
Thomas Berdy
e5511944bc
doc: Warn about MV using column names during insertion 2021-08-27 18:40:35 +02:00
Alexey Milovidov
d87d833691 Remove trailing whitespaces from docs 2021-07-29 18:20:55 +03:00
Romain Neutron
7b515c7235
Avoid short syntax 2021-05-27 21:44:11 +02:00
michon470
27fdd823ba
Update docs/en/sql-reference/statements/create/view.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-03-29 00:16:02 +03:00
michon470
5b865a15ea
Update docs/en/sql-reference/statements/create/view.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-03-29 00:15:48 +03:00
michon470
ca071ec971
Update docs/en/sql-reference/statements/create/view.md
Co-authored-by: olgarev <56617294+olgarev@users.noreply.github.com>
2021-03-29 00:13:59 +03:00
michon470
d8931e504e
Merge branch 'master' into kuriatnikovm-DOCSUP-7105-translate_changes 2021-03-25 16:32:39 +03:00
alexey-milovidov
06ce573c3c
Update view.md 2021-03-22 23:44:31 +03:00
Mikhail
5c21dd747a changes according to task comment 2021-03-21 08:57:55 +03:00
Mikhail
a51df819f6 Update view.md 2021-03-21 06:34:15 +03:00
Mikhail
665b6006ab Minor 2021-03-16 17:30:23 +03:00
Mikhail
59a4d69826 Changes translated 2021-03-15 00:51:35 +03:00
Taleh Zaliyev
347a79360c
Add link to DROP VIEW for EN docs 2021-03-14 17:47:50 +03:00
Vitaliy Zakaznikov
c2a71dda1f Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into live-view-docs 2021-02-21 09:50:02 -05:00
Vitaliy Zakaznikov
46f67fa8ac Adding examples to live view docs. 2021-02-21 09:45:20 -05:00
Vitaliy Zakaznikov
3d2788e1b5 Fixes and updates to live view docs. 2021-02-08 19:23:32 -05:00