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

Placement Rules in SQL tag incorrect #18729

Open
Ming2029 opened this issue Sep 30, 2024 · 0 comments
Open

Placement Rules in SQL tag incorrect #18729

Ming2029 opened this issue Sep 30, 2024 · 0 comments

Comments

@Ming2029
Copy link

File: /release-8.1/placement-rules-in-sql.md
SHOW PLAYMENT LABELS is used in the document; Is the displayed label incorrect.
The command to create a placement rule below does not match, without us-west-1. Although it can be placed normally, it cannot be clearly understood.

For example:
Create a placement rule as follows:
CREATE PLAYMENT POLICY myplacementpolicy PRIMARYRegiON="us-east-1" egiONS="us-east-1, us-west-1";

The label is:
SHOW PLACEMENT LABELS;
+--------+-----------------------------+
| Key | Values |
+--------+-----------------------------+
| disk | ["ssd"] |
| region | ["us-east-1", "us-west-1"] |
| zone | ["us-east-1a"] |
+--------+-----------------------------+
3 rows in set (0.00 sec)

And the format for creating rule labels should be:
CREATE PLAYMENT POLICY myplacementpolicy PRIMARYRegiON="us-east-1" egiONS="us-east-1, us-west-1 us-west-1";

Screenshot of the location of the question:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant