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

Bug 181681

Summary: Aggregation Builder - Model changes
Product: z_Archived Reporter: Rima Kanguri <rkanguri>
Component: BIRTAssignee: Rick Lu <rlu>
Status: VERIFIED INVALID QA Contact: Tianli Zhang <tzhang>
Severity: normal    
Priority: P3 CC: wenfeng.fwd, xxue
Version: 2.2.0Keywords: plan
Target Milestone: 2.5.0   
Hardware: PC   
OS: All   
Whiteboard:
Bug Depends on: 182507    
Bug Blocks:    

Description Rima Kanguri CLA 2007-04-09 20:44:06 EDT
This bug is to track the model changes 
- data binding enhancements to support aggregation functions
- backward compatibility support for old expressions. Drop support for Birt.Total functions in java script expression.

Please refer to the data specification for the agreed changes.
Comment 1 Rima Kanguri CLA 2007-04-10 17:58:44 EDT
Aggregations will be represented in BIRT Model as a special type of data binding element. The existing ComputedColumn element, which is used to represent both a data set computed column and a data binding entry, will be enhanced as follows 

ComputedColumn Properties:
Name	Type	Description
---------------------------------
Name	Name 	Name of the computed coumn/binding
dataType	columnDataType	Result data type
expression	String 	Javascript expression. For Aggregation, this is the expression to be aggregated over.

aggregateFunction	String	For Aggregations, this is the name of the function (e.g., “Sum”, “MovingSum”, etc.). For non-aggregate bindings, this property and all subsequent properties are empty.

Args	List of Expressions	Additional arguments to the aggregate function (optional).

Filter	Expression	Aggregate filter expression (optional)
aggregateOn	For listing elements, this can be “All” or the name of a single group. 
Comment 2 Rima Kanguri CLA 2007-04-10 18:06:45 EDT
Backward compability support
---------------------------
As part of hte backward compability change, model will use the method provided by DtE to parse expressions with total. and convert to new data binding format.
Comment 3 Rick Lu CLA 2007-05-09 22:11:25 EDT
Depends on 182507. Defer it to RC1.
Comment 4 Rick Lu CLA 2007-05-16 03:32:26 EDT
Move this bug to RC2 for the change of 182507.
Comment 5 Rick Lu CLA 2007-05-17 21:51:22 EDT
Defer to post 2.2.0 for the change of 182507.
Comment 6 Rima Kanguri CLA 2007-05-18 00:22:24 EDT
Last agreement
- Backward compatiblity changes in model will be done post BIRT 2.2
Comment 7 Rima Kanguri CLA 2007-07-23 20:54:44 EDT
This is a major change, we need to agree if this should be done in BIRT 2.2.1 or later release. I suggest we do this change in BIRT 2.3
Comment 8 Rick Lu CLA 2008-04-30 02:22:09 EDT
Changed to P5 since 182507 has been set to future.
Comment 9 Wenfeng Li CLA 2008-06-09 19:26:16 EDT
Do we still need this backward comp handling?
Comment 10 Rick Lu CLA 2008-12-08 08:50:09 EST
Refers to status in 182507.
Comment 11 Tianli Zhang CLA 2008-12-28 21:54:30 EST
Mark as verified