[
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: [email protected]
For additional commands, e-mail: [email protected]