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

Hive CLIDriver parses sql statement incorrectly

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

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

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

              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

                Issue deployment