logv / snorkel

UI for interactive data analysis | https://snorkel.logv.org
https://fb.com/groups/snorkelsnorkelsnorkel
161 stars 21 forks source link

Download JSON data not pulling all data #5

Closed rstecker closed 11 years ago

rstecker commented 11 years ago

It appears that I need to have a query id to pull out all the info I want via a JSON download.

When I do a programatic download request with a table view and more then one group_by value, I don't get my actual result. The data looks like this "results":[{"_id":{},"count":4}]

If I do a request via the GUI and then stick the /download in the request, I get valid JSON results but there's this extra h param tacked onto the end of the URL. If I remove it I get the same empty results problem as above.

Do I have to pass in extra data when making my request to save? the request and get that query id (h param value)? Make 2 requests?

okayzed commented 11 years ago

you should not need to use a hashid, the API can run and execute new queries just fine. i just pushed a new commit that should fix a problem with URLs that have encoded arrays in them, maybe that was related (f.e. you have two &group_by= params)

can you start with just a basic query on that table via the URL and see if it returns results, and add the extra params until you find out which one caused problems?

rstecker commented 11 years ago

That problem with the multiple group_bys was totally the issue-- fix works! Thanks!