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
}
		else
		{
			DataSetID parentId = dataSetId.getParentID( );
			assert parentId != null;
			try
			{
				queryResultName = parentId.getDataSetName( );
				DataSetID parId = parentId;
				while( queryResultName == null && parId != null )
				{
					parId = parId.getParentID();
					if( parId != null )
						queryResultName = parId.getDataSetName();
				}
				assert queryResultName != null;
				
				IQueryResults parentQueryResult = dataEngine
						.getQueryResults( queryResultName );
				assert parentQueryResult != null;
				
				IResultIterator iter = parentQueryResult.getResultIterator( );
				long rowid = dataSetId.getRowID( );
				
				int i = 0;
				while ( iter.next( ) && i++ < rowid ) 		;
				
				IResultIterator subIter = iter.getSecondaryIterator( dataSetId
						.getQueryName( ), executionContext.getScope( ) );