Xianqing He has uploaded a new patch set (#4). ( 
http://gerrit.cloudera.org:8080/18711 )

Change subject: IMPALA-11418: The only select constant statement need not to 
spool results
......................................................................

IMPALA-11418: The only select constant statement need not to spool results

The statement only select constant need not to spool query results.
This query can execute with no reservation, but if enable result
spooling it will set the minimum memory reservation in PlanRootSink,
e.g. 'select 1' minimum memory reservation is 4MB.

The only select constant statement with no reservation also reduce
the exception 'Failed to get minimum memory reservation' if the host
memory limit not available.

Testing:
- Add tests in result-spooling.test

Change-Id: Icd4d73c21106048df68a270cf03d4abd56bd3aac
---
M fe/src/main/java/org/apache/impala/analysis/AnalysisContext.java
M fe/src/main/java/org/apache/impala/analysis/SelectStmt.java
M testdata/workloads/functional-planner/queries/PlannerTest/result-spooling.test
3 files changed, 65 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/11/18711/4
--
To view, visit http://gerrit.cloudera.org:8080/18711
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Icd4d73c21106048df68a270cf03d4abd56bd3aac
Gerrit-Change-Number: 18711
Gerrit-PatchSet: 4
Gerrit-Owner: Xianqing He <hexianqing...@126.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>

Reply via email to