[
https://issues.apache.org/jira/browse/HIVE-6843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13961957#comment-13961957
]
Clif Kranish commented on HIVE-6843:
------------------------------------
Sorry, copy/paste got me. They _look_ the same. And sorry about the curly
quotes, I don't know where they came from.
The real issue is that for UTF-8 INSTR returns the position in bytes instead of
characters. So this reutrns a 9 where by my count it should be a 5. Thank you
for your support.
select INSTR ('НАСТРОЕние', 'Р') from ....
> INSTR for UTF-8 returns incorrect position
> ------------------------------------------
>
> Key: HIVE-6843
> URL: https://issues.apache.org/jira/browse/HIVE-6843
> Project: Hive
> Issue Type: Bug
> Components: UDF
> Affects Versions: 0.11.0, 0.12.0
> Reporter: Clif Kranish
> Assignee: Szehon Ho
> Priority: Minor
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)