[
https://issues.apache.org/jira/browse/CASSANDRA-12521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Philip Thompson resolved CASSANDRA-12521.
-----------------------------------------
Resolution: Duplicate
> dtest failure in
> upgrade_tests.cql_tests.TestCQLNodes2RF1_Upgrade_current_3_x_To_indev_3_x.select_with_alias_test
> -----------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-12521
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12521
> Project: Cassandra
> Issue Type: Test
> Reporter: Sean McCarthy
> Assignee: DS Test Eng
> 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/30/testReport/upgrade_tests.cql_tests/TestCQLNodes2RF1_Upgrade_current_3_x_To_indev_3_x/select_with_alias_test
> {code}
> Error Message
> 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}
> {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
> 3189, 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)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)