looker-open-source / sdk-codegen

One SDK to rule them all, and in the codegen bind them
MIT License
232 stars 195 forks source link

query_task_results is no longer returning results but the QueryTask object. #1412

Closed ralflizard closed 3 weeks ago

ralflizard commented 10 months ago

I see that in the latest version (23.20.0 for python at least) the method query_task_results which matches to the /query_tasks/{query_task_id}/results endpoint was changed to return a QueryTask object instead of the result (as stated in the documentation). The QueryTask object doesn't return anything useful that would aid in getting the actual result. With the previous version 23.18.0 it does work just fine.

Looking at the commit for this version, the change was done in the looker json spec and affects all SDK's, not sure if I'm missing something from the documentation on how to get results async, or if it is in fact a bug.

ian-thompson-king commented 6 months ago

Hi, @jkaster any news on this, this is a big issue for us as well.

omarabed15 commented 3 weeks ago

I also encountered this. Documented my test case here: https://www.googlecloudcommunity.com/gc/Developing-Applications/Looker-API-request-for-async-data-returns-empty-QueryTask/m-p/821276#M2257

aschott-looker commented 3 weeks ago

Hey folks! This should be fixed in Looker version 24.18!