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

Semicolons in strings/comments are parsed as query-ending.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Query Processor
    • None

    Description

      This fails:
      select '.? (f_.?)[ ;$]' from akramer_one_row ;

      This succeeds:
      select '.? (f_.?)[ \;$]' from akramer_one_row ;

      ...there is no reasonable syntactic structure that wuold require the escaping of a semicolon in a '-marked string. The query parser should NOT split on semicolons that are in strings OR in comments.

      Attachments

        Activity

          People

            Unassigned Unassigned
            akramer Adam Kramer
            Votes:
            8 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated: