-
Notifications
You must be signed in to change notification settings - Fork 207
Display timeout warning and display canceled queries #266
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
Conversation
Also, add the message to the log. Closes github#251
This pull request introduces 1 alert when merging 46fddfd into 35f619e - view on LGTM.com new alerts:
|
This change converts a cancelled query into a synthetic query result that is displayed in query history. Also includes some light refactoring. Closes github#250.
Oops, don't believe this approval yet, I clicked in the wrong tab. |
query, | ||
result: { | ||
evaluationTime: 0, | ||
resultType: messages.QueryResultType.CANCELLATION, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you want resultType
to be a parameter of createSyntheticResult
? This should still be messages.QueryResultType.OTHER_ERROR
if we arrive here from the non-cancellation fallthrough (your diff's line 472).
Converts a namespace into an enum.
fix: Display queries that are canceled during compilation
This change converts a cancelled query into a synthetic query result
that is displayed in query history.
Also includes some light refactoring.
fix: Display message when query times out
Also, add the message to the log.
Closes #250
Closes #251