This is an automated email from the ASF dual-hosted git repository.
ipolyzos pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluss.git
The following commit(s) were added to refs/heads/main by this push:
new 2dd0d952c [doc]The SQL keywords are not consistent in case. It is
recommended to use uppercase letters uniformly (#1385)
2dd0d952c is described below
commit 2dd0d952cfabd177dc6263fc07d3476d792c5966
Author: Zmm <[email protected]>
AuthorDate: Wed Jul 23 15:16:50 2025 +0800
[doc]The SQL keywords are not consistent in case. It is recommended to use
uppercase letters uniformly (#1385)
---
website/docs/quickstart/security.md | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/website/docs/quickstart/security.md
b/website/docs/quickstart/security.md
index f6e85c9cf..c77b7baa7 100644
--- a/website/docs/quickstart/security.md
+++ b/website/docs/quickstart/security.md
@@ -39,7 +39,7 @@ Before proceeding with this guide, ensure that
[Docker](https://docs.docker.com/
All commands were tested with Docker version 27.4.0 and Docker Compose version
v2.30.3.
:::note
-We encourage you to use a recent version of Docker and [Compose
v2](https://docs.docker.com/compose/releases/migrate/) (however, Compose v1
might work with a few adaptions).
+We encourage you to use a recent version of Docker and [Compose
v2](https://docs.docker.com/compose/releases/migrate/) (however, Compose v1
might work with a few adaptations).
:::
#### Starting required components
@@ -555,9 +555,9 @@ Output will show like:
The `marketing` user can only see the `marketing_db` database
```sql title="Flink SQL"
-- switch to marketing user context
-use catalog marketing_catalog;
+USE CATALOG marketing_catalog;
-- show databases using marketing user credentials
-show databases;
+SHOW DATABASES;
```
**Output:**
```text
@@ -572,9 +572,9 @@ show databases;
The `finance` user can only see the `finance_db` database:
```sql title="Flink SQL"
-- switch to finance user context
-use catalog finance_catalog;
+USE CATALOG finance_catalog;
-- show databases using finance user credentials
-show databases;
+SHOW DATABASES;
```
**Output:**
@@ -591,7 +591,7 @@ show databases;
The `marketing` user can operate on their own database:
```sql title="Flink SQL"
-- switch to marketing user context
-use catalog marketing_catalog;
+USE CATALOG marketing_catalog;
-- create table using marketing user credentials
CREATE TABLE `marketing_db`.`order` (
`order_key` INT NOT NULL,
@@ -609,7 +609,7 @@ CREATE TABLE `marketing_db`.`order` (
The `finance` user cannot access the `marketing` database:
```sql title="Flink SQL"
-- switch to finance user context
-use catalog finance_catalog;
+USE CATALOG finance_catalog;
-- create table using finance user credentials
CREATE TABLE `marketing_db`.`order` (
`order_key` INT NOT NULL,