cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anuja Mandlecha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6538) Provide a read-time CQL function to display the data size of columns and rows
Date Tue, 10 Feb 2015 13:38:12 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14314180#comment-14314180
] 

Anuja Mandlecha commented on CASSANDRA-6538:
--------------------------------------------

I am taking a step back and reuploading the patch. Now I am considering everything as BLOB(bytebuffer)
and the sizeOf() calculates the size for all data types(including standard data types like
int,float).
But on a second thought I think calculating size of data types like integers, floats etc is
of no use since they are fixed and the sizeOf() should only calculate the size for variable
length data types like text,BLOB and collection types. Let me know your views and comments
on the same.

> Provide a read-time CQL function to display the data size of columns and rows
> -----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6538
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6538
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Johnny Miller
>            Priority: Minor
>              Labels: cql
>         Attachments: 6538.patch
>
>
> It would be extremely useful to be able to work out the size of rows and columns via
CQL. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message