You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Antoni Ivanov (JIRA)" <ji...@apache.org> on 2017/11/22 07:03:00 UTC

[jira] [Created] (IMPALA-6234) COMPUTE incremental stats with partition specs fails if no partition found

Antoni Ivanov created IMPALA-6234:
-------------------------------------

             Summary: COMPUTE incremental stats with partition specs fails if no partition found
                 Key: IMPALA-6234
                 URL: https://issues.apache.org/jira/browse/IMPALA-6234
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
    Affects Versions: Impala 2.8.0
         Environment: Impala-Shell: v2.8.0-cdh5.11.1 (3382c1c) 
Linux   2.6.32-504.8.1.el6.x86_64 Centos 6

Impala JDBC: 2.5.29
            Reporter: Antoni Ivanov


I noticed that if no partition matches the "query" the compute stats fails (and hangs it doesn't get clean up): 
E.g COMPUTE INCREMENTAL STATS `foo` PARTITION (partition_column != partition_column) - no partition would be matched
returns the following error:
AnalysisException: Syntax error in line 1:
...M history.astro_ui WHERE () GROUP BY pa__arrival_day, ...
^
Encountered: )
Expected: CASE, CAST, DEFAULT, EXISTS, FALSE, IF, INTERVAL, NOT, NULL, REPLACE, SELECT, TRUNCATE, TRUE, VALUES, WITH, IDENTIFIER
CAUSED BY: Exception: Syntax error

Also when using JDBC Impala Driver the query hangs until the connection is closed (and not just the statement) We are using Impala JBDC version 2.5.29. The query is in state "waiting to be closed" 





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)