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

Comments in impala-shell in interactive mode are not handled properly causing syntax errors or wrong results

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 0.7
    • Impala 1.1
    • Clients

    Description

      Although impala-shell allows - single-line comments in batch mode via the -f option, it gives 'unrecognized command' errors if such comments are entered at the command prompt:

      [localhost:21000] > - foo
      Unrecognized command
      [localhost:21000] > /* foo */
      Unrecognized command

      The command shell should allow comments the same way that -f processing does. Sometimes a user running code might copy and paste a range of lines. Sometimes a user conducting interactiv experiments might enter their own commentary during an impala-shell session, e.g. if they were using 'script' to save all the session output to a log file.

      I include /* */ comments in this request because IMPALA-191 asks for impala-shell to allow that style of comments also.

      Attachments

        Activity

          People

            lskuff Lenni Kuff
            jrussell John Russell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: