Steve Carlin has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/23562 )

Change subject: IMPALA-13902: Calcite planner: Implement is_spool_query_results
......................................................................


Patch Set 8:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/23562/8/fe/src/main/java/org/apache/impala/planner/PlanRootSink.java
File fe/src/main/java/org/apache/impala/planner/PlanRootSink.java:

http://gerrit.cloudera.org:8080/#/c/23562/8/fe/src/main/java/org/apache/impala/planner/PlanRootSink.java@220
PS8, Line 220:       // Need to disableResultSpooling if spoolResults_ is set 
to false so that
             :       // the query option 'spool_query_results' is set to false.
             :       disableResultSpooling(queryOptions);
> This can be avoided if CalciteSingleNodePlanner.createDataSink() disable th
Just gonna comment here but this is relevant to a lot of the comments...

The comment at line 119 isn't true, which is why the "disable" is set here.

As for this specific comment:  Lines 129 and 174 in this file is the reason why 
they may be different.  Those are extra checks.

So I wanted to keep the disabling all in one place which is why I put it 
here...after the scratch directories were checked.

Heh, this option is kind of a mess which is why I put the comment in at line 
227.  I don't think there is a clean solution without a little bit more 
refactoring and I wanted to keep this change fairly small.



--
To view, visit http://gerrit.cloudera.org:8080/23562
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I5b9bf49e2874ee12de212b892bd898c296774c6f
Gerrit-Change-Number: 23562
Gerrit-PatchSet: 8
Gerrit-Owner: Steve Carlin <[email protected]>
Gerrit-Reviewer: Aman Sinha <[email protected]>
Gerrit-Reviewer: Fang-Yu Rao <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>
Gerrit-Reviewer: Steve Carlin <[email protected]>
Gerrit-Comment-Date: Wed, 12 Nov 2025 21:40:28 +0000
Gerrit-HasComments: Yes

Reply via email to