Bug 131011 Support running query based on report document data
Data Engine should support running a query based on data set and expression data stored in a report document. This bugzilla entry serves as a repository for design docs and notes related to this feature.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/group/GroupUtil.java
if ( curr < 0 && prev < 0 )
			return true;
		if ( curr < 0 || prev < 0 )
			return false;
		int currDiv = (int) ( curr );
		int prevDiv = (int) ( prev );
		if ( currDiv == prevDiv )
		{
			isSame = true;
		}
		return isSame;
	}
	/**
	 * Get row index value of specified groupLevel and groupIndex
	 * 
	 * @param groupLevel
	 * @param groupIndex
	 * @return rowIndex
	 * @throws DataException
	 */
	static int getGroupFirstRowIndex( int groupLevel, int groupIndex,
			List[] groups, ResultSetCache smartCache ) throws DataException
	{
		int rowIndex;
		if ( groupIndex < groups[groupLevel - 1].size( ) )
		{
			GroupInfo groupInfo;
			for ( int i = groupLevel - 1; i < groups.length; i++ )
			{