Commit b1978d2
committed
[SPARK-29053][WEBUI] Sort does not work on some columns
Setting custom sort key for duration and execution time column.
Sorting on duration and execution time columns consider time as a string after converting into readable form which is the reason for wrong sort results as mentioned in [SPARK-29053](https://issues.apache.org/jira/browse/SPARK-29053).
No
Test manually. Screenshots are attached.
After patch:
**Duration**

**Execution time**

Closes #25855 from amanomer/SPARK29053.
Authored-by: aman_omer <amanomer1996@gmail.com>
Signed-off-by: Sean Owen <sean.owen@databricks.com>1 parent 25d4b3a commit b1978d2
File tree
1 file changed
+4
-2
lines changed- sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/ui
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
158 | | - | |
| 159 | + | |
| 160 | + | |
159 | 161 | | |
160 | 162 | | |
161 | 163 | | |
| |||
0 commit comments