Skip to content

Commit 00cbce8

Browse files
authored
fix code style (#952)
1 parent 4f83945 commit 00cbce8

File tree

8 files changed

+93
-93
lines changed

8 files changed

+93
-93
lines changed

src/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_apache.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@ For more details, see document [Operate-Metadata](../Basic-Concept/Operate-Metad
119119

120120
**Example 1:** Create a template containing two non-aligned timeseires
121121

122-
```shell
122+
```sql
123123
IoTDB> create device template t1 (temperature FLOAT, status BOOLEAN)
124124
```
125125

126126
**Example 2:** Create a template containing a group of aligned timeseires
127127

128-
```shell
128+
```sql
129129
IoTDB> create device template t2 aligned (lat FLOAT, lon FLOAT)
130130
```
131131

@@ -465,7 +465,7 @@ For more details, see document [Data Import](../Tools-System/Data-Import-Tool_ap
465465

466466
#### Load with Script
467467

468-
```
468+
```sql
469469
./load-rewrite.bat -f D:\IoTDB\data -h 192.168.0.101 -p 6667 -u root -pw root
470470
```
471471

@@ -902,11 +902,11 @@ IoTDB > select s1, s2 into root.sg_copy.d1(t1, t2), aligned root.sg_copy.d2(t1,
902902

903903
## 8. Maintennance
904904
Generate the corresponding query plan:
905-
```
905+
```sql
906906
explain select s1,s2 from root.sg.d1
907907
```
908908
Execute the corresponding SQL, analyze the execution and output:
909-
```
909+
```sql
910910
explain analyze select s1,s2 from root.sg.d1 order by s1
911911
```
912912
## 9. OPERATOR
@@ -1703,27 +1703,27 @@ eg: REVOKE ALL ON ROOT.** FROM USER user1;
17031703

17041704
#### Delete Time Partition (experimental)
17051705

1706-
```
1706+
```sql
17071707
Eg: IoTDB > DELETE PARTITION root.ln 0,1,2
17081708
```
17091709

17101710
#### Continuous Query,CQ
17111711

1712-
```
1712+
```sql
17131713
Eg: IoTDB > CREATE CONTINUOUS QUERY cq1 BEGIN SELECT max_value(temperature) INTO temperature_max FROM root.ln.*.* GROUP BY time(10s) END
17141714
```
17151715

17161716
#### Maintenance Command
17171717

17181718
- FLUSH
17191719

1720-
```
1720+
```sql
17211721
Eg: IoTDB > flush
17221722
```
17231723

17241724
- MERGE
17251725

1726-
```
1726+
```sql
17271727
Eg: IoTDB > MERGE
17281728
Eg: IoTDB > FULL MERGE
17291729
```
@@ -1748,12 +1748,12 @@ Eg: IoTDB > STOP REPAIR DATA
17481748

17491749
- SET SYSTEM TO READONLY / WRITABLE
17501750

1751-
```
1751+
```sql
17521752
Eg: IoTDB > SET SYSTEM TO READONLY / WRITABLE
17531753
```
17541754

17551755
- Query abort
17561756

1757-
```
1757+
```sql
17581758
Eg: IoTDB > KILL QUERY 1
17591759
```

src/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_timecho.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ For more details, see document [Data Import](../Tools-System/Data-Import-Tool_ti
386386

387387
#### Load with Script
388388

389-
```
389+
```sql
390390
./load-rewrite.bat -f D:\IoTDB\data -h 192.168.0.101 -p 6667 -u root -pw root
391391
```
392392

@@ -823,11 +823,11 @@ IoTDB > select s1, s2 into root.sg_copy.d1(t1, t2), aligned root.sg_copy.d2(t1,
823823

824824
## 7. Maintennance
825825
Generate the corresponding query plan:
826-
```
826+
```sql
827827
explain select s1,s2 from root.sg.d1
828828
```
829829
Execute the corresponding SQL, analyze the execution and output:
830-
```
830+
```sql
831831
explain analyze select s1,s2 from root.sg.d1 order by s1
832832
```
833833
## 8. OPERATOR
@@ -1624,27 +1624,27 @@ eg: REVOKE ALL ON ROOT.** FROM USER user1;
16241624

16251625
#### Delete Time Partition (experimental)
16261626

1627-
```
1627+
```sql
16281628
Eg: IoTDB > DELETE PARTITION root.ln 0,1,2
16291629
```
16301630

16311631
#### Continuous Query,CQ
16321632

1633-
```
1633+
```sql
16341634
Eg: IoTDB > CREATE CONTINUOUS QUERY cq1 BEGIN SELECT max_value(temperature) INTO temperature_max FROM root.ln.*.* GROUP BY time(10s) END
16351635
```
16361636

16371637
#### Maintenance Command
16381638

16391639
- FLUSH
16401640

1641-
```
1641+
```sql
16421642
Eg: IoTDB > flush
16431643
```
16441644

16451645
- MERGE
16461646

1647-
```
1647+
```sql
16481648
Eg: IoTDB > MERGE
16491649
Eg: IoTDB > FULL MERGE
16501650
```
@@ -1669,12 +1669,12 @@ Eg: IoTDB > STOP REPAIR DATA
16691669

16701670
- SET SYSTEM TO READONLY / WRITABLE
16711671

1672-
```
1672+
```sql
16731673
Eg: IoTDB > SET SYSTEM TO READONLY / WRITABLE
16741674
```
16751675

16761676
- Query abort
16771677

1678-
```
1678+
```sql
16791679
Eg: IoTDB > KILL QUERY 1
16801680
```

src/UserGuide/latest/SQL-Manual/SQL-Manual_apache.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@ For more details, see document [Operate-Metadata](../Basic-Concept/Operate-Metad
119119

120120
**Example 1:** Create a template containing two non-aligned timeseires
121121

122-
```shell
122+
```sql
123123
IoTDB> create device template t1 (temperature FLOAT, status BOOLEAN)
124124
```
125125

126126
**Example 2:** Create a template containing a group of aligned timeseires
127127

128-
```shell
128+
```sql
129129
IoTDB> create device template t2 aligned (lat FLOAT, lon FLOAT)
130130
```
131131

@@ -465,7 +465,7 @@ For more details, see document [Data Import](../Tools-System/Data-Import-Tool_ap
465465

466466
#### Load with Script
467467

468-
```
468+
```sql
469469
./load-rewrite.bat -f D:\IoTDB\data -h 192.168.0.101 -p 6667 -u root -pw root
470470
```
471471

@@ -902,11 +902,11 @@ IoTDB > select s1, s2 into root.sg_copy.d1(t1, t2), aligned root.sg_copy.d2(t1,
902902

903903
## 8. Maintennance
904904
Generate the corresponding query plan:
905-
```
905+
```sql
906906
explain select s1,s2 from root.sg.d1
907907
```
908908
Execute the corresponding SQL, analyze the execution and output:
909-
```
909+
```sql
910910
explain analyze select s1,s2 from root.sg.d1 order by s1
911911
```
912912
## 9. OPERATOR
@@ -1703,27 +1703,27 @@ eg: REVOKE ALL ON ROOT.** FROM USER user1;
17031703

17041704
#### Delete Time Partition (experimental)
17051705

1706-
```
1706+
```sql
17071707
Eg: IoTDB > DELETE PARTITION root.ln 0,1,2
17081708
```
17091709

17101710
#### Continuous Query,CQ
17111711

1712-
```
1712+
```sql
17131713
Eg: IoTDB > CREATE CONTINUOUS QUERY cq1 BEGIN SELECT max_value(temperature) INTO temperature_max FROM root.ln.*.* GROUP BY time(10s) END
17141714
```
17151715

17161716
#### Maintenance Command
17171717

17181718
- FLUSH
17191719

1720-
```
1720+
```sql
17211721
Eg: IoTDB > flush
17221722
```
17231723

17241724
- MERGE
17251725

1726-
```
1726+
```sql
17271727
Eg: IoTDB > MERGE
17281728
Eg: IoTDB > FULL MERGE
17291729
```
@@ -1748,12 +1748,12 @@ Eg: IoTDB > STOP REPAIR DATA
17481748

17491749
- SET SYSTEM TO READONLY / WRITABLE
17501750

1751-
```
1751+
```sql
17521752
Eg: IoTDB > SET SYSTEM TO READONLY / WRITABLE
17531753
```
17541754

17551755
- Query abort
17561756

1757-
```
1757+
```sql
17581758
Eg: IoTDB > KILL QUERY 1
17591759
```

src/UserGuide/latest/SQL-Manual/SQL-Manual_timecho.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ For more details, see document [Data Import](../Tools-System/Data-Import-Tool_ti
386386

387387
#### Load with Script
388388

389-
```
389+
```sql
390390
./load-rewrite.bat -f D:\IoTDB\data -h 192.168.0.101 -p 6667 -u root -pw root
391391
```
392392

@@ -823,11 +823,11 @@ IoTDB > select s1, s2 into root.sg_copy.d1(t1, t2), aligned root.sg_copy.d2(t1,
823823

824824
## 7. Maintennance
825825
Generate the corresponding query plan:
826-
```
826+
```sql
827827
explain select s1,s2 from root.sg.d1
828828
```
829829
Execute the corresponding SQL, analyze the execution and output:
830-
```
830+
```sql
831831
explain analyze select s1,s2 from root.sg.d1 order by s1
832832
```
833833
## 8. OPERATOR
@@ -1624,27 +1624,27 @@ eg: REVOKE ALL ON ROOT.** FROM USER user1;
16241624

16251625
#### Delete Time Partition (experimental)
16261626

1627-
```
1627+
```sql
16281628
Eg: IoTDB > DELETE PARTITION root.ln 0,1,2
16291629
```
16301630

16311631
#### Continuous Query,CQ
16321632

1633-
```
1633+
```sql
16341634
Eg: IoTDB > CREATE CONTINUOUS QUERY cq1 BEGIN SELECT max_value(temperature) INTO temperature_max FROM root.ln.*.* GROUP BY time(10s) END
16351635
```
16361636

16371637
#### Maintenance Command
16381638

16391639
- FLUSH
16401640

1641-
```
1641+
```sql
16421642
Eg: IoTDB > flush
16431643
```
16441644

16451645
- MERGE
16461646

1647-
```
1647+
```sql
16481648
Eg: IoTDB > MERGE
16491649
Eg: IoTDB > FULL MERGE
16501650
```
@@ -1669,12 +1669,12 @@ Eg: IoTDB > STOP REPAIR DATA
16691669

16701670
- SET SYSTEM TO READONLY / WRITABLE
16711671

1672-
```
1672+
```sql
16731673
Eg: IoTDB > SET SYSTEM TO READONLY / WRITABLE
16741674
```
16751675

16761676
- Query abort
16771677

1678-
```
1678+
```sql
16791679
Eg: IoTDB > KILL QUERY 1
16801680
```

0 commit comments

Comments
 (0)