Bug 182680 Use feature of new Aggregation framework of Data Engine.
DataEngine will implement new aggregation framework in 2.2.0RC0. After the implementation is finished Engine should go ahead to use new column bindings in definition of map/highlight.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/data/dte/ReportQueryBuilder.java
}
					registerQueryAndElement( query, design );
					if ( !( query instanceof ISubqueryDefinition ) )
					{
						this.queries.add( query );
					}
					else if ( query instanceof ISubqueryDefinition )
					{
						
						if ( !( parentQuery instanceof IBaseQueryDefinition ) )
						{
							context.addException( new EngineException(
									"subquery can only be created in another subquery/query"
											+ design.getID( ) ) );
						}
						
						IBaseQueryDefinition pQuery = (IBaseQueryDefinition)parentQuery;
						Collection subQueries = pQuery.getSubqueries( );
						if ( !subQueries.contains( query ) )
						{
							subQueries.add( query );
						}
						
					}
				}
				registerQueryToHandle( design, queries );
			}
			return queries;
		}
	}