Skip to content

Commit 3b94678

Browse files
authored
fix alter device template (#887)
1 parent fb1460e commit 3b94678

File tree

20 files changed

+20
-20
lines changed

20 files changed

+20
-20
lines changed

src/UserGuide/Master/Tree/Basic-Concept/Operate-Metadata_apache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ In a scenario where measurements need to be added, you can modify the template
587587
The SQL Statement for altering device template is as follow:
588588

589589
```shell
590-
IoTDB> alter device template t1 add (speed FLOAT, FLOAT TEXT)
590+
IoTDB> alter device template t1 add (speed FLOAT)
591591
```
592592

593593
**When executing data insertion to devices with device template set on related prefix path and there are measurements not present in this device template, the measurements will be auto added to this device template.**

src/UserGuide/Master/Tree/Basic-Concept/Operate-Metadata_timecho.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ In a scenario where measurements need to be added, you can modify the template
588588
The SQL Statement for altering device template is as follow:
589589

590590
```shell
591-
IoTDB> alter device template t1 add (speed FLOAT, FLOAT TEXT)
591+
IoTDB> alter device template t1 add (speed FLOAT)
592592
```
593593

594594
**When executing data insertion to devices with device template set on related prefix path and there are measurements not present in this device template, the measurements will be auto added to this device template.**

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ IoTDB> drop device template t1
179179
### 2.8 Alter Device Template
180180

181181
```sql
182-
IoTDB> alter device template t1 add (speed FLOAT, FLOAT TEXT)
182+
IoTDB> alter device template t1 add (speed FLOAT)
183183
```
184184

185185
## 3. TIMESERIES MANAGEMENT

src/UserGuide/V1.3.x/Basic-Concept/Operate-Metadata_apache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ In a scenario where measurements need to be added, you can modify the template
580580
The SQL Statement for altering device template is as follow:
581581

582582
```shell
583-
IoTDB> alter device template t1 add (speed FLOAT encoding=RLE, FLOAT TEXT encoding=PLAIN compression=SNAPPY)
583+
IoTDB> alter device template t1 add (speed FLOAT encoding=RLE)
584584
```
585585

586586
**When executing data insertion to devices with device template set on related prefix path and there are measurements not present in this device template, the measurements will be auto added to this device template.**

src/UserGuide/V1.3.x/Basic-Concept/Operate-Metadata_timecho.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ In a scenario where measurements need to be added, you can modify the template
581581
The SQL Statement for altering device template is as follow:
582582

583583
```shell
584-
IoTDB> alter device template t1 add (speed FLOAT encoding=RLE, FLOAT TEXT encoding=PLAIN compression=SNAPPY)
584+
IoTDB> alter device template t1 add (speed FLOAT encoding=RLE)
585585
```
586586

587587
**When executing data insertion to devices with device template set on related prefix path and there are measurements not present in this device template, the measurements will be auto added to this device template.**

src/UserGuide/V1.3.x/SQL-Manual/SQL-Manual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ IoTDB> drop device template t1
179179
### Alter Device Template
180180

181181
```sql
182-
IoTDB> alter device template t1 add (speed FLOAT encoding=RLE, FLOAT TEXT encoding=PLAIN compression=SNAPPY)
182+
IoTDB> alter device template t1 add (speed FLOAT encoding=RLE)
183183
```
184184

185185
## TIMESERIES MANAGEMENT

src/UserGuide/dev-1.3/Basic-Concept/Operate-Metadata_apache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ In a scenario where measurements need to be added, you can modify the template
580580
The SQL Statement for altering device template is as follow:
581581

582582
```shell
583-
IoTDB> alter device template t1 add (speed FLOAT encoding=RLE, FLOAT TEXT encoding=PLAIN compression=SNAPPY)
583+
IoTDB> alter device template t1 add (speed FLOAT encoding=RLE)
584584
```
585585

586586
**When executing data insertion to devices with device template set on related prefix path and there are measurements not present in this device template, the measurements will be auto added to this device template.**

src/UserGuide/dev-1.3/Basic-Concept/Operate-Metadata_timecho.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ In a scenario where measurements need to be added, you can modify the template
581581
The SQL Statement for altering device template is as follow:
582582

583583
```shell
584-
IoTDB> alter device template t1 add (speed FLOAT encoding=RLE, FLOAT TEXT encoding=PLAIN compression=SNAPPY)
584+
IoTDB> alter device template t1 add (speed FLOAT encoding=RLE)
585585
```
586586

587587
**When executing data insertion to devices with device template set on related prefix path and there are measurements not present in this device template, the measurements will be auto added to this device template.**

src/UserGuide/dev-1.3/SQL-Manual/SQL-Manual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ IoTDB> drop device template t1
179179
### Alter Device Template
180180

181181
```sql
182-
IoTDB> alter device template t1 add (speed FLOAT encoding=RLE, FLOAT TEXT encoding=PLAIN compression=SNAPPY)
182+
IoTDB> alter device template t1 add (speed FLOAT encoding=RLE)
183183
```
184184

185185
## TIMESERIES MANAGEMENT

src/UserGuide/latest/Basic-Concept/Operate-Metadata_apache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ In a scenario where measurements need to be added, you can modify the template
587587
The SQL Statement for altering device template is as follow:
588588

589589
```shell
590-
IoTDB> alter device template t1 add (speed FLOAT, FLOAT TEXT)
590+
IoTDB> alter device template t1 add (speed FLOAT)
591591
```
592592

593593
**When executing data insertion to devices with device template set on related prefix path and there are measurements not present in this device template, the measurements will be auto added to this device template.**

0 commit comments

Comments
 (0)