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

[Nit]: Change error text on Explain Query for Compute Stats Command

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • Impala 2.3.0, Impala 2.5.0
    • None
    • Frontend
    • None

    Description

      Minor fit & finish nit, but we should take care of it.

      Expected behavior:
      Attempting to perform an 'Explain Query' operation on a command to compute table stats should result in an explanation that explain query on a table stats call is an undefined operation.

      Observed behavior:
      Command: COMPUTE STATS orders;
      Output: AnalysisException: Syntax error in line 1: EXPLAIN COMPUTE STATS orders ^ Encountered: COMPUTE Expected: CREATE, INSERT, SELECT, VALUES, WITH CAUSED BY: Exception: Syntax error

      Why this should be fixed:
      The error should instruct the user that the operation they are trying to perform is not supported, instead of claiming that it is a syntax error, as the syntax is correct.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aleksshulman Aleksandr Shulman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: