Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-1010

DAWG sparql11-subquery-05 fails in scale-out

    XMLWordPrintable

    Details

      Description

      This appears to be a new failure (a regression since 1.3.0). I am wondering if it goes back to some recent changes to the handling of UNION.

      junit.framework.AssertionFailedError: 
      http://www.w3.org/2001/sw/DataAccess/tests/data-r2/syntax-sparql1/manifest#sparql11-subquery-05
      "sparql11-subquery-05"
      ===================================
      Missing bindings: 
      [s=http://example.org/a0;p=http://example.org/p0;o="a0+p0"]
      [s=http://example.org/a0;p=http://example.org/p1;o="a0+p1"]
      [s=http://example.org/a0]
      ===========================================================
      Unexpected bindings: 
      [s=http://example.org/a1]
      [s=http://example.org/a1;p=http://example.org/p2;o="a1+p2"]
      ===========================================================
      
      queryString
      SELECT * 
      WHERE { 
          {
      	  SELECT ?s 
      	  WHERE {?s ?p ?o}
      	  LIMIT 1 
          }
          {?s ?p ?o} 
          UNION 
          {} 
      }
      
      parseTree
      QueryContainer
       SelectQuery
        Select ( * )
        WhereClause
         GraphPatternGroup
          GraphPatternGroup
           SelectQuery
            Select
             ProjectionElem
              Var (s)
            WhereClause
             GraphPatternGroup
              BasicGraphPattern
               TriplesSameSubjectPath
                Var (s)
                PropertyListPath
                 Var (p)
                 ObjectList
                  Var (o)
            Limit (1)
          UnionGraphPattern
           GraphPatternGroup
            BasicGraphPattern
             TriplesSameSubjectPath
              Var (s)
              PropertyListPath
               Var (p)
               ObjectList
                Var (o)
           GraphPatternGroup
      originalAST
        defaultGraphs=DataSetSummary{ngraphs=1, nknown=1, nunknown=0, graphs=[TermId(-9223372036854775808U)[file:/tmp/sparql-1.1-evaluation5799/testcases-sparql-1.1/subquery/data-04.ttl]]}
        namedGraphs=DataSetSummary{ngraphs=0, nknown=0, nunknown=0, graphs=[]}
      QueryType: SELECT
      SELECT * 
        JoinGroupNode {
          JoinGroupNode {
            QueryType: SELECT
            SELECT VarNode(s)
              JoinGroupNode {
                StatementPatternNode(VarNode(s), VarNode(p), VarNode(o)) [scope=DEFAULT_CONTEXTS]
              }
            slice(limit=1)
            
          }
          UnionNode {
            JoinGroupNode {
              StatementPatternNode(VarNode(s), VarNode(p), VarNode(o)) [scope=DEFAULT_CONTEXTS]
            }
            JoinGroupNode {
            }
          }
        }
      ===================================
      database dump:
      <http://example.org/a1, http://example.org/p2, "a1+p2", file:/tmp/sparql-1.1-evaluation5799/testcases-sparql-1.1/subquery/data-04.ttl> : Explicit
      <http://example.org/a0, http://example.org/p1, "a0+p1", file:/tmp/sparql-1.1-evaluation5799/testcases-sparql-1.1/subquery/data-04.ttl> : Explicit
      <http://example.org/a0, http://example.org/p0, "a0+p0", file:/tmp/sparql-1.1-evaluation5799/testcases-sparql-1.1/subquery/data-04.ttl> : Explicit
      
      ===================================
      actual results:
      [s=http://example.org/a1]
      [s=http://example.org/a1;p=http://example.org/p2;o="a1+p2"]
      
      ===================================
      expected results:
      [s=http://example.org/a0;p=http://example.org/p0;o="a0+p0"]
      [s=http://example.org/a0;p=http://example.org/p1;o="a0+p1"]
      [s=http://example.org/a0]
      
      	at junit.framework.Assert.fail(Assert.java:47)
      	at org.openrdf.query.parser.sparql.SPARQLQueryTest.compareTupleQueryResults(SPARQLQueryTest.java:385)
      	at org.openrdf.query.parser.sparql.SPARQLASTQueryTest.runTest(SPARQLASTQueryTest.java:196)
      	at com.bigdata.rdf.sail.tck.BigdataFederationSparqlTest.runTest(BigdataFederationSparqlTest.java:202)
      	at junit.framework.TestCase.runBare(TestCase.java:127)
      	at junit.framework.TestResult$1.protect(TestResult.java:106)
      	at junit.framework.TestResult.runProtected(TestResult.java:124)
      	at junit.framework.TestResult.run(TestResult.java:109)
      	at junit.framework.TestCase.run(TestCase.java:118)
      	at junit.framework.TestSuite.runTest(TestSuite.java:208)
      	at junit.framework.TestSuite.run(TestSuite.java:203)
      	at junit.framework.TestSuite.runTest(TestSuite.java:208)
      	at junit.framework.TestSuite.run(TestSuite.java:203)
      	at junit.framework.TestSuite.runTest(TestSuite.java:208)
      	at junit.framework.TestSuite.run(TestSuite.java:203)
      	at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:131)
      	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
      

        Attachments

          Activity

            People

            Assignee:
            mrpersonick mrpersonick
            Reporter:
            bryanthompson bryanthompson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: