phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Loknath Priyatham Teja Singamsetty (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3840) Functions extending FirstLastValueBaseFunction returning NAME as null instead of actual function name
Date Tue, 09 May 2017 09:38:04 GMT

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

Loknath Priyatham Teja Singamsetty  commented on PHOENIX-3840:
--------------------------------------------------------------

Fixed the bug and attached the patch here.

FYI : [~jamestaylor] [~samarthjain]

> Functions extending FirstLastValueBaseFunction returning NAME as null instead of actual
function name
> -----------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-3840
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3840
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.9.0, 4.10.0
>            Reporter: Loknath Priyatham Teja Singamsetty 
>            Assignee: Loknath Priyatham Teja Singamsetty 
>            Priority: Minor
>             Fix For: 4.11.0, 4.10.1
>
>         Attachments: PHOENIX-3840.patch
>
>
> The NTH_VALUE, FIRST_VALUE and other functions extending FirstLastValueBaseFunction are
printing NAME as null because in Java the member variables are always binded to the reference
type, the super class type referencing to sub class object is using the super class member
variable which is initialised to null.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message