Details

    • Type: Sub-task
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: BLAZEGRAPH_2_0_0
    • Component/s: None
    • Labels:
      None

      Description

      The query

      SELECT * WHERE {
        ?s <http://p>  ?o .
        FILTER (?o IN (<http://o2>, <http://o3>) )
      }
      

      fails on running master over data

      <http://s> <http://p> <http://o1> .
      <http://s> <http://p> <http://o2> .
      

      returns no result, but should return one (note that the query works when using FILTER (?o IN (<http://o2>) ), since the query plan differs). Here's the query plan:

      com.bigdata.bop.solutions.ProjectionOp[3](PipelineJoin[2])[ BOp.bopId=3, BOp.evaluationContext=CONTROLLER, PipelineOp.sharedState=true, JoinAnnotations.select=[s, o], QueryEngine.queryId=4da17e63-7c17-4e74-8fab-b6d9e34fced0]
        com.bigdata.bop.join.PipelineJoin[2]()[ BOp.bopId=2, JoinAnnotations.constraints=[com.bigdata.rdf.internal.constraints.SPARQLConstraint(com.bigdata.rdf.internal.constraints.InHashBOp(o,TermId(0U)[http://o2],TermId(0U)[http://o3])[ InBOp.not=false])], AST2BOpBase.simpleJoin=true, BOp.evaluationContext=ANY, AccessPathJoinAnnotations.predicate=com.bigdata.rdf.spo.SPOPredicate[1](s=null, TermId(1U)[http://p], o=null)[ IPredicate.relationName=[regressioniv.spo], IPredicate.timestamp=1449997465949, BOp.bopId=1, AST2BOpBase.estimatedCardinality=2, AST2BOpBase.originalIndex=POS, IPredicate.flags=[KEYS,VALS,READONLY,PARALLEL]]]
      

      My guess is that TermId(0U)http://o2,TermId(0U)[http://o3] in the InHashBOp cause the query to fail, they should be properly resolved.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              igorkim igorkim
              Reporter:
              michaelschmidt michaelschmidt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: