-
Couldn't load subscription status.
- Fork 28.9k
[SPARK-28599][SQL] Fix Execution Time and Duration column sorting for ThriftServerSessionPage
#25892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
cc @amanomer |
|
Looks good. Nice catch @wangyum . |
|
Test build #111154 has finished for PR 25892 at commit
|
|
I would like to take this in branch-2.4 by #25882. |
|
BTW, @wangyum . |
|
Ok. I have created another PR #25893 to back-port this to branch-2.4. |
|
Hi, @wangyum . |
|
In addition, this PR description is wrong. This is UI PR and that's the reason why you attach the screenshot. Could you fix the PR description?
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Execution Time and Duration columns for ThriftServerSessionPageExecution Time and Duration column sorting for ThriftServerSessionPage
|
Merged to master. |
|
I changed SPARK-28599 from |
… for ThriftServerSessionPage This PR add support sorting `Execution Time` and `Duration` columns for `ThriftServerSessionPage`. Previously, it's not sorted correctly. Yes. Manually do the following and test sorting on those columns in the Spark Thrift Server Session Page. ``` $ sbin/start-thriftserver.sh $ bin/beeline -u jdbc:hive2://localhost:10000 0: jdbc:hive2://localhost:10000> create table t(a int); +---------+--+ | Result | +---------+--+ +---------+--+ No rows selected (0.521 seconds) 0: jdbc:hive2://localhost:10000> select * from t; +----+--+ | a | +----+--+ +----+--+ No rows selected (0.772 seconds) 0: jdbc:hive2://localhost:10000> show databases; +---------------+--+ | databaseName | +---------------+--+ | default | +---------------+--+ 1 row selected (0.249 seconds) ``` **Sorted by `Execution Time` column**:  **Sorted by `Duration` column**:  Closes apache#25892 from wangyum/SPARK-28599. Authored-by: Yuming Wang <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
What changes were proposed in this pull request?
This PR add support sorting
Execution TimeandDurationcolumns forThriftServerSessionPage.Why are the changes needed?
Previously, it's not sorted correctly.
Does this PR introduce any user-facing change?
Yes.
How was this patch tested?
Manually do the following and test sorting on those columns in the Spark Thrift Server Session Page.
Sorted by

Execution Timecolumn:Sorted by

Durationcolumn: