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

Stefan Miklosovic edited comment on CASSANDRA-18639 at 7/7/23 2:41 PM:
-----------------------------------------------------------------------

Frankly speaking, I think we are over-thinking this. Sure, Yaml, JSON, why not, 
we can add that, but we would need to completely rework how this tool prints 
it. I mean ... complete overhaul. We would probably need to serialize 
StatsMetadata and what about other statistics anyway?

Additionally, I need to meet just one person for who a change of the output 
like suggested here (going to be introduced in {_}major{_}) is a problem. Is 
not this really some kind of an urban story we are following blindly just 
because .... ? 


was (Author: smiklosovic):
Frankly speaking, I think we are over-thinking this. Sure, Yaml, JSON, why not, 
we can add that, but we would need to completely rework how this tool prints 
it. I mean ... complete overhaul. We would probably need to serialize 
StatsMetadata and what about other statistics anyway?

Additionally, I need to meet just one person for which a change of the output 
like suggested here (going to be introduced in {_}major{_}) is a problem. Is 
not this really some kind of an urban story we are following blindly just 
because .... ? 

> Add duration and partition key count to sstablemetadata
> -------------------------------------------------------
>
>                 Key: CASSANDRA-18639
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18639
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tool/sstable
>            Reporter: Timothy Tu
>            Assignee: Timothy Tu
>            Priority: Normal
>             Fix For: 5.x
>
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> The new additions will output metadata information for:
>  * Partition Key Count
>  * Duration
> Partition key count is the total number of partitions in the sstable..
> For Time Window Compaction (TWC), the min and max timestamps together with 
> duration describe the bounds of the time window in the table.
> {quote}{{Total partitions: 2430}}
> {{Total rows: 8000}}
> {{Total column set: 100000}}
> {{...}}
> {{Min Timestamp: 06/28/2023 15:15:04 (1688067443651650)}}
> {{Max Timestamp: 06/28/2023 15:15:58 (1688067500268865)}}
> {{Duration Days: 0 Hours: 0 Minutes: 0 Seconds: 53}}
> {quote}
> The online docs in sstablemetadata.adoc will need to be updated as well.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to