You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Philip Thompson (JIRA)" <ji...@apache.org> on 2016/07/21 16:08:20 UTC

[jira] [Commented] (CASSANDRA-12124) dtest failure in upgrade_tests.cql_tests.TestCQLNodes2RF1_Upgrade_next_2_1_x_To_head_trunk.select_with_alias_test

    [ https://issues.apache.org/jira/browse/CASSANDRA-12124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15387957#comment-15387957 ] 

Philip Thompson commented on CASSANDRA-12124:
---------------------------------------------

Turns out I'm wrong. It appears that CASSANDRA-10783 broke this test. We're expecting
{{SELECT id AS user_id, name AS user_name FROM users WHERE user_id = 0'}} 
on the table
{{CREATE TABLE users (id int PRIMARY KEY, name text)}}

to get the error {{Aliases aren't allowed in the where clause}}, but in 3.8+, we're now seeing {{Undefined column name user_id}}.
[~slebresne], is this an expected change from your patch?

> dtest failure in upgrade_tests.cql_tests.TestCQLNodes2RF1_Upgrade_next_2_1_x_To_head_trunk.select_with_alias_test
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12124
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12124
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Philip Thompson
>            Assignee: DS Test Eng
>              Labels: dtest
>
> example failure:
> http://cassci.datastax.com/job/upgrade_tests-all-custom_branch_runs/37/testReport/upgrade_tests.cql_tests/TestCQLNodes2RF1_Upgrade_next_2_1_x_To_head_trunk/select_with_alias_test
> Failed on CassCI build upgrade_tests-all-custom_branch_runs #37
> This is just a problem with different error messages across C* versions. Someone needs to do the legwork of figuring out what is required where, and filtering. The query is failing correctly.



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