Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_butler
-
Story Points:8
-
Epic Link:
-
Sprint:DB_F20_09
-
Team:Data Access and Database
-
Urgent?:No
Description
Add a command-line interface for Registry.queryDataIds. Like queryDatasets (DM-26685), this one has a lot of optional keyword arguments that may make it more difficult to wrap well, and just like there, I think the dataId argument is at least one that can be ignored. It doesn't have as many "downstream" methods whose scripts will need to call it as well, but I think it will eventually have a few.
I'm calling this a deprecation blocker because it's probably the most important tool for debugging problems in QG generation without resorting to direct SQL.
There's a lot of duplicated test code between the test for query-data-ids and the query-datasets code. At some point I think it would make sense to factor this into a small toolkit for creating a butler repo that can be used by these (and other) tests. Maybe we are there already, or maybe sometime after the Nov 4 deadline. Any thoughts/guidance appreciated.