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]


With regards,
Apache Git Services

Reply via email to