Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 206152

Summary: [Crosstab improvements] Crosstab: Add the Rank function in the aggregations
Product: z_Archived Reporter: Malte <toc>
Component: BIRTAssignee: xiaofeng zhang <xiaofeng.zhang>
Status: VERIFIED FIXED QA Contact: Tianli Zhang <tzhang>
Severity: enhancement    
Priority: P3 CC: bluesoldier, jianchao.li, lzhu, wenfeng.fwd, whe, xxue, zqian
Version: unspecifiedKeywords: plan
Target Milestone: 2.5.0 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard: Autoed
Bug Depends on:    
Bug Blocks: 199774    
Attachments:
Description Flags
Crosstab example none

Description Malte CLA 2007-10-12 11:29:24 EDT
In the crosstab, add rank functions in the aggregation builder.
Comment 1 Lin Zhu CLA 2007-10-16 02:53:44 EDT
Rank is a 2 pass aggregation. Will make investigation to see whether to support that.
Comment 2 Lin Zhu CLA 2007-11-15 01:49:23 EST
Hi There,

Do you have a valid use case for supporting a Rank aggregation? It looks as if 
this kind of non-sumary aggregation is not useful in cross tab.

Thanks.
Lin
Comment 3 Malte CLA 2007-11-20 17:50:33 EST
Created attachment 83373 [details]
Crosstab example
Comment 4 Malte CLA 2007-11-20 17:55:44 EST
Hi Lin,

This is a typical crosstab I have to make.

I even have to sort on the ranking, units or the share (whatever)
I submited this suggestion in bug 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=206155 

But I was away for a while and had no opportunity to 
answer to the last request.

I hope this clarify my need.

Sincerely

Malte
Comment 5 Lin Zhu CLA 2008-05-15 01:41:57 EDT
This is a valid use case, though we cannot fix it in 2.3.0. The reason is that Rank is a 2-pass aggregation, and we do not allow 2-pass aggregation in cube query at all.
Comment 6 xiaofeng zhang CLA 2009-04-22 05:52:51 EDT
This bug is fixed.
Comment 7 Tianli Zhang CLA 2009-04-23 02:34:59 EDT
Rank function has been supported, Verified in 2.5.0 v20090423-0630 build, for other issue I have filed new entries. Mark this bug as verified first.