Skip to content

Commit

Permalink
failed to run a report that based on Data Model with pushdown on couple
Browse files Browse the repository at this point in the history
computed columns [63254]
  • Loading branch information
lzhang authored and mwu committed Sep 12, 2013
1 parent 3663557 commit 567a466
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -343,14 +343,16 @@ protected IQuery createOdiQuery( ) throws DataException
&& computedColumnsMap.get( extDataSet.getName( ) ) != null )
{
List computedColumns = extDataSet.getComputedColumns( );
List toBeRemovedComputedColumns = new ArrayList();
for ( int i = 0; i < computedColumns.size( ); i++ )
{
if ( computedColumnsMap.get( extDataSet.getName( ) )
.contains( ( (IComputedColumn) computedColumns.get( i ) ).getName( ) ) )
{
computedColumns.remove( i );
toBeRemovedComputedColumns.add( computedColumns.get( i ) );
}
}
computedColumns.removeAll( toBeRemovedComputedColumns );
}

List<IColumnDefinition> resultSets = queryOptimizeHints.getResultSetsForCombinedQuery( );
Expand Down

0 comments on commit 567a466

Please sign in to comment.