phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-2151) Two different UDFs called on same column return values from first UDF only
Date Wed, 26 Aug 2015 05:34:46 GMT

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

James Taylor commented on PHOENIX-2151:
---------------------------------------

[~rajeshbabu]?

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

Mime
View raw message