Closed jennet closed 4 years ago
The IC-17 query often times out on large datasets, or datasets with many (non measure) dimensions due to the nature of having to check every combination of dimensions that has a measure, and then check that that set of dimension values also has a value for every other measure type.
Closing this because there is an equivalent issue in the cogs-issues repo: see https://github.com/Swirrl/cogs-issues/issues/32
The table disappears as that measure type does not appear in the slice of data selected by the filters.
After debugging this in PMD4 we think that the data in this case must be invalid in IC-17:
i.e. if there's a dataset with multiple measure types, and there's an observation of some set of non-measure dimensions - there must be corresponding observation values for all of the other measures defined for that dataset.
If the data is valid, then filtering by any dimension will have at least one observation value for each of the measures in the dataset and so could not result in an empty observations table.