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