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

Andy Seaborne commented on JENA-2181:
-------------------------------------

This is discussed on PR [https://github.com/apache/jena/pull/1089] about a 
possible change.

To the point above: consider the end users. Just including some functionality 
is not the issue here.

It is not automatic they can add a dependency.

They may not be programmers.
 They may be using a built system like Fuseki.

And if they are programmers using Jena as a library, they can _already_ parse 
zstd compressed NQ files.
{code:java}
        InputStream input =  new ZstdCompressorInputStream(....);
        RDFParser.source(input).lang(Lang.NQ).parse(graph);
{code}
>From the command line:
{code:java}
    zstd -d < FILE.nq.zst | riot --syntax NQ ...
{code}

> Support zstd compression for nq files
> -------------------------------------
>
>                 Key: JENA-2181
>                 URL: https://issues.apache.org/jira/browse/JENA-2181
>             Project: Apache Jena
>          Issue Type: Improvement
>            Reporter: Ioan Eugen Stan
>            Priority: Minor
>
> Hello, 
> New compression algorightms appear and some bring in benefits. 
>  ZSTD seems to provide very good compression ratio and also supports fast 
> compress/decompress. 
> It would be great to support this additional format for NQ files alongside 
> veteran gzip. 
> Extension would be zst.
>  
> Related work that hints at zstd benefits: 
> https://issues.apache.org/jira/browse/LUCENE-8739 
> Thanks,
> Eugen
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to