Bug 122854 There is redundant columns in "available columns" list in "export data" dialog.
Description: There is redundant columns in "available columns" list in "export data" dialog. Steps to reproduce: 1. Preview attached design in web viewer. 2. Select the table and click on "export" button. 3. There is a "detail" column name in "available columns" list which is not data set column.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/DataExtractionTask.java
}
			
			ReportItemDesign reportItem = (ReportItemDesign) mapQueryToReportItem
					.get(query);
			String displayName = null;
			if (reportItem.getName() != null) {
				displayName = reportItem.getName() + "_" + counter;
			} else {
				displayName = "ELEMENT_" + reportItem.getID() + "_" + counter;
			}
			counter++;
			
			mapReportItemToDisplayName.put( reportItem, displayName );
			
			Iterator resultSetIter = resultSetList.iterator();
			while (resultSetIter.hasNext()) {
				String resultSetName = (String) resultSetIter.next();
				
				mapDispNameToResultSetName.put(displayName, resultSetName);
				mapDispNameToQuery.put( displayName, query );
				mapResultSetToQuery.put( resultSetName, query );
			}
		}
		
		isMetaDataPrepared = true;
	}
	
	/*
	 * load map from query id to result set id from report document.
	 */