Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-2803

Impala treats quotes in comments as literal quotes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: Impala 2.3.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      The following query will not work in Impala even though it should

      -- It's working
      select 1;
      

      or

      /* It's working */ select 1;
      

      The reason seems to be that the quote in the comment is treated as a literal quote and not ignored. This has two very very negative consequences

      • The impala shell hangs when a comment with quotes is used and has to be killed.
      • When the query is submitted via beeswax / hs2 the error message is missing quote, but the Impala debug webpage only shows "Session closed" with no further error message. Making it very hard to debug and since Impala shell hangs it's not even possible for the user to check what's happening locally.

        Attachments

        1. Screen Shot 2015-12-29 at 9.08.33 AM.png
          42 kB
          Martin Grund
        2. Screen Shot 2015-12-29 at 9.08.36 AM.png
          98 kB
          Martin Grund

          Activity

            People

            • Assignee:
              alex.behm Alexander Behm
              Reporter:
              mgrund_impala_bb91 Martin Grund
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: