You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Loknath Priyatham Teja Singamsetty (JIRA)" <ji...@apache.org> on 2017/05/09 09:38:04 UTC

[jira] [Commented] (PHOENIX-3840) Functions extending FirstLastValueBaseFunction returning NAME as null instead of actual function name

    [ 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)