You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Chaoyu Tang (JIRA)" <ji...@apache.org> on 2015/06/24 23:29:04 UTC

[jira] [Created] (HIVE-11100) Beeline should escape semi-colon in queries

Chaoyu Tang created HIVE-11100:
----------------------------------

             Summary: Beeline should escape semi-colon in queries
                 Key: HIVE-11100
                 URL: https://issues.apache.org/jira/browse/HIVE-11100
             Project: Hive
          Issue Type: Improvement
          Components: Beeline
    Affects Versions: 1.2.0
            Reporter: Chaoyu Tang
            Assignee: Chaoyu Tang
            Priority: Minor


Beeline should escape the semicolon in queries. for example, the query like followings:
CREATE TABLE beeline_tb (c1 int, c2 string) ROW FORMAT DELIMITED FIELDS TERMINATED BY ';' LINES TERMINATED BY '\n';
or 
CREATE TABLE beeline_tb (c1 int, c2 string) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\;' LINES TERMINATED BY '\n';
both failed.
But the 2nd query with semicolon escaped with "\" works in CLI.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)