[
https://issues.apache.org/jira/browse/PHOENIX-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14551910#comment-14551910
]
Prashant Kommireddi commented on PHOENIX-1989:
----------------------------------------------
[~jamestaylor] [~naveenmadhire] how do you plan on string searching multibyte
characters, returning the right indexOf() ?
For instance - *AɚɦFGH* byte representation is *[65, -55, -102, -55, -90, 70,
71, 72]*. Length of the string is a function of the charset, would a plain byte
matching work? Curious!
> Implement byte-based INSTR instead of serializing into String
> -------------------------------------------------------------
>
> Key: PHOENIX-1989
> URL: https://issues.apache.org/jira/browse/PHOENIX-1989
> Project: Phoenix
> Issue Type: Bug
> Reporter: James Taylor
>
> The current implementation of INSTR serializes the arguments as Strings. It'd
> be much more efficient to leave them as bytes and do the in-string search
> based on bytes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)