cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ed Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9494) Need to set TTL with COPY command
Date Wed, 27 May 2015 23:06:17 GMT

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

Ed Chen commented on CASSANDRA-9494:
------------------------------------

In http://docs.datastax.com/en/cql/3.1/cql/cql_reference/copy_r.html, I don't see such "USING
TTL" clause in COPY command Synopsis. Is there any reference available?

> Need to set TTL with COPY command
> ---------------------------------
>
>                 Key: CASSANDRA-9494
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9494
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API
>            Reporter: Ed Chen
>              Labels: cqlsh
>             Fix For: 2.0.x, 2.2.x
>
>
> I can import a chunk of data into Cassandra table with COPY command like:
> COPY my_table (name, address) FROM my_file.csv WITH option='value' ... ;
> But I am not able to specify a finite TTL in COPY command with "USING TTL 3600", for
example. 



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

Mime
View raw message