2 questions/fixes...<br><br>1.&nbsp; is there a reason for using a toUpper() on the column names in aggregates - AggGen.java.&nbsp; At least in postgres, it makes the sql invalid...(I&#39;ve removed them at the moment and all seems fine - see below.. no errors raised in testsuite)
<br><br>2.&nbsp; regarding previous problem.&nbsp; 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&nbsp; ignore measures in the Table from other cubes.<br><br>i.e.<br>FastBatchingCellReader.java
<br>614: final AggGen aggGen = new AggGen(cube.getName(),cube.getStar(), columns);<br><br>and AggGen.java:55<br>// name of cube concerned - ignore measures from other cubes<br>&nbsp;&nbsp;&nbsp; private String cubeName;<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; public AggGen(String cubeName, RolapStar star, 
RolapStar.Column[] columns) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.cubeName=cubeName;<br>&nbsp;&nbsp;&nbsp; ...<br><br>in init():301<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (rMeasure.getCubeName()!=cubeName)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; continue;<br>&nbsp;<br>this seems to fix the AggGen problem..&nbsp; 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)
<br><br>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?<br>maybe a baseColumn property for Measure expression or something? (just throwing ideas here).
<br><br><br>Haven&#39;t got around to the test creation yet...&nbsp;&nbsp; a bit confused..<br><br>Cheers<br>Ati<br><br>