Skip to content

Commit 189b02a

Browse files
ZmmBigdatawuchong
authored andcommitted
[doc]The SQL keywords are not consistent in case. It is recommended to use uppercase letters uniformly (#1385)
1 parent c282fc9 commit 189b02a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

website/docs/quickstart/security.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Before proceeding with this guide, ensure that [Docker](https://docs.docker.com/
3939
All commands were tested with Docker version 27.4.0 and Docker Compose version v2.30.3.
4040

4141
:::note
42-
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).
42+
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).
4343
:::
4444

4545
#### Starting required components
@@ -555,9 +555,9 @@ Output will show like:
555555
The `marketing` user can only see the `marketing_db` database
556556
```sql title="Flink SQL"
557557
-- switch to marketing user context
558-
use catalog marketing_catalog;
558+
USE CATALOG marketing_catalog;
559559
-- show databases using marketing user credentials
560-
show databases;
560+
SHOW DATABASES;
561561
```
562562
**Output:**
563563
```text
@@ -572,9 +572,9 @@ show databases;
572572
The `finance` user can only see the `finance_db` database:
573573
```sql title="Flink SQL"
574574
-- switch to finance user context
575-
use catalog finance_catalog;
575+
USE CATALOG finance_catalog;
576576
-- show databases using finance user credentials
577-
show databases;
577+
SHOW DATABASES;
578578
```
579579

580580
**Output:**
@@ -591,7 +591,7 @@ show databases;
591591
The `marketing` user can operate on their own database:
592592
```sql title="Flink SQL"
593593
-- switch to marketing user context
594-
use catalog marketing_catalog;
594+
USE CATALOG marketing_catalog;
595595
-- create table using marketing user credentials
596596
CREATE TABLE `marketing_db`.`order` (
597597
`order_key` INT NOT NULL,
@@ -609,7 +609,7 @@ CREATE TABLE `marketing_db`.`order` (
609609
The `finance` user cannot access the `marketing` database:
610610
```sql title="Flink SQL"
611611
-- switch to finance user context
612-
use catalog finance_catalog;
612+
USE CATALOG finance_catalog;
613613
-- create table using finance user credentials
614614
CREATE TABLE `marketing_db`.`order` (
615615
`order_key` INT NOT NULL,

0 commit comments

Comments
 (0)