ajithme edited a comment on issue #23958: [SPARK-27045] SQL tab in UI shows 
actual SQL instead of callsite
URL: https://github.com/apache/spark/pull/23958#issuecomment-470794830
 
 
   @dongjoon-hyun @srowen @gengliangwang @cloud-fan @gatorsmile
   I think SQL tab primary responsibility should be showing the Entire SQL of 
what user is trying to run. From end user perspective its the right thing to 
do. If by doing this right thing, in some of the exceptional case, he 
encounters any problem, we should also provide a way to mitigate the problem.  
So is it acceptable if we introduce two configs
   1. **config1** - this will control how much is the threshold of SQL string 
length beyond which it will be truncated for UI. Defaults to 0 means no 
truncation
   1. **config2** - this will control how much is the threshold of SQL string 
length beyond which it will be truncated for eventlogs. Defaults to 0 means no 
truncation
   
   Any user who has problem due to super large queries as mentioned by all the 
comments, can tune these params accordingly.
   Should this address our concerns.?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to