This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch rel/1.0
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/1.0 by this push:
new e6f1be3fec [To rel/1.0] Update markdown table format and benchmark
link address in UserGuide (#9529)
e6f1be3fec is described below
commit e6f1be3fec9a89c93d0f155651c7781796504523
Author: 肖志红 <[email protected]>
AuthorDate: Tue Apr 4 15:19:51 2023 +0800
[To rel/1.0] Update markdown table format and benchmark link address in
UserGuide (#9529)
* Update Publication.md
* Update Spark-TsFile.md
* Update Publication.md
* Update markdown table format in Spark-TsFile.md
---
.../Ecosystem-Integration/Spark-TsFile.md | 2 +-
docs/UserGuide/IoTDB-Introduction/Publication.md | 2 +-
.../Ecosystem-Integration/Spark-TsFile.md | 30 +++++++++++-----------
.../zh/UserGuide/IoTDB-Introduction/Publication.md | 2 +-
4 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/docs/UserGuide/Ecosystem-Integration/Spark-TsFile.md
b/docs/UserGuide/Ecosystem-Integration/Spark-TsFile.md
index 3278f31df9..a0f52c4f11 100644
--- a/docs/UserGuide/Ecosystem-Integration/Spark-TsFile.md
+++ b/docs/UserGuide/Ecosystem-Integration/Spark-TsFile.md
@@ -254,7 +254,7 @@ Two columns are created to store the full path of the
device: time(LongType) and
Next, a column is created for each Measurement to store the specific data. The
SparkSQL table structure is:
-|time(LongType)|
delta\_object(StringType)|status(BooleanType)|temperature(FloatType)|hardware(StringType)|
+|time(LongType)|delta\_object(StringType)|status(BooleanType)|temperature(FloatType)|hardware(StringType)|
|---|---|---|---|---|
|1| root.ln.wf01.wt01 |True|2.2|null|
|1| root.ln.wf02.wt02 |True|null|null|
diff --git a/docs/UserGuide/IoTDB-Introduction/Publication.md
b/docs/UserGuide/IoTDB-Introduction/Publication.md
index d490eefe25..9240b22e3a 100644
--- a/docs/UserGuide/IoTDB-Introduction/Publication.md
+++ b/docs/UserGuide/IoTDB-Introduction/Publication.md
@@ -37,4 +37,4 @@ The research papers related are as follows:
We also developed Benchmark tools for time series databases
-https://github.com/thulab/iotdb-benchmark
\ No newline at end of file
+[https://github.com/thulab/iot-benchmark](https://github.com/thulab/iot-benchmark)
diff --git a/docs/zh/UserGuide/Ecosystem-Integration/Spark-TsFile.md
b/docs/zh/UserGuide/Ecosystem-Integration/Spark-TsFile.md
index 8147aa4922..3213ae37f3 100644
--- a/docs/zh/UserGuide/Ecosystem-Integration/Spark-TsFile.md
+++ b/docs/zh/UserGuide/Ecosystem-Integration/Spark-TsFile.md
@@ -95,11 +95,11 @@ TsFile 中的现有数据如下:
* d1:root.ln.wf01.wt01
* d2:root.ln.wf02.wt02
-time|d1.status|time|d1.temperature |time | d2.hardware |time|d2.status
----- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ----
-1|True |1|2.2|2|"aaa"|1|True
-3|True |2|2.2|4|"bbb"|2|False
-5|False|3 |2.1|6 |"ccc"|4|True
+| time | d1.status | time | d1.temperature | time | d2.hardware | time |
d2.status |
+| ---- | ---- | ---- | ---- | ---- | ---- | ---- |
---- |
+| 1 | True | 1 | 2.2 | 2 | "aaa" | 1 |
True |
+| 3 | True | 2 | 2.2 | 4 | "bbb" | 2 |
False |
+| 5 | False | 3 | 2.1 | 6 | "ccc" | 4 |
True |
相应的 SparkSQL 表如下:
@@ -231,11 +231,11 @@ newDf.show
显示 TsFile 的方式与 TsFile Schema 有关。 以以下 TsFile 结构为例:TsFile 架构中有三个度量:状态,温度和硬件。
这三个度量的基本信息如下:
-|名称 | 类型 | 编码 |
+| 名称 | 类型 | 编码 |
| ---- | ---- | ---- |
-|状态 | Boolean|PLAIN|
-|温度 | Float|RLE|
-|硬件|Text|PLAIN|
+| 状态 | Boolean| PLAIN |
+| 温度 | Float | RLE |
+| 硬件 | Text | PLAIN |
文件中的现有数据如下:
@@ -243,12 +243,12 @@ newDf.show
* delta_object2: root.ln.wf02.wt02
* delta_object3: :root.sgcc.wf03.wt01
-time|delta_object1.status|time|delta_object1.temperature |time |
delta_object2.hardware |time|delta_object2.status
|time|delta_object3.status|time|delta_object3.temperature
----- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |
---- | ----
-1|True |1|2.2|2|"aaa"|1|True|2|True|3|3.3
-3|True |2|2.2|4|"bbb"|2|False|3|True|6|6.6
-5|False|3 |2.1|6 |"ccc"|4|True|4|True|8|8.8
-7|True|4|2.0|8|"ddd"|5|False|6|True|9|9.9
+| time | delta_object1.status | time | delta_object1.temperature | time |
delta_object2.hardware | time | delta_object2.status | time |
delta_object3.status | time | delta_object3.temperature |
+| :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- | :---- |
:---- | :---- | :---- |
+| 1 | True | 1 | 2.2 | 2 | "aaa" | 1 | True | 2 |
True | 3 | 3.3 |
+| 3 | True | 2 | 2.2 | 4 | "bbb" | 2 | False | 3 | True
| 6 | 6.6 |
+| 5 | False | 3 | 2.1 | 6 | "ccc" | 4 | True | 4 | True
| 8 | 8.8 |
+| 7 | True | 4 | 2.0 | 8 | "ddd" | 5 | False | 6 |
True | 9 | 9.9 |
有两种显示方法:
diff --git a/docs/zh/UserGuide/IoTDB-Introduction/Publication.md
b/docs/zh/UserGuide/IoTDB-Introduction/Publication.md
index 73134db4a0..f3ecbbf01c 100644
--- a/docs/zh/UserGuide/IoTDB-Introduction/Publication.md
+++ b/docs/zh/UserGuide/IoTDB-Introduction/Publication.md
@@ -35,4 +35,4 @@ Apache IoTDB 始于清华大学软件学院。IoTDB 是一个用于管理大量
我们还研发了面向时间序列数据库的 Benchmark 工具:
-https://github.com/thulab/iotdb-benchmark
+[https://github.com/thulab/iot-benchmark](https://github.com/thulab/iot-benchmark)