GitHub user WangTaoTheTonic opened a pull request:
https://github.com/apache/spark/pull/15838
[SPARK-18396]"Duration" column makes search result confused, maybe we
should make it unsearchable
## What changes were proposed in this pull request?
When we search data in History Server, it will check if any columns
contains the search string. Duration is represented as long value in table, so
if we search simple string like "003", "111", the duration containing "003",
â111â will be showed, which make not much sense to users.
We cannot simply transfer the long value to meaning format like "1 h", "3.2
min" because they are also used for sorting. Better way to handle it is ban
"Duration" columns from searching.
## How was this patch tested?
manually tests. I will pasted the UI lately.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/WangTaoTheTonic/spark duration
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15838.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #15838
----
commit 8c9ef2141819aa7ab6fc0d243f61f280d4533d4c
Author: WangTaoTheTonic <[email protected]>
Date: 2016-11-10T08:34:06Z
make duration un-searchable
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]