mirror of
https://github.com/alibaba/DataX.git
synced 2025-05-03 03:59:07 +08:00
mongodb2tdengine typo
This commit is contained in:
parent
485d2d8815
commit
be78295e11
@ -305,7 +305,7 @@ TAGS(
|
|||||||
|
|
||||||
### 一张源表导入之后对应TDengine中多少张表?
|
### 一张源表导入之后对应TDengine中多少张表?
|
||||||
|
|
||||||
这是又tagColumn决定的,如果所有tag列的值都相同,目标表也只有一个。源表有多少不同的tag组合,目标超表就会有多少子表。
|
这是由tagColumn决定的,如果所有tag列的值都相同,那么目标表只有一个。源表有多少不同的tag组合,目标超表就有多少子表。
|
||||||
|
|
||||||
### 源表和目标表的字段顺序一致吗?
|
### 源表和目标表的字段顺序一致吗?
|
||||||
|
|
||||||
@ -313,4 +313,4 @@ TDengine要求每个表第一列是时间戳列,后边是普通字段,最后
|
|||||||
|
|
||||||
### 插件如何确定各列的数据类型?
|
### 插件如何确定各列的数据类型?
|
||||||
|
|
||||||
抽样收到的第一批数据自动推断各列的类型。schema是从数据来的,因此要保障“好的”数据占大多数。
|
根据收到的第一批数据自动推断各列的类型。
|
@ -41,7 +41,7 @@ public class JDBCBatchWriter {
|
|||||||
private long sucCount = 0;
|
private long sucCount = 0;
|
||||||
private final int tsColIndex;
|
private final int tsColIndex;
|
||||||
private List<String> fieldList;
|
private List<String> fieldList;
|
||||||
// 每个record至少应该包含的列数,用于检测数据
|
// 每个record至少应该包含的列数,用于校验数据
|
||||||
private int minColNum = 0;
|
private int minColNum = 0;
|
||||||
private Map<String, Integer> fieldIndexMap;
|
private Map<String, Integer> fieldIndexMap;
|
||||||
private List<Column.Type> fieldTypes = null;
|
private List<Column.Type> fieldTypes = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user