You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "xiaozhihong (Jira)" <ji...@apache.org> on 2022/03/02 06:30:00 UTC

[jira] [Created] (IOTDB-2646) Importing a CSV file through -batch, the accumulated value of multiple count data points in the CLI does not match it

xiaozhihong created IOTDB-2646:
----------------------------------

             Summary: Importing a CSV file through -batch, the accumulated value of multiple count data points in the CLI does not match it
                 Key: IOTDB-2646
                 URL: https://issues.apache.org/jira/browse/IOTDB-2646
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Tools/Others
    Affects Versions: 0.12.5-SNAPSHOT
            Reporter: xiaozhihong
         Attachments: image-2022-03-02-14-29-13-317.png

After importing the CSV file by using the -batch value parameter, entering the CLI, query the count data points multiple times, and find that the data points are not inserted in batches according to the -batch value.
step 1: start server, import csv file
bigdata.csv about 2.7G
{code:java}
./import-csv.sh -h 127.0.0.1 -p 6667 -u root -pw root -f ./bigdata.csv -batch 1000000 {code}
Step 2: Enter CLI, execute query
{code:java}
select count(s_0) from root.data.g_0.d_0 {code}
Then like this:
!image-2022-03-02-14-29-13-317.png!

 

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)