You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (Jira)" <ji...@apache.org> on 2021/12/27 11:28:00 UTC
[jira] [Updated] (JENA-2225) TDB/TDB2 dataset size stat serialized incorrectly for large datasets
[ https://issues.apache.org/jira/browse/JENA-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne updated JENA-2225:
--------------------------------
Summary: TDB/TDB2 dataset size stat serialized incorrectly for large datasets (was: TDB/TDB2 dataset size stat serialized inccorrectly for large datasets)
> TDB/TDB2 dataset size stat serialized incorrectly for large datasets
> --------------------------------------------------------------------
>
> Key: JENA-2225
> URL: https://issues.apache.org/jira/browse/JENA-2225
> Project: Apache Jena
> Issue Type: Bug
> Components: TDB, TDB2
> Affects Versions: Jena 4.3.1
> Reporter: Lorenz Bühmann
> Priority: Minor
>
> When computing the TDB/TDB2 stats via CLI the size will be serialized incorrectly for large datasets.
> For example for latest Wikidata Truthy we get
> {noformat}
> (count -1983667112)){noformat}
> This happens because for both the corresponding `Stats.java` class does enforce an Integer type Node though the value is a long type:
> {code:java}
> if ( count >= 0 )
> addPair(meta.getList(), StatsMatcher.COUNT, NodeFactoryExtra.intToNode((int)count)) ; {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)