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

Hive CLIDriver parses sql statement incorrectly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 3.1.1, 2.3.4
    • Fix Version/s: None
    • Component/s: 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
          feiwang

          Issue Links

            Activity

              People

              • Assignee:
                feiwang feiwang
                Reporter:
                feiwang feiwang
              • 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