-
Notifications
You must be signed in to change notification settings - Fork 870
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
Disable "executionPlan" in Rest API json response #8743
Comments
Hi @abdusahin It makes a lot of sense and we already discussed it internally. I'll keep you updated Thanks Luigi |
set HTTP header: return-execution-plan = false or from JSON request body: returnExecutionPlan:”false” Resolves: #8743
Hi @abdusahin I just added a quick fix for this, you can: set HTTP header: return-execution-plan = false The fix will be released with v 3.0.15 Thanks Luigi |
Woow, that's the fastest response I've ever got on github. |
From the documentation this looks like it was only added to the POST command, but what about the "GET - Query" variant? |
As of now it is not supported, but we can consider to add it as a query string param, eg.
or as an http header Thanks Luigi |
Hello, Do you have any solution for GET requests? It is still returning the executionPlan object. Thank you |
OrientDB Version: 3.0.13
Java Version: 1.8-openjdk
OS: RedHat
Expected behavior
Do not return "executionPlan" field in the REST API response, or add configuration parameter to enable or disable it.
Actual behavior
"executionPlan" field is returned in REST API response, which results in a huge json response size.
Steps to reproduce
curl -v -u username:password
http://localhost:2480/query/<db-name>/sql/select%20from%20<table>
The text was updated successfully, but these errors were encountered: