I have inserted string and integer values into dynamic columns in a Cassandra Column Family. When I query for the values in CQL they are displayed as hex encoded bits.
Can I somehow tell the query to decode the value into a string or integer?
I also would be happy to do this in the CLI if that's easier. There I see you can specify assume <column_family> validator as <type>;
, but that applies to all columns and they have different types, so I have to run the assumption and query many times.
(Note that the columns are dynamic, so I haven't specified the validator when creating the column family).
assume
let me try it for you – Tamilanchor:cnnsi.com
which has type String and maybe a column likepage-views:cnnsi.com
of type long. So when I query in the cli/cql I want to decode each one appropriately. – Martin Dow