[
https://issues.apache.org/jira/browse/KNOX-2052?focusedWorklogId=324913&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-324913
]
ASF GitHub Bot logged work on KNOX-2052:
----------------------------------------
Author: ASF GitHub Bot
Created on: 08/Oct/19 07:49
Start Date: 08/Oct/19 07:49
Worklog Time Spent: 10m
Work Description: smolnar82 commented on issue #163: KNOX-2052 -
KnoxShellTable mean, median, and mode methods
URL: https://github.com/apache/knox/pull/163#issuecomment-539393241
> > Another idea: once you added `long` support you may consider `Date` or
`Timestamp` columns using `getTime()`. What do you think?
>
> @smolnar82 I could see this being useful with finding `mode,` but not
quite sure how the rest of the methods here would lend themselves to a
date/timestamp. `Max` and `min` could also be useful but I would think that
would be more of `sort` thing where you would want the table itself displayed
in order with max/min on respective ends of the table. Are there any specific
use cases you had in mind? This might be going over my head. Filing a separate
JIRA might be a good idea for this.
I believe selecting the `min` and `max` date/timestamp is very useful and
frequently used in applications dealing with those data types (e.g. give me the
last time John logged in). It's true that the same can be achieved with sorting
(ascending/descending) and selecting the first element from the result. I'll
create a new JIRA.
----------------------------------------------------------------
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 324913)
Time Spent: 2h 40m (was: 2.5h)
> KnoxShellTable mean, median, and mode methods
> ---------------------------------------------
>
> Key: KNOX-2052
> URL: https://issues.apache.org/jira/browse/KNOX-2052
> Project: Apache Knox
> Issue Type: Improvement
> Components: KnoxShell
> Reporter: Ljmiv
> Assignee: Ljmiv
> Priority: Major
> Fix For: 1.4.0
>
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> Would be beneficial to be able to get the mean, median, and mode values from
> columns in a table. No such functions exist as of now.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)