You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Rafal Wojdyla (JIRA)" <ji...@apache.org> on 2013/11/28 20:07:35 UTC

[jira] [Created] (HIVE-5909) locate and instr throw java.nio.BufferUnderflowException when empty string as substring

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)