[Mondrian] AggGen question...
ati.rosselet at gmail.com
Thu Oct 25 06:23:24 EDT 2007
1. is there a reason for using a toUpper() on the column names in
aggregates - AggGen.java. At least in postgres, it makes the sql
invalid...(I've removed them at the moment and all seems fine - see below..
no errors raised in testsuite)
2. regarding previous problem. As I see it, each AggGen is created on the
fly, so if we let the AggGen know what cube it is dealing with, we can
ignore measures in the Table from other cubes.
614: final AggGen aggGen = new AggGen(cube.getName(),cube.getStar(),
// name of cube concerned - ignore measures from other cubes
private String cubeName;
public AggGen(String cubeName, RolapStar star, RolapStar.Column
this seems to fix the AggGen problem.. at least this one.. and running the
test suite with these changes produces NO errors.. (except for 1
postgres/grouping sets related.. which was there before)
also... if the Promotion sales measure is included (uses measure
expression), AggGen fails since it cannot find the column specified by the
expression... any ideas?
maybe a baseColumn property for Measure expression or something? (just
throwing ideas here).
Haven't got around to the test creation yet... a bit confused..
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mondrian