prakharjain09 opened a new pull request #26638: [SPARK-29681][WebUI] Fix Column 
sorting in Environment tab in SparkUI
URL: https://github.com/apache/spark/pull/26638
 
 
   ### What changes were proposed in this pull request?
   Add extra classnames to table headers in EnvironmentPage tables in Spark UI.
   
   ### Why are the changes needed?
   SparkUI uses sorttable.js to provide the sort functionality in different 
tables. This library tries to guess the datatype of each column during 
initialization phase - numeric/alphanumeric etc and uses it to sort the columns 
whenever user clicks on a column. That way it guesses incorrect data type for 
environment tab. 
   
   sorttable.js has way to hint the datatype of table columns explicitly. This 
is done by passing custom HTML class attribute.
   
   ### Does this PR introduce any user-facing change?
   No
   
   ### How was this patch tested?
   Manually tested sorting in tables in Environment tab in Spark UI.
   
   ![Annotation 2019-11-22 
154058](https://user-images.githubusercontent.com/2551496/69417432-a8d6bc00-0d3e-11ea-865b-f8017976c6f4.png)
   ![Annotation 2019-11-22 
153600](https://user-images.githubusercontent.com/2551496/69417433-a8d6bc00-0d3e-11ea-9a75-8e1f4d66107e.png)
   ![Annotation 2019-11-22 
153841](https://user-images.githubusercontent.com/2551496/69417435-a96f5280-0d3e-11ea-85f6-9f61b015e161.png)
   

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