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/data/dte/ReportQueryBuilder.java
BaseQueryDefinition query = createQuery( (ReportItemDesign) listing );
			if ( query != null )
			{
				query.getSorts( ).addAll( createSorts( listing ) );
				query.getFilters( ).addAll( createFilters( listing ) );
				return query;
			}
			
			if ( getTransform( ) == null )
			{
				return null;
			}
			String name = createUniqueQueryName( );
			SubqueryDefinition subQuery = new SubqueryDefinition( name );
			listing.setQuery( subQuery );
			subQuery.getSorts( ).addAll( createSorts( listing ) );
			subQuery.getFilters( ).addAll( createFilters( listing ) );
			getTransform( ).getSubqueries( ).add( subQuery );
			return subQuery;
		}
		/**
		 * get Localized string by the resouce key and <code>Locale</code>
		 * object in <code>context</code>
		 * 
		 * @param resourceKey
		 *            the resource key
		 * @param text
		 *            the default value
		 * @return the localized string if it is defined in report deign, else