Skip to content

Commit

Permalink
doc/user: patch CREATE MATERIALIZED VIEW grammar (#27728)
Browse files Browse the repository at this point in the history
Follow-up to #27325.
  • Loading branch information
morsapaes committed Jun 18, 2024
1 parent 74c2063 commit 56c25a5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
4 changes: 3 additions & 1 deletion doc/user/content/sql/create-materialized-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ _view_name_ | A name for the materialized view.
_cluster_name_ | The cluster to maintain this materialized view. If not specified, defaults to the active cluster.
_select_stmt_ | The [`SELECT` statement](../select) whose results you want to maintain incrementally updated.

### `WITH` options
#### `with_options`

{{< diagram "with-options.svg" >}}

| Field | Value | Description |
| ---------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
Expand Down
28 changes: 14 additions & 14 deletions doc/user/layouts/partials/sql-grammar/with-options.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion doc/user/sql-grammar/sql-grammar.bnf
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ cte_binding ::=
recursive_cte_binding ::=
cte_ident '(' col_ident col_type ( ',' col_ident col_type )* ')' 'AS' '(' select_stmt ')'
with_options ::=
('WITH' '(' ( field '=' val ) ( ( ',' field '=' val ) )* ')')?
('WITH' '(' ( field '='? val ) ( ( ',' field '='? val ) )* ')')?
with_options_aws ::= 'WITH' '('
(
static_credentials
Expand Down

0 comments on commit 56c25a5

Please sign in to comment.