Bug 206861 The data set cache should handle IOException and the cancel request from customer
The data set data will be saved into disk file in the first query and it will be loaded in the later time. The processing of write disk file may be cancelled by customer request or IOException. Using the data from the bad file will cause error.
data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/impl/AggregationTest.java
ScriptExpression e5 = new ScriptExpression( "Total.runningSum(dataSetRow.PRICE)" );
		e5.setGroupName("G1");
		query.addResultSetExpression("e5", e5 );
		IResultIterator resultIt = executeQuery( query );
		String[] exprs = new String[]{
				"e0", "e1", "e2", "e3", "e4", "e5" 
		};
		outputQueryResult( resultIt, exprs );
		checkOutputFile( );
	}
	
	public void test4( ) throws Exception
	{
		QueryDefinition query = newReportQuery( );
		
		GroupDefinition g1 = new GroupDefinition( "G1" );
		g1.setKeyExpression( "dataSetRow.CITY" );
		query.addGroup( g1 );
		GroupDefinition g2 = new GroupDefinition( "G2" );
		g2.setKeyExpression( "dataSetRow.STORE" );
		query.addGroup( g2 );
		GroupDefinition g3 = new GroupDefinition( "G3" );
		g3.setKeyExpression( "dataSetRow.SALE_DATE" );
		g3.setInterval( GroupDefinition.MONTH_INTERVAL );
		g3.setIntervalRange( 1 );
		query.addGroup( g3 );
		
		ScriptExpression e1 = new ScriptExpression( "Total.Ave( dataSetRow.PRICE )" );
		e1.setGroupName("G1");
		query.addResultSetExpression("e1", e1 );