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

Add more information to the query results object when no results are available #5265

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

edouardjmn
Copy link

What type of PR is this? (check all applicable)

  • Other

Description

Currently, when calling POST /api/queries/<id>/results, if no query results are available, the API return only a job object. This PR adds data_source_id, query_id, parameters and query text to the API returned object.

Related Tickets & Documents

See #5224 for previous work/proposition

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

@guidopetri
Copy link
Collaborator

@edouardjmn , thanks for the PR! We've updated a lot of things now that we're Community-driven so - if you're still interested in getting this merged - would you mind rebasing off master to re-run the CI?

We're trying to clean up our PR todo list, so if you're not interested, that's fine - we'll close the PR in about a week if we don't hear back. If you're interested in reopening the PR afterwards, we would also very much welcome that.

@justinclift
Copy link
Member

justinclift commented Aug 22, 2023

This PR sounds like it would have the same security problem as the original PR: #5224 (comment)

If that's correct (?), then we can't merge this PR.

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

Successfully merging this pull request may close these issues.

None yet

4 participants