Hi,

It should work, could you attach the error you met?

Thanks,
--
Jialin Qiao
School of Software, Tsinghua University

乔嘉林
清华大学 软件学院

> -----原始邮件-----
&gt; 发件人: "Dhruv Garg" <[email protected]>
&gt; 发送时间: 2021-03-18 16:08:13 (星期四)
&gt; 收件人: [email protected]
&gt; 抄送: 
&gt; 主题: Parallel writes from CSV into IoTDB
&gt; 
&gt; Hello all,
&gt; 
&gt; I have a few CSV files to write to IoTDB and I am using importCsvFromFile()
&gt; from ImportCsv class. I am able to create a connection to IoTDB using the
&gt; jdbc client and the data ingestion using the Csv API is happening.
&gt; 
&gt; If I give the csv files sequentially, it works well. However, I wanted to
&gt; see if I can insert csv files parallely into IoTDB and get better speed.
&gt; Now, if I give it the same set of csv files in a thread-pool of 2 and try
&gt; parallel inserts, it throws an error. I also tried giving both threads a
&gt; separate IoTDB client connection, but got the same result.
&gt; 
&gt; It would be helpful if someone can comment on this. Do let me know if there
&gt; is another API to be used or if this functionality is not supported at all.
&gt; 
&gt; Regards,
&gt; dgargcs
</[email protected]>

Reply via email to