cmu-delphi/delphi-epidata
Improve handling of queries beyond the row limit
Ouverte
#1 020 ouverte le 1 nov. 2022
code healthhelp wantedrefactor
Métriques du dépôt
- Stars
- (104 étoiles)
- Métriques de merge PR
- (Merge moyen 63j 20h) (11 PRs mergées en 30 j)
Description
Previously, we would process a full query until it hit the limit and then just return nothing to the user
Then I added a LIMIT clause, but in an unintuitive place
- The LIMIT addition should probably be in the QueryBuilder object.
The row counting might be obsolete since the LIMIT query should handle that (cc @melange396 to confirm).Update: the row counting in the printer is needed when dealing with multiple SQL queries; interestingly, these are only used in non-covidcastendpointsrun_queryprobably doesn't need thep: APrinterthen.