Skip to content

Commit

Permalink
Cube's dimension/attribute value at Filter Condition on Aggregation
Browse files Browse the repository at this point in the history
Column throws 17070 error [62536]
  • Loading branch information
lzhang authored and mwu committed Jul 12, 2013
1 parent 0cbb933 commit de0d481
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -27,6 +27,7 @@
import org.eclipse.birt.core.archive.FileArchiveWriter;
import org.eclipse.birt.core.archive.IDocArchiveReader;
import org.eclipse.birt.core.archive.IDocArchiveWriter;
import org.eclipse.birt.core.data.ExpressionUtil;
import org.eclipse.birt.core.exception.BirtException;
import org.eclipse.birt.data.engine.api.IBaseExpression;
import org.eclipse.birt.data.engine.api.IShutdownListener;
Expand Down Expand Up @@ -520,6 +521,13 @@ private IAggregationResultSet[] processDimensionFiltersInAggrBindingFilter(IAggr
.getCubeQueryDefinition().getBindings());
if (dimLevelSet.size() > 0)
{
if ( OlapExpressionCompiler
.getReferencedScriptObject( expr,
ExpressionUtil.MEASURE_INDICATOR ) != null )
{
applyMerge = false;
break;
}
applyMerge = true;
CubeQueryExecutorHelper executorHelper = createCubeQueryExecutorHelper(
this.cube, cubeQueryExecutor.getComputedMeasureHelper(),fetcher);
Expand Down

0 comments on commit de0d481

Please sign in to comment.