You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/03/13 15:02:00 UTC
[jira] [Commented] (JENA-2308) tdb2.tdbloader cannot read from stdin when graph is specified
[ https://issues.apache.org/jira/browse/JENA-2308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17505841#comment-17505841 ]
ASF subversion and git services commented on JENA-2308:
-------------------------------------------------------
Commit fd98950111440ab5e119dce4d985e504388d6db9 in jena's branch refs/heads/main from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=fd98950 ]
Merge pull request #1223 from afs/tdbloader-graph
JENA-2308: Load triples from stdin into a named graph
> tdb2.tdbloader cannot read from stdin when graph is specified
> -------------------------------------------------------------
>
> Key: JENA-2308
> URL: https://issues.apache.org/jira/browse/JENA-2308
> Project: Apache Jena
> Issue Type: Bug
> Components: TDB2
> Affects Versions: Jena 4.4.0
> Environment: Mac OS X 12.2.1
> apache jena 4.4.0
> loading turtle file
> Reporter: Gilles Sérasset
> Priority: Major
>
> When specifying a graph in tdb2.tdbloader command line, the data cannot be read from stdin anymore :
> {code:sh}
> $ cat it_dbnary_ontolex.ttl | tdb2.tdbloader --loc DB2 --syntax Turtle
> 18:03:45 INFO loader :: Loader = LoaderPhased
> 18:03:55 INFO loader :: Finish - index SPO
> 18:03:55 INFO loader :: Start replay index SPO
> 18:03:55 INFO loader :: Index set: SPO => SPO->POS, SPO->OSP
> 18:03:55 INFO loader :: Add: 1,000,000 Index (Batch: 10,101,010 / Avg: 10,101,010)
> 18:03:56 INFO loader :: Add: 2,000,000 Index (Batch: 782,472 / Avg: 1,452,432)
> 18:03:57 INFO loader :: Index set: SPO => SPO->POS, SPO->OSP [2,371,919 items, 2.2 seconds]
> 18:03:58 INFO loader :: Finish - index OSP
> 18:03:59 INFO loader :: Finish - index POS
> 18:03:59 INFO loader :: Time = 13.153 seconds : Triples = 2,371,919 : Rate = 180,333 /s
> $ cat it_dbnary_ontolex.ttl | tdb2.tdbloader --loc DB2 --syntax Turtle --graph \#g1
> 18:03:38 INFO loader :: Loader = LoaderPhased
> 18:03:38 INFO loader :: No files to load
> {code}
> Expected behaviour : both command should load the data.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)