GitHub user jbojar opened a pull request: https://github.com/apache/cassandra/pull/29
Support for null valued columns in hadoop cql3 CqlRecordWriter. With this patch you can insert/update null values to cql3 table in hadoop job. Usage: ```java CqlConfigHelper.setOutputCql(job.getConfiguration(), "UPDATE outputTableName"); job.getConfiguration().setStrings("cassandra.output.cqlColumns", new String[] {"column1", "column2", ...}); ``` There is also an option ```cassandra.output.skipNullColumns```. When it is set to ```true```, null valued columns are not inserted into table (they are simply skipped). WARNING: This patch is not fully compatible with original version, because columns are no longer specified in CQL statement, but they must be specified in separate parameter ```cassandra.output.cqlColumns```. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jbojar/cassandra cassandra-1.2-null-valued-cols Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cassandra/pull/29.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #29 ---- commit c0f6898f622aa135cc156c832ac680b5e205c2bb Author: Jaroslaw Bojar <jarek.bo...@gmail.com> Date: 2014-03-01T01:06:45Z Support for null valued columns in hadoop cql3 CqlRecordWriter. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---