asterixdb-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murtadha Hubail (Code Review)" <>
Subject Change in hyracks[master]: Add flush() to IFrameWriter
Date Thu, 21 Jan 2016 07:55:26 GMT
Murtadha Hubail has posted comments on this change.

Change subject: Add flush() to IFrameWriter

Patch Set 3:

File algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/operators/aggreg/

Line 147:             public void flush() throws HyracksDataException {
Add comment to why this operator doesn't need to implement flush()
File algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/operators/meta/

Line 163:                 if (startOfPipeline != null) {
why would this be null? If the sequence of calls is done correctly, then this will never be
File hyracks/hyracks-control/hyracks-control-nc/src/main/java/org/apache/hyracks/control/nc/partitions/

Line 124:         if (!failed) {
better make the check before ensureConnected()
File hyracks/hyracks-dataflow-common/src/main/java/org/apache/hyracks/dataflow/common/comm/io/

Line 94:         tupleAppender.flush(frameWriter, true);
should this flush its frameWriter as well?
File hyracks/hyracks-dataflow-std/src/main/java/org/apache/hyracks/dataflow/std/connectors/

Line 157:         for (IFrameWriter pWriter : pWriters) {
I think you should flush the appenders first.
File hyracks/hyracks-dataflow-std/src/main/java/org/apache/hyracks/dataflow/std/connectors/

Line 147:         int consumerPartitionCount = appenders.length;
no need to assign this value.

Line 151:                 pWriters[i].flush();
This should be outside the if statement
File hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/dataflow/

Line 170:         appender.flush(writer, true);
check if count > 0

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I85424bab7965b71aac709280af066e1655457aa3
Gerrit-PatchSet: 3
Gerrit-Project: hyracks
Gerrit-Branch: master
Gerrit-Owner: abdullah alamoudi <>
Gerrit-Reviewer: Jenkins <>
Gerrit-Reviewer: Murtadha Hubail <>
Gerrit-Reviewer: Yingyi Bu <>
Gerrit-HasComments: Yes

View raw message