You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "vishnu prasad (JIRA)" <ji...@apache.org> on 2017/02/27 10:33:45 UTC

[jira] [Commented] (CASSANDRA-13141) test failure in cql_tests.MiscellaneousCQLTester.prepared_statement_invalidation_test

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

vishnu prasad commented on CASSANDRA-13141:
-------------------------------------------

I am getting error when i try to alter a column from time type to timeuuid as follows:
InvalidRequest: Error from server: code=2200 [Invalid query] message="Altering of types is not allowed"\

existing structure:
CREATE TABLE products.streaminginfo (
    userid text,
    transtime time,
    appid text,
    clientip inet,
    gatewayip inet,
    geolocation map<text, text>,
    processtime timeuuid,
    serverip inet,
    sessionid text,
    url text,
    PRIMARY KEY (userid, transtime)
) ;

Command issued is :
alter table products.streaminginfo ALTER transtime TYPE timeuuid;

> test failure in cql_tests.MiscellaneousCQLTester.prepared_statement_invalidation_test
> -------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-13141
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13141
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Sean McCarthy
>              Labels: dtest, test-failure
>         Attachments: node1_debug.log, node1_gc.log, node1.log
>
>
> example failure:
> http://cassci.datastax.com/job/trunk_dtest/1471/testReport/cql_tests/MiscellaneousCQLTester/prepared_statement_invalidation_test
> {code}
> Error Message
> Error from server: code=2200 [Invalid query] message="Altering of types is not allowed"
> {code}{code}
> Stacktrace
>   File "/usr/lib/python2.7/unittest/case.py", line 329, in run
>     testMethod()
>   File "/home/automaton/cassandra-dtest/cql_tests.py", line 633, in prepared_statement_invalidation_test
>     session.execute("ALTER TABLE test ALTER d TYPE blob")
>   File "/home/automaton/src/cassandra-driver/cassandra/cluster.py", line 1998, in execute
>     return self.execute_async(query, parameters, trace, custom_payload, timeout, execution_profile, paging_state).result()
>   File "/home/automaton/src/cassandra-driver/cassandra/cluster.py", line 3784, in result
>     raise self._final_exception
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)