[ 
https://issues.apache.org/jira/browse/CASSANDRA-8935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15025992#comment-15025992
 ] 

Michael Edge edited comment on CASSANDRA-8935 at 11/25/15 2:05 AM:
-------------------------------------------------------------------

Patches attached for v2.1, 2.2 and 3.0.

Output will be as follows:
{code}
cqlsh:cats> copy cats from 'cats.csv' ;

Starting copy of cats.cats with columns ['block_id', 'breed', 'color', 
'short_hair', 'age'].

7 rows imported in 0.338 seconds.
{code}



was (Author: michaeledge):
Patches attached for v2.1, 2.2 and 3.0

> cqlsh: Make the column order in COPY FROM more apparent
> -------------------------------------------------------
>
>                 Key: CASSANDRA-8935
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8935
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Tyler Hobbs
>            Assignee: Michael Edge
>            Priority: Trivial
>              Labels: cqlsh, tools
>             Fix For: 2.1.x
>
>         Attachments: CASSANDRA-2.1-8935-CQLSH-COPY-FROM.patch, 
> CASSANDRA-2.2-8935-CQLSH-COPY-FROM.patch, 
> CASSANDRA-3.0-8935-CQLSH-COPY-FROM.patch
>
>
> When running {{COPY FROM}}, we should print the order of columns that we're 
> expecting to make it more obvious when the data is not properly aligned.  
> Otherwise, the user will simply see a type or syntax error and have to try to 
> decipher it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to