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-1984) Return value of INSTR should be one-based instead of zero-based
Date Mon, 01 Jun 2015 23:41:17 GMT

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

James Taylor commented on PHOENIX-1984:
---------------------------------------

[~rajeshbabu] - pushed this to 4.4 branches as well so that we can surface INSTR built-in

> Return value of INSTR should be one-based instead of zero-based
> ---------------------------------------------------------------
>
>                 Key: PHOENIX-1984
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1984
>             Project: Phoenix
>          Issue Type: Sub-task
>            Reporter: James Taylor
>            Assignee: Naveen Madhire
>             Fix For: 5.0.0, 4.5.0, 4.4.1
>
>
> String functions in SQL are one-based, not zero-based. One should be added to the return
value of the INSTR function as it's returning a zero-based return value current.
> We'll hold off on documenting this built-in until this is corrected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message