parthchandra commented on a change in pull request #1358: DRILL-6516: EMIT
support in streaming agg
URL: https://github.com/apache/drill/pull/1358#discussion_r201170512
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/StreamingAggTemplate.java
##########
@@ -297,16 +413,33 @@ private final void resetIndex() {
incIndex();
}
- private final AggOutcome setOkAndReturn() {
- if (first) {
- this.outcome = IterOutcome.OK_NEW_SCHEMA;
+ /**
+ * Set the outcome to OK (or OK_NEW_SCHEMA) and return the AggOutcome
parameter
+ * @param outcome
+ * @return outcome
+ */
+ private final AggOutcome setOkAndReturn( IterOutcome outcome) {
Review comment:
Done.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services