Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning on QUERY_STATUS=OVERFLOW #322

Closed
andamian opened this issue May 5, 2022 · 1 comment
Closed

Warning on QUERY_STATUS=OVERFLOW #322

andamian opened this issue May 5, 2022 · 1 comment

Comments

@andamian
Copy link
Contributor

andamian commented May 5, 2022

A TAP query returns a QUERY_STATUS='OVERFLOW' when the number of rows in the result exceeds MAXREC (set by the caller or the service), or the execution duration exceeds a threshold in the server or, in case of a async query, when the size of the results exceeds an output limit. While the result status can be easily determined with result.query_status, this is not always obvious for the caller especially when the result is returned via an intermediate package.

I think a warning would be more appropriate in this case. The user has the option of ignoring it or not. I've recently debugged a user problem in which the async query returned a weird number of rows and the culprit turned out to be OVERFLOW. This could have been easily avoided with such a warning.

Opinions?

I haven't looked at the QUERY_STATUS='ERROR' case.

@msdemlei
Copy link
Contributor

msdemlei commented May 6, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants