[ 
https://issues.apache.org/jira/browse/HIVE-454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731643#action_12731643
 ] 

Edward Capriolo commented on HIVE-454:
--------------------------------------

Ashish,
I actually am working on a UDF where this became an issue. My .q file looks 
like this.

{noformat}
SELECT dboutput(
'jdbc:derby:../build/test_dboutput_db;create=true','',''
,'CREATE TABLE app_info ( kkey VARCHAR(255) NOT NULL, vvalue VARCHAR(255) NOT 
NULL )') , dboutput('jdbc:derby:../build/test_dboutput_db','','',
'INSERT INTO app_info (kkey,vvalue) VALUES (?,?)','1','a')
limit 1;
{noformat}

the ';create=true' section is failing. My nickname is 'Corner Case' :)

> Support escaping of ; in strings in cli
> ---------------------------------------
>
>                 Key: HIVE-454
>                 URL: https://issues.apache.org/jira/browse/HIVE-454
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Clients
>    Affects Versions: 0.3.0
>            Reporter: Ashish Thusoo
>            Assignee: Ashish Thusoo
>
> If ; appears in string literals in a query the hive cli is not able to escape 
> them properly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to