Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
Impala 2.3.0, Impala 2.5.0
-
None
-
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
- duplicates
-
IMPALA-4755 Add EXPLAIN for COMPUTE STATS
- Open