Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions src/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_apache.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@ For more details, see document [Operate-Metadata](../Basic-Concept/Operate-Metad

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

```shell
```sql
IoTDB> create device template t1 (temperature FLOAT, status BOOLEAN)
```

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

```shell
```sql
IoTDB> create device template t2 aligned (lat FLOAT, lon FLOAT)
```

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

#### Load with Script

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

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

## 8. Maintennance
Generate the corresponding query plan:
```
```sql
explain select s1,s2 from root.sg.d1
```
Execute the corresponding SQL, analyze the execution and output:
```
```sql
explain analyze select s1,s2 from root.sg.d1 order by s1
```
## 9. OPERATOR
Expand Down Expand Up @@ -1703,27 +1703,27 @@ eg: REVOKE ALL ON ROOT.** FROM USER user1;

#### Delete Time Partition (experimental)

```
```sql
Eg: IoTDB > DELETE PARTITION root.ln 0,1,2
```

#### Continuous Query,CQ

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

#### Maintenance Command

- FLUSH

```
```sql
Eg: IoTDB > flush
```

- MERGE

```
```sql
Eg: IoTDB > MERGE
Eg: IoTDB > FULL MERGE
```
Expand All @@ -1748,12 +1748,12 @@ Eg: IoTDB > STOP REPAIR DATA

- SET SYSTEM TO READONLY / WRITABLE

```
```sql
Eg: IoTDB > SET SYSTEM TO READONLY / WRITABLE
```

- Query abort

```
```sql
Eg: IoTDB > KILL QUERY 1
```
18 changes: 9 additions & 9 deletions src/UserGuide/Master/Tree/SQL-Manual/SQL-Manual_timecho.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ For more details, see document [Data Import](../Tools-System/Data-Import-Tool_ti

#### Load with Script

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

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

## 7. Maintennance
Generate the corresponding query plan:
```
```sql
explain select s1,s2 from root.sg.d1
```
Execute the corresponding SQL, analyze the execution and output:
```
```sql
explain analyze select s1,s2 from root.sg.d1 order by s1
```
## 8. OPERATOR
Expand Down Expand Up @@ -1624,27 +1624,27 @@ eg: REVOKE ALL ON ROOT.** FROM USER user1;

#### Delete Time Partition (experimental)

```
```sql
Eg: IoTDB > DELETE PARTITION root.ln 0,1,2
```

#### Continuous Query,CQ

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

#### Maintenance Command

- FLUSH

```
```sql
Eg: IoTDB > flush
```

- MERGE

```
```sql
Eg: IoTDB > MERGE
Eg: IoTDB > FULL MERGE
```
Expand All @@ -1669,12 +1669,12 @@ Eg: IoTDB > STOP REPAIR DATA

- SET SYSTEM TO READONLY / WRITABLE

```
```sql
Eg: IoTDB > SET SYSTEM TO READONLY / WRITABLE
```

- Query abort

```
```sql
Eg: IoTDB > KILL QUERY 1
```
22 changes: 11 additions & 11 deletions src/UserGuide/latest/SQL-Manual/SQL-Manual_apache.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@ For more details, see document [Operate-Metadata](../Basic-Concept/Operate-Metad

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

```shell
```sql
IoTDB> create device template t1 (temperature FLOAT, status BOOLEAN)
```

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

```shell
```sql
IoTDB> create device template t2 aligned (lat FLOAT, lon FLOAT)
```

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

#### Load with Script

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

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

## 8. Maintennance
Generate the corresponding query plan:
```
```sql
explain select s1,s2 from root.sg.d1
```
Execute the corresponding SQL, analyze the execution and output:
```
```sql
explain analyze select s1,s2 from root.sg.d1 order by s1
```
## 9. OPERATOR
Expand Down Expand Up @@ -1703,27 +1703,27 @@ eg: REVOKE ALL ON ROOT.** FROM USER user1;

#### Delete Time Partition (experimental)

```
```sql
Eg: IoTDB > DELETE PARTITION root.ln 0,1,2
```

#### Continuous Query,CQ

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

#### Maintenance Command

- FLUSH

```
```sql
Eg: IoTDB > flush
```

- MERGE

```
```sql
Eg: IoTDB > MERGE
Eg: IoTDB > FULL MERGE
```
Expand All @@ -1748,12 +1748,12 @@ Eg: IoTDB > STOP REPAIR DATA

- SET SYSTEM TO READONLY / WRITABLE

```
```sql
Eg: IoTDB > SET SYSTEM TO READONLY / WRITABLE
```

- Query abort

```
```sql
Eg: IoTDB > KILL QUERY 1
```
18 changes: 9 additions & 9 deletions src/UserGuide/latest/SQL-Manual/SQL-Manual_timecho.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ For more details, see document [Data Import](../Tools-System/Data-Import-Tool_ti

#### Load with Script

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

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

## 7. Maintennance
Generate the corresponding query plan:
```
```sql
explain select s1,s2 from root.sg.d1
```
Execute the corresponding SQL, analyze the execution and output:
```
```sql
explain analyze select s1,s2 from root.sg.d1 order by s1
```
## 8. OPERATOR
Expand Down Expand Up @@ -1624,27 +1624,27 @@ eg: REVOKE ALL ON ROOT.** FROM USER user1;

#### Delete Time Partition (experimental)

```
```sql
Eg: IoTDB > DELETE PARTITION root.ln 0,1,2
```

#### Continuous Query,CQ

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

#### Maintenance Command

- FLUSH

```
```sql
Eg: IoTDB > flush
```

- MERGE

```
```sql
Eg: IoTDB > MERGE
Eg: IoTDB > FULL MERGE
```
Expand All @@ -1669,12 +1669,12 @@ Eg: IoTDB > STOP REPAIR DATA

- SET SYSTEM TO READONLY / WRITABLE

```
```sql
Eg: IoTDB > SET SYSTEM TO READONLY / WRITABLE
```

- Query abort

```
```sql
Eg: IoTDB > KILL QUERY 1
```
Loading