Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356752 - CubeExtractionResults and CubeDataExtractionOption functionality appears incomplete
Summary: CubeExtractionResults and CubeDataExtractionOption functionality appears inco...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-05 21:02 EDT by Andrew Sleeman CLA
Modified: 2011-10-30 15:06 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Sleeman CLA 2011-09-05 21:02:43 EDT
Build Identifier: Birt 3.7

I have been trying to implement the ability to extract Cube result sets in CVS format. I setup an instance of CubeDataExtractionOption and pass it into the DataExtractionTaskV1.execute(options). Unfortunately the first the the execute(options) function does is create a new option object of type "DataExtractionOption" which the existing options are copied to.
The "setupExtractOption(options)" function is then called with the new option object.
The "setupExtractOption(options)" has the piece of code which is the only way I can see of setting the "this.cubeName" member.
		if ( options instanceof CubeDataExtractionOption )
		{
			CubeDataExtractionOption cubeOption = (CubeDataExtractionOption) options;
			this.cubeName = cubeOption.getCubeName( );
			return options;
		}
Unfortunately this code will never be accessed because code described above in "execute(options)".
...
I've just spent a bit more time investigating what would have happened it the above had not failed, and it appears the org.eclipse.birt.report.engine.api.impl.CubeExtractionResults class would have been called. Unfortunately this is a hollow implementation most functions throwing an UnsupportedOperationException.
Is this code a "work-in-progress", a "forgotten-idea", or should I be looking in another place for this functionality ?

Reproducible: Always
Comment 1 Jianchao Li CLA 2011-10-28 05:30:28 EDT
To support cube data extraction in OS Birt as described above, it needs the commercial cube extractor plugin named com.actuate.birt.report.engine.data.cube. If not, the cube data extraction can't be implement because the data need to be outputted into the output stream as CSV format. 
After discussions, we decide to defer this issue to future.
Comment 2 Andrew Sleeman CLA 2011-10-30 15:06:48 EDT
I no longer have any desire to implement any functionality based on this functionality as I have discover CVS a number of CVS and spreadsheet emitters. Thanks