Rafal Wojdyla created HIVE-5909:
-----------------------------------
Summary: locate and instr throw java.nio.BufferUnderflowException
when empty string as substring
Key: HIVE-5909
URL: https://issues.apache.org/jira/browse/HIVE-5909
Project: Hive
Issue Type: Bug
Components: UDF
Affects Versions: 0.12.0
Reporter: Rafal Wojdyla
Locate and instr functions, try:
{code}
select * from foo_bar where locate("", "foobar")
{code}
or
{code}
select * from foo_bar where instr("foobar", "")
{code}
--
This message was sent by Atlassian JIRA
(v6.1#6144)