Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-2308

tdb2.tdbloader cannot read from stdin when graph is specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 4.4.0
    • Jena 4.5.0
    • TDB2
    • None
    • Mac OS X 12.2.1

      apache jena 4.4.0

      loading turtle file

    Description

      When specifying a graph in tdb2.tdbloader command line, the data cannot be read from stdin anymore : 

      $ 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
      

      Expected behaviour : both command should load the data.
       

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              serasset Gilles Sérasset
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: