Bug 201355 The aggreagation of computed column should be working after the dataset filter[07]
Description: The aggreagation of computed column should be working after the dataset filter[07] Build number: 2.2.1.v20070828-0630 Steps to reproduce: 1, New a dataset 2, Add a computed column and specify the aggregate function to count 3, Preview 4, Add a filter in dataset 5, Preview and check the computed column result Expected result: The aggregation should count the value after the filter of dataset Actual result: The result is also the count of all the value.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/pass/DataSetProcessUtil.java
if ( scriptExpr.getText( ) == null )
							continue;
					}
					compiler.compile( exprs[j], cx );
				}
				if ( cc.getAggregateFilter( )!= null )
					compiler.compile( cc.getAggregateFilter( ), cx );
				IAggregation aggrFunction = AggregationFactory.getInstance( )
						.getAggregation( cc.getAggregateFunction( ) );
				IAggrInfo aggrInfo = new AggrInfo( cc.getName( ),
						0,
						aggrFunction,
						exprs,
						cc.getAggregateFilter( ) );
				aggrInfos.add( aggrInfo );
				aggrNames.add( cc.getName( ) );
			}
			
			if ( !psController.needDoOperation( PassStatusController.DATA_SET_FILTERING ) )
				PassUtil.pass( populator,
						new OdiResultSetWrapper( populator.getResultIterator( ) ),
						false,
						this.session );
			AggregationHelper helper = new AggregationHelper( new AggrDefnManager( aggrInfos ),
					this.populator );
			AggrComputedColumnHelper ccHelper = new AggrComputedColumnHelper( helper,
					aggrNames );
			this.populator.getQuery( ).getFetchEvents( ).add( 0, ccHelper );
			PassUtil.pass( populator,
					new OdiResultSetWrapper( populator.getResultIterator( ) ),