Pentaho Analysis - Mondrian

ArrayIndexOutOfBoundsException when using 'count distinct'

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Severe Severe
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

Use a query with a measure based upon 'distinct count'
and no measures, and you get an
ArrayIndexOutOfBoundsException.

Example query:

select {[Measures].[Customer Count]} ON columns,
 {([Promotion Media].[All Media],
   [Product].[All Products])} ON rows
from [Sales]
where [Time].[1997]

This can also happen if there are other measures, if
those measures happen to be in the cache already.

Activity

Hide
Mondrian Importer User added a comment - 12/Sep/03 7:36 AM
{jhyde}, 09/12/2003: Logged In: YES
user_id=312935

Fixed in change 769.
Show
Mondrian Importer User added a comment - 12/Sep/03 7:36 AM {jhyde}, 09/12/2003: Logged In: YES user_id=312935 Fixed in change 769.
Hide
Mondrian Importer User added a comment - 12/Sep/03 7:36 AM
{jhyde}, 09/12/2003: status_id, 1 |
{jhyde}, 09/12/2003: resolution_id, 100 |
{jhyde}, 09/12/2003: assigned_to, 100 |
{jhyde}, 09/12/2003: close_date, 0
Show
Mondrian Importer User added a comment - 12/Sep/03 7:36 AM {jhyde}, 09/12/2003: status_id, 1 | {jhyde}, 09/12/2003: resolution_id, 100 | {jhyde}, 09/12/2003: assigned_to, 100 | {jhyde}, 09/12/2003: close_date, 0

People

Vote (0)
Watch (0)

Dates

  • Created:
    12/Sep/03 7:31 AM
    Updated:
    12/Sep/03 7:36 AM
    Resolved:
    12/Sep/03 7:36 AM