I would recommend you to file a ticket here https://issues.apache.org/jira/browse/CASSANDRA

-M

On 1/4/14, 15:20, Joe Stein wrote:
Hi, trying to use a tab delimiter when copying out of c* (2.0.4) and
getting an error

cqlsh:test> CREATE TABLE airplanes (
            ...   name text PRIMARY KEY,
            ...   manufacturer ascii,
            ...   year int,
            ...   mach float
            ... );
cqlsh:bombast> INSERT INTO airplanes   (name, manufacturer, year,
mach)   VALUES ('P38-Lightning', 'Lockheed', 1937, 7);
cqlsh:bombast> COPY airplanes (name, manufacturer, year, mach) TO
'temp.tsv' WITH DELIMITER = '\t';
"delimiter" must be an 1-character string

any ideas how to use tabs as a delimiter?  Thanks!!!!

/*******************************************
  Joe Stein
  Founder, Principal Consultant
  Big Data Open Source Security LLC
http://www.stealth.ly
  Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
********************************************/

Reply via email to