-Summary:
Fix Bugzilla
Bug 117641 Multiple grouping doesn't work correctly when data is grouped by
interval
-Bugzilla Bug (s) Resolved:
Bugzilla
bug 117641
-Description:
The
former grouping algorithm sorts all columns before they are grouped. This is ok
when the group unit is single rows. But when dealing with groups with intervals
the algorithm would be of problematic.
Add
some codes to CachedResultSet.java so that sort will not only being carried out
before the grouping is done, but also will it being done during the grouping
process so that the former group (if with intervals) will affect the sort of latter
groups.
-Tests Description:
Unit test
-Files Edited:
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ExpressionParseHelper.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/GroupUtil.java"
"/org.eclipse.birt.data/test/org/eclipse/birt/data/engine/executor/cache/golden/CacheComputedColumnTest.testGroupOnComputedColumn.txt"
"/org.eclipse.birt.data/test/org/eclipse/birt/data/engine/executor/GroupByNumberRangeTest.java"
"/org.eclipse.birt.data/test/org/eclipse/birt/data/engine/api/golden/ComputedColumnTest.testGroupOnComputedColumn.txt"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ExpressionProcessor.java"
"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/CachedResultSet.java"
- Notes to Build Team:
- Notes to Developers:
- Notes to QA:
- Notes to
Documentation: