You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason for the issue is due to WS functionality: WS does not support measure filter applying for the row. It supports filter applying for column (separate measure) only. Let me explain...
Imagine, we have next filter and next result for a dataset (datapoints selection):
Filter is empty {}
Result is
geo | time | life_expectancy | population
arg | 1991 | 72 | 900000
An another case for same dataset:
Filter is { $or: [ {population_total: {$gt: 10000}}, {life_expectancy_years: {$gt: 30, $lt: 70}} ] }
Result for DDFCSV reader is
geo | time | life_expectancy | population
arg | 1991 | 72 | 900000
because 72>70 is false OR 90000>10000 is true -> result is true
Result for WS reader is
geo | time | life_expectancy | population
arg | 1991 | null | 900000
because WS applies the filter for each measure separately and merges result after that
dataset is SG
query is
or
result is (see ws.json)
life_expectancy_years
values should not be nullThe text was updated successfully, but these errors were encountered: