Project: Birt
Bug 160650 IDataExtractionTask.selectColumns() doesn't work.
Reported: 2006-10-12 05:53:56 | Status: closed fixed

Description: IDataExtractionTask.selectColumns() doesn't work. Steps to reproduce: Codes: String[] columns={"code","territory"}; task.selectResultSet( "t1" ); task.selectColumns(columns ); IExtractionResults result = task.extract( ); assertEquals(2,result.getResultMetaData( ).getColumnCount( )); Covered in DataExtractionTaskTest.testMethods() case. Expected result: Column count is 2. Actual result: Column count is 3.

Files changed in fix:
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/DataIterator.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/ExtractionResults.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/ResultMetaData.java