Skip to content

Doesn't work at all since dynamic columns aren't allowed #3

@stevebingsoo

Description

@stevebingsoo

This module doesn't work at all because it's trying to use CQL to create dynamic columns. That's not supported in CQL.

When storing session data, the module tries to issue a CQL query like this:

update connect_session USING TTL 10 set 'BC6ZtsonjA9NlI5utFe3xfzQ' = ? where key = 'SESSIONS'

This causes a helenus exception like this:

HelenusInvalidRequestException: line 1:40 no viable alternative at input 'BC6ZtsonjA9NlI5utFe3xfzQ'

The connect_sessions column family that this module defines only has one column, named 'key'. Unless you use thrift, cassandra will not let you dynamically add new columns to a column family. In this case, the module tries to add new columns where the column name is the session id.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions