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 
             
        } VALUES (?o) {
          ("a") ("b") 
        }
      

      over data

      <http://s1> <http://p> "a" .
      <http://s2> <http://p> "b" .
      

      Works just fine. However, when nesting the query into a subquery include, it fails:

      select * with
      {
        select * where {
      
          ?s <http://p> ?o 
             
        } VALUES (?o) {
          ("a") ("b") 
        }
      } AS %sub1
      where {
        INCLUDE %sub1 
      }
      

      The problem seems to be improper IV resolution for the literals:

                  com.bigdata.bop.join.HashIndexOp[3](JVMDistinctBindingSetsOp[1])[ BOp.bopId=3, BOp.evaluationContext=CONTROLLER, PipelineOp.maxParallel=1, PipelineOp.lastPass=true, PipelineOp.sharedState=true, JoinAnnotations.joinType=Normal, HashJoinAnnotations.joinVars=[], bindingSets=[{ o=TermId(0L)[a] }, { o=TermId(0L)[b] }], HashJoinAnnotations.outputDistinctJVs=true, JoinAnnotations.constraints=null, HashJoinAnnotations.askVar=null, HashIndexOpBase.utilFactory=com.bigdata.bop.join.JVMHashJoinUtility$1@43b40fff, namedSetRef=NamedSolutionSetRef{localName=--values-2,queryId=fe907660-bfd1-47c4-a0c9-e9d88499c0fe,joinVars=[]}, IPredicate.relationName=[regressioniv.lex]]
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: