You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2018/10/30 17:34:00 UTC

[jira] [Updated] (IMPALA-2398) [Nit]: Change error text on Explain Query for Compute Stats Command

     [ https://issues.apache.org/jira/browse/IMPALA-2398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Armstrong updated IMPALA-2398:
----------------------------------
    Issue Type: Improvement  (was: Bug)

> [Nit]: Change error text on Explain Query for Compute Stats Command
> -------------------------------------------------------------------
>
>                 Key: IMPALA-2398
>                 URL: https://issues.apache.org/jira/browse/IMPALA-2398
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Frontend
>    Affects Versions: Impala 2.3.0, Impala 2.5.0
>            Reporter: Aleksandr Shulman
>            Priority: Minor
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org