[
https://issues.apache.org/jira/browse/PHOENIX-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14550819#comment-14550819
]
Gabriel Reid commented on PHOENIX-1984:
---------------------------------------
[~giacomotaylor] I'm limited to a phone and bad wifi for the next couple of
days, so won't be able to review/commit this until Thursday. I'll gladly do it
then, but if we want this in before then someone else will need to take it up.
> 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
>
> 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)