[ 
https://issues.apache.org/jira/browse/CASSANDRA-12482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philip Thompson updated CASSANDRA-12482:
----------------------------------------
    Reviewer: Jim Witschey
      Status: Patch Available  (was: In Progress)

https://github.com/riptano/cassandra-dtest/pull/1255

> dtest failure in 
> upgrade_tests.cql_tests.TestCQLNodes2RF1_Upgrade_current_3_x_To_indev_3_x.select_with_alias_test
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12482
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12482
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Sean McCarthy
>            Assignee: Philip Thompson
>              Labels: dtest
>         Attachments: node1.log, node1_debug.log, node1_gc.log, node2.log, 
> node2_debug.log, node2_gc.log
>
>
> example failure:
> http://cassci.datastax.com/job/trunk_dtest_upgrade/29/testReport/upgrade_tests.cql_tests/TestCQLNodes2RF1_Upgrade_current_3_x_To_indev_3_x/select_with_alias_test
> {code}
> Stacktrace
>   File "/usr/lib/python2.7/unittest/case.py", line 329, in run
>     testMethod()
>   File "/home/automaton/cassandra-dtest/upgrade_tests/cql_tests.py", line 
> 3184, in select_with_alias_test
>     assert_invalid(cursor, 'SELECT id AS user_id, name AS user_name FROM 
> users WHERE user_id = 0', matching=error_msg)
>   File "/home/automaton/cassandra-dtest/assertions.py", line 92, in 
> assert_invalid
>     assert_exception(session, query, matching=matching, expected=expected)
>   File "/home/automaton/cassandra-dtest/assertions.py", line 65, in 
> assert_exception
>     _assert_exception(session.execute, query, matching=matching, 
> expected=expected)
>   File "/home/automaton/cassandra-dtest/assertions.py", line 54, in 
> _assert_exception
>     assert_regexp_matches(str(e), matching)
>   File "/usr/lib/python2.7/unittest/case.py", line 1002, in 
> assertRegexpMatches
>     raise self.failureException(msg)
> 'Regexp didn\'t match: "Aliases aren\'t allowed in the where clause" not 
> found in \'Error from server: code=2200 [Invalid query] message="Undefined 
> column name user_id"
> {code}



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

Reply via email to