albertusk95 opened a new pull request #25326: [SPARK-28590][PySpark] Add 
sort_stats Setter and Getter in Profiler
URL: https://github.com/apache/spark/pull/25326
 
 
   ## What changes were proposed in this pull request?
   
   When doing profiling using custom profilers, I sometimes need to re-create 
another custom profiler class when using different sorter in **sort_stats**. I 
think it would be better if the users are able to set their own sorting columns 
preference. To do this, I thought of creating a setter and getter method in the 
**Profiler** class (python/pyspark/profiler.py).
   
   I implemented the changes in PySpark only.
   
   ## How was this patch tested?
   
   plan to use unit test
   
   Please review https://spark.apache.org/contributing.html before opening a 
pull request.
   

----------------------------------------------------------------
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