summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlzhang2012-01-18 22:10:53 (EST)
committer mwu2012-01-18 22:10:53 (EST)
commit6e55164a1bfe22c49bef99b3ac74c8546144f59e (patch)
tree8c992f8a43fc902e389abcf2045a7670fc252cf7
parent9cb744ce9e17d85542c33a1130be6638021a8835 (diff)
downloadorg.eclipse.birt-6e55164a1bfe22c49bef99b3ac74c8546144f59e.zip
org.eclipse.birt-6e55164a1bfe22c49bef99b3ac74c8546144f59e.tar.gz
org.eclipse.birt-6e55164a1bfe22c49bef99b3ac74c8546144f59e.tar.bz2
Checkin: non-recalcuate filter on derived measure don't work [46802]
-rw-r--r--data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/filter/AggregationFilterHelper.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/filter/AggregationFilterHelper.java b/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/filter/AggregationFilterHelper.java
index b0fd23a..fc872e2 100644
--- a/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/filter/AggregationFilterHelper.java
+++ b/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/olap/data/impl/aggregation/filter/AggregationFilterHelper.java
@@ -483,6 +483,15 @@ public class AggregationFilterHelper
result[i] = newAggrResultSet;
affectedAggrResultSetIndex.add( Integer.valueOf( i ) );
}
+ else if ( filtered && levelFilterList.size( ) == 0 )
+ {
+ IAggregationResultSet newAggrResultSet = new AggregationResultSet(rs[i].getAggregationDefinition( ),
+ rs[i].getAllLevels( ), new BufferedStructureArray( AggregationResultRow.getCreator( ),
+ rs[i].length( ) ),
+ rs[i].getKeyNames( ), rs[i].getAttributeNames( ));
+ result[i] = newAggrResultSet;
+ affectedAggrResultSetIndex.add( Integer.valueOf( i ) );
+ }
else
{
result[i] = rs[i];