ajithme commented on issue #24076: [SPARK-27142] Provide REST API for SQL level 
information
URL: https://github.com/apache/spark/pull/24076#issuecomment-521677980
 
 
   > > Returning plan and metrics can significantly increase the payload.
   > 
   > Yes, but it's also useful information and there would be no way to 
retrieve it from the API...
   > 
   > In our APIs we generally have a query parameter that tells you what level 
of detail you have in the response, so you can have a small summary or a full 
view of an object, for example. That sounds like something we could add here.
   > 
   > I even did something similar in the `StagesResource.oneAttemptData` method 
with the `details` parameter. You could add that parameter here with a default 
value of `false`, for example, so only those who really want the extra data 
would get it.
   
   Thanks @vanzin for inputs. I agree with your opinion and will update the PR

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to