Bug 182061 Data engine changes to support result set sharing
data/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/GroupOnRowTest.java
*/
	public void testGroupOnYear1(  ) throws Exception
	{
		groupOnYear( null );
	}
	private void groupOnYear( Object startValue ) throws Exception, IOException
	{
		String[] bindingNameGroup = new String[1];
		bindingNameGroup[0] = "GROUP_DATE";
		IBaseExpression[] bindingExprGroup = new IBaseExpression[1];
		bindingExprGroup[0] = new ScriptExpression( "dataSetRow.DATE_FOR_GROUP" );
		GroupDefinition[] groupDefn = new GroupDefinition[]{
			new GroupDefinition( "group1" )
		};
		groupDefn[0].setKeyExpression( "row.GROUP_DATE" );
		groupDefn[0].setInterval( IGroupDefinition.YEAR_INTERVAL );
		if(startValue != null)
			groupDefn[0].setIntervalStart( startValue );
		groupDefn[0].setIntervalRange( 1 );
		String[] bindingNameRow = new String[4];
		bindingNameRow[0] = "ROW_DATE_FOR_GROUP";
		bindingNameRow[1] = "ROW_ID";
		bindingNameRow[2] = "ROW_AMOUT1";
		bindingNameRow[3] = "ROW_AMOUT2";
		IBaseExpression[] bindingExprRow = new IBaseExpression[4];
		bindingExprRow[0] = new ScriptExpression( "dataSetRow.DATE_FOR_GROUP" );
		bindingExprRow[1] = new ScriptExpression( "dataSetRow.ID" );
		bindingExprRow[2] = new ScriptExpression( "dataSetRow.AMOUNT1" );
		bindingExprRow[3] = new ScriptExpression( "dataSetRow.AMOUNT2" );
		String[] columnStr = new String[]{