You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ryan Shih (JIRA)" <ji...@apache.org> on 2009/03/04 04:02:56 UTC

[jira] Created: (HIVE-321) Can not use semicolons in queries in CLI

Can not use semicolons in queries in CLI
----------------------------------------

                 Key: HIVE-321
                 URL: https://issues.apache.org/jira/browse/HIVE-321
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Query Processor
    Affects Versions: 0.2.0
            Reporter: Ryan Shih
            Priority: Minor


There's no way to use semicolons in a string in a given query. The CLI will to a String.split() at semicolons and as a result if we need to do another queries such as: select food_items from groceries where name like '%apples; bananas; oranges;%', then it will return an error because of a badly formatted query. There should be a way to escape semicolons in strings when that is the intention.

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


[jira] Resolved: (HIVE-321) Can not use semicolons in queries in CLI

Posted by "Edward Capriolo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward Capriolo resolved HIVE-321.
----------------------------------

    Resolution: Duplicate

This was resolved in https://issues.apache.org/jira/browse/HIVE-454

> Can not use semicolons in queries in CLI
> ----------------------------------------
>
>                 Key: HIVE-321
>                 URL: https://issues.apache.org/jira/browse/HIVE-321
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.2.0
>            Reporter: Ryan Shih
>            Priority: Minor
>
> There's no way to use semicolons in a string in a given query. The CLI will to a String.split() at semicolons and as a result if we need to do another queries such as: select food_items from groceries where name like '%apples; bananas; oranges;%', then it will return an error because of a badly formatted query. There should be a way to escape semicolons in strings when that is the intention.

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