shahidki31 commented on issue #26215: [SPARK-29559][Webui]Support pagination 
for JDBC/ODBC Server page
URL: https://github.com/apache/spark/pull/26215#issuecomment-545461844
 
 
   There is an existing framework in Spark for pagination of WebUI tables. 
(Refer `PagedTable.scala`).
   Currently, `Jobs Page`, `All Stages Page` , `SQL page` are following the 
framework by extending the classes. I have done the similar to these changes 
here.
   
   Basically we need to create 2 classes that extends to `PagedDataSource` and 
`PagedTable` . 
   
   In this PR: `SqlStatsPagedTable`  -> `PagedTable`  and 
`SqlStatsTableDataSource` -> `PagedDataSource`
   
   Also class `SqlStatsTableRow`  helper class for sorting purpose and just 
hold the data.
   
   Other changes are just refactoring. I think, I followed similar to the PR:  
https://github.com/apache/spark/pull/22645

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