You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/03/06 14:59:00 UTC

[jira] [Commented] (METRON-1461) MIN MAX stellar function should take a stats or list object and return min/max

    [ https://issues.apache.org/jira/browse/METRON-1461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16387902#comment-16387902 ] 

ASF GitHub Bot commented on METRON-1461:
----------------------------------------

Github user nickwallen commented on the issue:

    https://github.com/apache/metron/pull/942
  
    @MohanDV - It looks like some care was taken previously so that getting the max of a list of mixed elements will just work.  For example `MAX([1, 2d, 3f]) == 3f`.  
    
    Did you consider an implementation such that this would continue to work with STATS objects?  I imagine that something like the following could be made to work; `MAX[1, 2d, 3f, stats]`?  
    
    What do you think?
    



> MIN MAX stellar function should take a stats or list object and return min/max
> ------------------------------------------------------------------------------
>
>                 Key: METRON-1461
>                 URL: https://issues.apache.org/jira/browse/METRON-1461
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Mohan
>            Assignee: Mohan
>            Priority: Minor
>
> Currently the MIN and MAX stellar function accepts only the list  as input and the list may only contain objects that are mutually comparable / ordinal. Modify the method to take a stats or list object and return min/max.
>  * [|https://hortonworks.jira.com/secure/AddComment!default.jspa?id=163485]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)