Author: shawkins
Date: 2011-11-22 21:18:58 -0500 (Tue, 22 Nov 2011)
New Revision: 3694
Modified:
trunk/engine/src/test/java/org/teiid/query/optimizer/TestJoinOptimization.java
Log:
TEIID-1022 updating indexing so that -1 can be used as a proper default cardinality
Modified: trunk/engine/src/test/java/org/teiid/query/optimizer/TestJoinOptimization.java
===================================================================
---
trunk/engine/src/test/java/org/teiid/query/optimizer/TestJoinOptimization.java 2011-11-22
20:25:10 UTC (rev 3693)
+++
trunk/engine/src/test/java/org/teiid/query/optimizer/TestJoinOptimization.java 2011-11-23
02:18:58 UTC (rev 3694)
@@ -1034,7 +1034,7 @@
QueryMetadataInterface metadata = RealMetadataFactory.exampleBQT();
RealMetadataFactory.setCardinality("bqt1.smallb", 1800, metadata);
//$NON-NLS-1$
- RealMetadataFactory.setCardinality("bqt1.smalla", 0, metadata);
//$NON-NLS-1$
+ RealMetadataFactory.setCardinality("bqt1.smalla", -1, metadata);
//$NON-NLS-1$
RealMetadataFactory.setCardinality("bqt2.smallb", 15662, metadata);
//$NON-NLS-1$
TestOptimizer.helpPlan(
Show replies by date