You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ed Chen (JIRA)" <ji...@apache.org> on 2015/05/28 01:06:17 UTC
[jira] [Commented] (CASSANDRA-9494) Need to set TTL with COPY
command
[ 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)