noi-techpark / bdp-core

Open Data Hub / Timeseries Core
https://opendatahub.com
Other
9 stars 4 forks source link

Ninja: mvalue missing in some queries #166

Closed Piiit closed 4 years ago

Piiit commented 4 years ago

https://mobility.api.opendatahub.testingmachine.eu/tree/MeteoStation/*/latest?select=sdatatypes&limit=1

https://mobility.api.opendatahub.testingmachine.eu/tree/MeteoStation/*/latest?select=tmeasurements&limit=1

It seems that it is not shown, when pointers to target definitions are used

https://mobility.api.opendatahub.testingmachine.eu/tree/MeteoStation/*/latest?select=sdatatypes,mvalue&limit=1 works

Piiit commented 4 years ago

@bertolla @noctho This should be fixed now, please test with the queries above and see if you get mvalue together with other values. To compare, query it with https://mobility.api.opendatahub.testingmachine.eu/tree/MeteoStation/*/latest?limit=1 and see if you get the same key/value pairs as in tmeasurements and sdatatypes. Eventually use shownull=true to be sure

bertolla commented 4 years ago

All queries work even on production so I guess this was already solved