>From Ian Maxon <ima...@apache.org>:

Ian Maxon has uploaded a new patch set (#2). ( 
https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/20069 )

Change subject: [ASTERIXDB-3628][RT] Correct subplan profiles
......................................................................

[ASTERIXDB-3628][RT] Correct subplan profiles

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

Currently subplan timing information is calculated during close().
This can lead to inaccuracies in the timing, especially when the
subplan is near the end of a task pipeline, because other
operator's times are calculated after close, during deinitialize().

Correct this by adding the capability in the MetaOperator to invoke a
method on each ProfiledPushRuntime SubplanPushRuntime to calculate the
timings, so it can be invoked at the proper time as to retrieve the
correct time from its downstream operators.

Ext-ref: MB-67499

Change-Id: I4d38710626778ef52abb1cd4fe1e0b26e0d74bec
---
A 
hyracks-fullstack/algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/base/IProfiledPushRuntime.java
M 
hyracks-fullstack/algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/operators/meta/SubplanRuntimeFactory.java
M 
hyracks-fullstack/algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/base/ProfiledPushRuntime.java
M 
hyracks-fullstack/algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/operators/meta/PipelineAssembler.java
M 
hyracks-fullstack/algebricks/algebricks-runtime/src/main/java/org/apache/hyracks/algebricks/runtime/operators/meta/AlgebricksMetaOperatorDescriptor.java
5 files changed, 100 insertions(+), 13 deletions(-)


  git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb 
refs/changes/69/20069/2
--
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/20069
To unsubscribe, or for help writing mail filters, visit 
https://asterix-gerrit.ics.uci.edu/settings

Gerrit-Project: asterixdb
Gerrit-Branch: ionic
Gerrit-Change-Id: I4d38710626778ef52abb1cd4fe1e0b26e0d74bec
Gerrit-Change-Number: 20069
Gerrit-PatchSet: 2
Gerrit-Owner: Ian Maxon <ima...@apache.org>
Gerrit-CC: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Gerrit-MessageType: newpatchset

Reply via email to