Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in placement-rules-in-sql.md #9314

Merged
merged 1 commit into from
Jun 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions placement-rules-in-sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,13 +198,13 @@ CREATE PLACEMENT POLICY p3 FOLLOWERS=2;

CREATE TABLE t1 (a INT); -- Creates a table t1 with no placement options.

ALTER DATABASE test POLICY=p2; -- Changes the default placement option, and does not apply to the existing table t1.
ALTER DATABASE test PLACEMENT POLICY=p2; -- Changes the default placement option, and does not apply to the existing table t1.

CREATE TABLE t2 (a INT); -- Creates a table t2 with the default placement policy p2.

CREATE TABLE t3 (a INT) PLACEMENT POLICY=p1; -- Creates a table t3 without the default policy p2, because this statement has specified another placement rule.

ALTER DATABASE test POLICY=p3; -- Changes the default policy, and does not apply to existing tables.
ALTER DATABASE test PLACEMENT POLICY=p3; -- Changes the default policy, and does not apply to existing tables.

CREATE TABLE t4 (a INT); -- Creates a table t4 with the default policy p3.

Expand Down