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 "Joe McDonnell (Jira)" <ji...@apache.org> on 2020/04/24 21:51:00 UTC

[jira] [Updated] (IMPALA-7969) Always admit trivial queries immediately

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

Joe McDonnell updated IMPALA-7969:
----------------------------------
    Target Version: Impala 4.0  (was: Impala 3.4.0)

> Always admit trivial queries immediately
> ----------------------------------------
>
>                 Key: IMPALA-7969
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7969
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Backend
>            Reporter: Tim Armstrong
>            Assignee: Bikramjeet Vig
>            Priority: Major
>              Labels: admission-control
>
> Here are two common query types that consume minimal resources:
> * {{select ... from ... limit 0}}, which is used by some clients to determine column types
> * {{select <expr1>, <expr2>, <expr3>}}, which just evaluates some constant expressions on the coordinator
> Currently these queries get queued if there are existing queued queries or the number of queries limit is exceeded, which is inconvenient for use cases where latency is important. I think the planner should identify trivial queries and admission controller should admit immediately.
> Here's an initial thought on the definition of a trivial query:
> * Must have PLAN ROOT SINK as the root
> * Can contain UNION and EMPTYSET nodes only



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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