Gilles Sérasset created JENA-2308: ------------------------------------- Summary: 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 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)