Skip to content

can not change column type dynamically #1186

@gengjun123

Description

@gengjun123

Please answer these questions before submitting your issue. Thanks!

What version of Cassandra are you using?

Cassandra 3.7

What version of Gocql are you using?

the commit is ca7d339

What did you do?

I delete a column whose type is double, and add a new column with the same name but the type is int. After that, I got lots of error(can not marshal int64 into double) when insert. Then, I restart my application, and the result is ok. I think the cause is statment prepare int the lru cache. But is there approach to support change the column type dynamically without restarting my application. My application is a store middleware.

What did you expect to see?

change the column type dynamically which out restart the application.

What did you see instead?

error: can not marshal int64 into double

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions