我有两个具有相同架构的表(t4,t5),从 t4 导出的 csv 文件无法导入到 t5
taos> describe t4;
Field | Type | Length | Note |
=================================================================================
ts | TIMESTAMP | 8 | |
c1 | INT | 4 | |
c2 | FLOAT | 4 | |
c3 | INT | 4 | |
c4 | INT | 4 | |
Query OK, 5 row(s) in set (0.000233s)
taos> describe t5;
Field | Type | Length | Note |
=================================================================================
ts | TIMESTAMP | 8 | |
c1 | INT | 4 | |
c2 | FLOAT | 4 | |
c3 | INT | 4 | |
c4 | INT | 4 | |
Query OK, 5 row(s) in set (0.000540s)
taos> select * from t4 >> test.csv;
Query OK, 2000000 row(s) in set (4.302214s)
taos> insert into t5 file 'test.csv';
DB error: Syntax error in SQL (0.000301s)
我查了文档,我的SQL语法没有问题,为什么csv文件不能导入?