Skip to content

No decoder for type id 6 #52

@prathamesh-ytel

Description

@prathamesh-ytel

Hi,
I am getting error "cassandra/buffer/init.lua:151: No decoder for type id 6" while running SELECT query (I am using plain Lua).
When I did some trials with combination of selected columns I found the problem occurs when I am selecting columns with "decimal" type.
I looked into the source code I found in file "cassandra/buffer/init.lua" line number 56, you have commented the "decimal 0x06". (Which I suppose is your future implementation plan).
As the cql decimal is "Variable-precision decimal", I tried out by putting [cql_types.decimal] = "float" or [cql_types.decimal] = "int" but ended up getting 0.
The Insert query is working (not sure this info helps).
Could you please comment on this and fix the issue?

P.S: Thanks for this great library. Awesome work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions