Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-4547

[cluster]Import CSV file to report 400

    XMLWordPrintableJSON

Details

    • 2022-9-Cluster

    Description

      commit e5cc456a6732ddee0e8129f29a85c7f3d30ccddd

      Start 3C3D, Import a CSV file that does not contain data types, and then report a 400 error.

      [xzh@i-kg9g1xqu tools]$ ./import-csv.sh -h 172.20.31.3 -p 6667 -u root -pw root -f /home/xzh/data/xzh/csv-data/no_datatype.csv
      ------------------------------------------
      Starting IoTDB Client Import Script
      ------------------------------------------
      Meet error when insert csv because 400: [EXECUTE_STATEMENT_ERROR(400)] Exception occurred: insertRecords failed. Index 0 out of bounds for length 0
      Import completely! 

      csv file please see attachment

      Attachments

        1. no_datatype.csv
          0.4 kB
          xiaozhihong
        2. log_all.log
          276 kB
          xiaozhihong
        3. image-2022-10-20-18-18-58-336.png
          9 kB
          xiaozhihong

        Issue Links

          Activity

            People

              Mrquan Quan Siyi
              xiaozhihong xiaozhihong
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: