[
https://issues.apache.org/jira/browse/PHOENIX-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14716446#comment-14716446
]
Hudson commented on PHOENIX-2151:
---------------------------------
SUCCESS: Integrated in Phoenix-master #882 (See
[https://builds.apache.org/job/Phoenix-master/882/])
PHOENIX-2151 Two different UDFs called on same column return values from first
UDF only(Rajeshbabu) (rajeshbabu: rev 2f128ee8bd2273397abb1f2989e83657181b0486)
*
phoenix-core/src/it/java/org/apache/phoenix/end2end/UserDefinedFunctionsIT.java
*
phoenix-core/src/main/java/org/apache/phoenix/expression/function/UDFExpression.java
> Two different UDFs called on same column return values from first UDF only
> --------------------------------------------------------------------------
>
> Key: PHOENIX-2151
> URL: https://issues.apache.org/jira/browse/PHOENIX-2151
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.4.0
> Environment: Phoenix 4.4.0
> HBase 0.98_13
> Java 7
> Ubuntu 14.04.1 X64
> Reporter: Nicholas Whitehead
> Assignee: Rajeshbabu Chintaguntla
> Priority: Critical
> Fix For: 4.6.0
>
> Attachments: PHOENIX-2151.patch, PHOENIX-2151_v2.patch
>
>
> I have defined two different UDFs, say FOO(varchar) and BAR(varchar).
> If I execute a query such as:
> SELECT PK, FOO(NAME), BAR(NAME) FROM USERS, I get:
> ===================================================
> PK | FOO |
> BAR
> ===================================================
> 37546 | <Fooed Value> | <Fooed Value>
> If I reverse the order, I only get the Barred value (i.e. it ignores the 2nd
> and subsequent UDF operators)
> SELECT PK, BAR(NAME), FOO(NAME) FROM USERS, I get:
> ===================================================
> PK | BAR |
> FOO
> ===================================================
> 37546 | <Bared Value> | <Bared Value>
> Reproduced in plain command JDBC and Squirrel SQL.
> Packaged reproduction pending.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)