| Summary: | CubeExtractionResults and CubeDataExtractionOption functionality appears incomplete | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Andrew Sleeman <andrewsleeman24> |
| Component: | BIRT | Assignee: | Birt-ReportEngine-inbox <Birt-ReportEngine-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jianchao.li |
| Version: | unspecified | ||
| Target Milestone: | Future | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
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. 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 |
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