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

Maxwell Guo edited comment on CASSANDRA-18920 at 10/11/23 3:55 AM:
-------------------------------------------------------------------

Hello, [~lapsuscalami], I want to know wether this ticket is to replace the 
original -l option to support the output of josnl per partition, right ? if so, 
I think we can just add a flag which is false by default. if the flag is  false 
, the output is the original  output , if true , the output is what you 
describe above. 
In this way I think we can keep forward compatible


was (Author: maxwellguo):
Hello, [~lapsuscalami], I want to know wether this ticket is to replace the 
original -l option to support the output of josnl per partition, right ? if so, 
I think we can just add a flag (true / false ) when using the original -l 
option ,if false , the output is the original  output , if true , the output is 
what you describe above. 

> Add jsonl support to sstabledump
> --------------------------------
>
>                 Key: CASSANDRA-18920
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18920
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Legacy/Tools
>            Reporter: Geoff Lay
>            Assignee: Geoff Lay
>            Priority: Low
>             Fix For: 5.x
>
>
> Add a new option to sstabledump to allow the generation of jsonl format.
> The -l option for sstabledump does not produce valid jsonl.
> [https://jsonlines.org/validator/]
> Valid jsonl removes whitespace, including newlines, to make the format 
> compact.  
> By adding an option to generate valid jsonl, jsonl can be generated that is 
> smaller.
> Smaller output is better for execution time, storage, and transport. 
> jsonl also allows the splitting of a file for processing at a known good line 
> for processing without parsing the file, as each row is a line.
>  



--
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