Skip to content

Commit

Permalink
[Doc] Update MV Syntax Note (backport #50441) (#50500)
Browse files Browse the repository at this point in the history
Co-authored-by: 絵空事スピリット <[email protected]>
  • Loading branch information
mergify[bot] and EsoragotoSpirit authored Aug 30, 2024
1 parent 47b5e21 commit fe99d55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ The following table shows the correspondence between the aggregate function in t
```SQL
CREATE MATERIALIZED VIEW [IF NOT EXISTS] [database.]<mv_name>
[COMMENT ""]
-- You must specify either `distribution_desc` or `refresh_scheme`, or both.
-- distribution_desc
DISTRIBUTED BY HASH(<bucket_key>[,<bucket_key2> ...]) [BUCKETS <bucket_number>]
-- refresh_scheme
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ SELECT * FROM <mv_name> [_SYNC_MV_];
```SQL
CREATE MATERIALIZED VIEW [IF NOT EXISTS] [database.]<mv_name>
[COMMENT ""]
-- 必须至少指定 `distribution_desc` 和 `refresh_scheme` 其中之一。
-- distribution_desc
DISTRIBUTED BY HASH(<bucket_key>[,<bucket_key2> ...]) [BUCKETS <bucket_number>]
-- refresh_scheme
Expand Down

0 comments on commit fe99d55

Please sign in to comment.