You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2023/04/04 06:57:59 UTC
[iotdb] branch rel/1.1 updated: [To Rel/1.1]Update markdown table format and benchmark link in UserGuide (#9527)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch rel/1.1
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/1.1 by this push:
new 6f57dc797b [To Rel/1.1]Update markdown table format and benchmark link in UserGuide (#9527)
6f57dc797b is described below
commit 6f57dc797b7ac723f6e189c32ce7095fa0fae268
Author: 肖志红 <73...@users.noreply.github.com>
AuthorDate: Tue Apr 4 14:57:52 2023 +0800
[To Rel/1.1]Update markdown table format and benchmark link in UserGuide (#9527)
---
.../Ecosystem-Integration/Spark-TsFile.md | 2 +-
docs/UserGuide/IoTDB-Introduction/Publication.md | 2 +-
.../Ecosystem-Integration/Spark-TsFile.md | 32 +++++++++++-----------
.../zh/UserGuide/IoTDB-Introduction/Publication.md | 2 +-
4 files changed, 19 insertions(+), 19 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..68d7435c7a 100644
--- a/docs/zh/UserGuide/Ecosystem-Integration/Spark-TsFile.md
+++ b/docs/zh/UserGuide/Ecosystem-Integration/Spark-TsFile.md
@@ -84,22 +84,22 @@ TsFile-Spark-Connector 对 Tsfile 类型的外部数据源实现 Spark 的支持
显示 TsFile 的方式取决于架构。 以以下 TsFile 结构为例:TsFile 模式中有三个度量:状态,温度和硬件。 这三种测量的基本信息如下:
-|名称 | 类型 | 编码 |
-| ---- | ---- | ---- |
-|状态 | Boolean|PLAIN|
-|温度 | Float|RLE|
-|硬件|Text|PLAIN|
+| 名称 | 类型 | 编码 |
+| ---- |---- | ---- |
+| 状态 | Boolean| PLAIN |
+| 温度 | Float | RLE |
+| 硬件 | Text | PLAIN |
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 表如下:
@@ -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 4cbeb3d704..c1cb831987 100644
--- a/docs/zh/UserGuide/IoTDB-Introduction/Publication.md
+++ b/docs/zh/UserGuide/IoTDB-Introduction/Publication.md
@@ -40,4 +40,4 @@ Apache IoTDB 始于清华大学软件学院。IoTDB 是一个用于管理大量
我们还研发了面向时间序列数据库的 Benchmark 工具:
-https://github.com/thulab/iotdb-benchmark
+[https://github.com/thulab/iot-benchmark](https://github.com/thulab/iot-benchmark)