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

Hive CLIDriver parses sql statement incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • 2.3.4, 3.1.1
    • None
    • CLI

    Description

      Hive parse statement incorrectly when there is a semicolon in  a pair of double quote. 

      For example:
      The statement:

      select * from table_a where column_a not like "%;";

      Will be parsed to:

      select * from table_a where column_a not like "%

      Attachments

        1. HIVE-21345.01.patch
          2 kB
          Fei Wang

        Issue Links

          Activity

            People

              feiwang Fei Wang
              feiwang Fei Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h