Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11100

Beeline should escape semi-colon in queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.0, 1.2.0
    • 1.3.0, 2.0.0
    • Beeline
    • None

    Description

      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.

      Attachments

        1. HIVE-11100.patch
          6 kB
          Chaoyu Tang

        Issue Links

          Activity

            People

              ctang Chaoyu Tang
              ctang Chaoyu Tang
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: