[
https://issues.apache.org/jira/browse/CASSANDRA-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029971#comment-13029971
]
Pavel Yaskevich commented on CASSANDRA-2613:
--------------------------------------------
I have just fetched a fresh cassandra-0.8 branch and there is no support for
BATCH with multiple statements (and no test for it, of course) it should be
only in trunk right now CASSANDRA-2537, what branch have you been using to run
tests?
> CQL test failures
> -----------------
>
> Key: CASSANDRA-2613
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2613
> Project: Cassandra
> Issue Type: Bug
> Components: API
> Affects Versions: 0.8.0
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Critical
> Fix For: 0.8.0
>
>
> {noformat}
> ======================================================================
> ERROR: handle BATCH with INSERT/UPDATE/DELETE statements mixed in it
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/local/lib/python2.6/dist-packages/nose/case.py", line 187, in
> runTest
> self.test(*self.arg)
> File "/var/lib/jenkins/jobs/Cassandra/workspace/test/system/test_cql.py",
> line 764, in test_batch_with_mixed_statements
> assert colnames[1] == "bCol2", \
> IndexError: list index out of range
> ======================================================================
> FAIL: delete columns from a row
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/local/lib/python2.6/dist-packages/nose/case.py", line 187, in
> runTest
> self.test(*self.arg)
> File "/var/lib/jenkins/jobs/Cassandra/workspace/test/system/test_cql.py",
> line 353, in test_delete_columns
> assert ['kd', None, None] == r, r
> AssertionError: [u'kd']
> ======================================================================
> FAIL: delete columns from multiple rows
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/local/lib/python2.6/dist-packages/nose/case.py", line 187, in
> runTest
> self.test(*self.arg)
> File "/var/lib/jenkins/jobs/Cassandra/workspace/test/system/test_cql.py",
> line 372, in test_delete_columns_multi_rows
> assert ['kc', None] == r, r
> AssertionError: [u'kc']
> ======================================================================
> FAIL: delete entire rows
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/local/lib/python2.6/dist-packages/nose/case.py", line 187, in
> runTest
> self.test(*self.arg)
> File "/var/lib/jenkins/jobs/Cassandra/workspace/test/system/test_cql.py",
> line 390, in test_delete_rows
> assert ['kd', None, None] == r, r
> AssertionError: [u'kd']
> ======================================================================
> FAIL: retrieve multiple columns
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/local/lib/python2.6/dist-packages/nose/case.py", line 187, in
> runTest
> self.test(*self.arg)
> File "/var/lib/jenkins/jobs/Cassandra/workspace/test/system/test_cql.py",
> line 149, in test_select_columns
> assert ['Row Key', 'ca1', 'col', 'cd1'] == [col_dscptn[0] for col_dscptn
> in d], d
> AssertionError: [('Row Key', 'org.apache.cassandra.db.marshal.UTF8Type',
> None, None, None, None, None, False), ('col',
> 'org.apache.cassandra.db.marshal.AsciiType', None, None, None, None, True),
> ('cd1', 'org.apache.cassandra.db.marshal.AsciiType', None, None, None, None,
> True)]
> ======================================================================
> FAIL: range should not fail when keys were not set
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/local/lib/python2.6/dist-packages/nose/case.py", line 187, in
> runTest
> self.test(*self.arg)
> File "/var/lib/jenkins/jobs/Cassandra/workspace/test/system/test_cql.py",
> line 252, in test_select_range_with_single_column_results
> assert len(r) == 2
> AssertionError
> {noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira