You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2021/05/24 08:07:21 UTC

[GitHub] [iotdb] haimeiguo opened a new pull request #3253: fix import csv split by comma bug

haimeiguo opened a new pull request #3253:
URL: https://github.com/apache/iotdb/pull/3253


   previously when ImportCSV tool read csv files, single or double quotes are now allowed inside a string (ie ad"bcd). 
   This pr changes the csv splitting method. now it allows quotes or commas inside a string value. 
    
   csv file as following:
   time,root.fit.d6.s5,root.fit.d6.s6
   1,True,
   4,True,aapovpba=","akava'',vava=z//z'nnn
   6,True,aapovpba=','akavavava=z//z'nnn
   7,True,"aapovpba=,,,akavavava=z//z'nnn"
   
   after import csv, query result:
   ![image](https://user-images.githubusercontent.com/68632589/119316860-0c320900-bcaa-11eb-8f87-504c875202c6.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [iotdb] mychaow merged pull request #3253: fix import csv split by comma bug

Posted by GitBox <gi...@apache.org>.
mychaow merged pull request #3253:
URL: https://github.com/apache/iotdb/pull/3253


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org