phoenix-dev mailing list archives

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

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

Hudson commented on PHOENIX-3840:
---------------------------------

FAILURE: Integrated in Jenkins build Phoenix-master #1614 (See [https://builds.apache.org/job/Phoenix-master/1614/])
PHOENIX-3840 Functions extending FirstLastValueBaseFunction returning (samarth: rev 0e652b6ecd9081ddfddc32854a08fc68684e8958)
* (edit) phoenix-core/src/main/java/org/apache/phoenix/expression/function/LastValueFunction.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/expression/function/NthValueFunction.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/expression/function/FirstValueFunction.java
* (edit) phoenix-core/src/main/java/org/apache/phoenix/expression/function/FirstLastValueBaseFunction.java


> 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