[
https://issues.apache.org/jira/browse/CASSANDRA-5622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13685781#comment-13685781
]
Alex Liu commented on CASSANDRA-5622:
-------------------------------------
[~jbellis] I attach the version 2 patches which throws
{code}
IOException("INSERT statement is depreciated and not supported, please use
UPDATE/DELETE statement.");
{code}
if the INSERT type query is used for writter.
> Update CqlRecordWriter to conform to RecordWriter API
> -----------------------------------------------------
>
> Key: CASSANDRA-5622
> URL: https://issues.apache.org/jira/browse/CASSANDRA-5622
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.2.6
> Reporter: Jonathan Ellis
> Assignee: Alex Liu
> Fix For: 1.2.6
>
> Attachments: 5622-1-1.2-branch.txt, 5622-1-trunk.txt,
> 5622-2-1.2-branch.txt, 5622-2-trunk-branch.txt
>
>
> {{RecordWriter<K, V>}} is supposed to write values V that can be uniquely
> identified by keys K.
> Currently CqlRW requires the user to give it all the bind variables for a
> complete statement in V, and effectively ignores K.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira