You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "YuJue Li (Jira)" <ji...@apache.org> on 2020/04/01 13:40:00 UTC

[jira] [Updated] (IGNITE-12852) Comma in field is not supported by COPY command

     [ https://issues.apache.org/jira/browse/IGNITE-12852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

YuJue Li updated IGNITE-12852:
------------------------------
    Attachment: image-2020-04-01-21-39-20-055.png

> Comma in field is not supported by COPY command
> -----------------------------------------------
>
>                 Key: IGNITE-12852
>                 URL: https://issues.apache.org/jira/browse/IGNITE-12852
>             Project: Ignite
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 2.8
>            Reporter: YuJue Li
>            Priority: Critical
>             Fix For: 2.8.1
>
>         Attachments: image-2020-04-01-21-39-20-055.png, image-2020-04-01-21-39-43-371.png
>
>
> CREATE TABLE test(a int,b varchar(100),c int,PRIMARY key(a)); 
>  
> a.csv: 
> 1,"a,b",2 
>  
> COPY FROM '/data/a.csv' INTO test (a,b,c) FORMAT CSV; 
>  
> The copy command fails because there is a comma in the second field,but this is a fully legal and compliant CSV format



--
This message was sent by Atlassian Jira
(v8.3.4#803005)