[
https://issues.apache.org/jira/browse/CASSANDRA-11704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sylvain Lebresne resolved CASSANDRA-11704.
------------------------------------------
Resolution: Duplicate
> len() function to retrieve the serialized size of a column / cell
> -----------------------------------------------------------------
>
> Key: CASSANDRA-11704
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11704
> Project: Cassandra
> Issue Type: New Feature
> Reporter: Robert Stupp
> Assignee: Robert Stupp
> Priority: Minor
> Fix For: 3.x
>
>
> Sometimes it's helpful to select the serialized size of a column/cell for
> debugging purposes.
> Having a function like {{len(x)}} that accepts every type and just returns
> the serialized size would be helpful and is more readable than pages of raw
> text or even blob output in cqlsh.
> Such a function could take a whole column and also individual elements of
> non-frozen collections.
> With such a function, one can build a UDA that produces a histogram over
> multiple CQL rows. But that's just an add-on that people can build (not
> considered for this ticket).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)