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

Beeline should escape semi-colon in queries

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 1.1.0
    • Fix Version/s: 1.3.0, 2.0.0
    • Component/s: Beeline
    • Labels:
      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: