Xianqing He has uploaded this change for review. ( 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. 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/1 -- 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: newchange Gerrit-Change-Id: Icd4d73c21106048df68a270cf03d4abd56bd3aac Gerrit-Change-Number: 18711 Gerrit-PatchSet: 1 Gerrit-Owner: Xianqing He <[email protected]>
