public class TestRTO_LUBM extends AbstractRTOTestCase
AbstractRTOTestCase.MyQueryListener
AbstractDataDrivenSPARQLTestCase.TestHelper, AbstractDataDrivenSPARQLTestCase.UpdateTestHelper
AbstractDataAndSPARQLTestCase.AbsHelper
TestCase2.MyProperties, TestCase2.RandomType
log
baseURI, store, valueFactory
_randomType
Constructor and Description |
---|
TestRTO_LUBM() |
TestRTO_LUBM(String name) |
Modifier and Type | Method and Description |
---|---|
Properties |
getProperties()
Reads in the configuration properties for the test from a
variety of resources and returns a properties hierarchy.
|
void |
test_LUBM_Q2()
LUBM Q2 on the U1 data set.
|
void |
test_LUBM_Q8()
LUBM Q8 on the U1 data set.
|
void |
test_LUBM_Q9()
LUBM Q9 on the U1 data set.
|
assertSameJoinOrder, assertSameJoinOrder
assertSameAST, asSet, asSet, asSet, asSet, asSet, enableDeleteMarkersInIndes, getBOpContext, getStore, makeIV, setUp, tearDown
assertSameSolutions, assertSameSolutions, assertSameSolutions, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, compareGraphs, compareTupleQueryResults, diff
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public TestRTO_LUBM()
public TestRTO_LUBM(String name)
name
- public Properties getProperties()
TestCase2
Properties
object, then the lower levels of the
hierarchy are recursively searched.The hierarchy is constructed from the following properties files in the following order. The first property file in this list corresponds to the top of the property hierarchy. The last property file in this list corresponds to the bottom of the property hierarchy. The property resources are:
getProperties
in class AbstractASTEvaluationTestCase
Properties
object that supplies bindings for
property names according to the described hierarchy among
property resources. The returned Properties
is NOT
cached.
TODO This does not handle the recursive truncation of the
class name to search for "test.properties" yet.public void test_LUBM_Q2() throws Exception
Note: There are no solutions for this query against U1. The optimizer is only providing the fastest path to prove that. In practice, this amounts to proving that one of the joins fails to produce any results.
Note: For U50 there are 130 solutions and it discovers the join order
[3, 5, 6, 4, 1, 2]
.
Exception
public void test_LUBM_Q8() throws Exception
Note: For U50 there are 6463 solutions and it discovers the join order:
[4,1,3,2,5]
.
Exception
public void test_LUBM_Q9() throws Exception
Note: For U50 there are 8627 solutions and it discovers the join order:
[2,5,6,4,1,3]
.
Note: When random sampling is used, several join plans are possible including:
{4, 2, 3, 5, 0, 1} {3, 0, 5, 4, 1, 2} {1, 4, 3, 5, 0, 2} - this solution has the best performance on U50.These all appear to be good join plans even though the last one is is definitely better.
Exception
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.