AllenInstitute / datacube

Other
0 stars 1 forks source link

rows, num_rows and sort_order not working(different from current prod) for conn correlation search #69

Open shus2018 opened 6 years ago

shus2018 commented 6 years ago

we have one warehouse regression testing failed today due to rows, num_rows and sort_order not returned as expected as current prod data.

Please compare the results from stage and prod based on the urls and also try to change sort out to desc and asc etc, please note num_rows and returned first IDs and data. looks like it is default to desc and returned total num_rows instead of limited to 100. Please confirm it is by design or not.

http://swarehouse/api/v2/data/query.xml?criteria=service::mouse_connectivity_correlation[row$eq112162251][structures$eqTH][hemisphere$eqright][num_rows$eq100][transgenic_lines$eq0,177838259][sort_order$eq%27asc%27]

http://api.brain-map.org/api/v2/data/query.xml?criteria=service::mouse_connectivity_correlation[row$eq112162251][structures$eqTH][hemisphere$eqright][num_rows$eq100][transgenic_lines$eq0,177838259][sort_order$eq%27asc%27]

NileGraddis commented 6 years ago

Hi Shu, good catch. This is a feature that we have not implemented for this release.

NileGraddis commented 6 years ago

reopening because we definitely want this for the future.

chrisbarber commented 6 years ago

Depends on #67