Sahil Takiar has uploaded this change for review. ( http://gerrit.cloudera.org:8080/16585
Change subject: IMPALA-10180: Add average size of fetch requests in runtime profile ...................................................................... IMPALA-10180: Add average size of fetch requests in runtime profile When debugging slow fetch requests, it is useful to know the client configured client size. This information is useful to see if the client is fetching too few rows at a time. Currently, there is no way to figure out the fetch size from the runtime profile, since it is often a client side setting. This patch adds a new summary stat called NumRowsFetchedPerRequest, which tracks the min, max, and average size of the rows returned by Impala per fetch request. Since the client can specify a different number of rows to fetch per fetch request, a summary counter is necessary. Testing: * Ran core tests * Added new tests to test_fetch.py Change-Id: Icf54e265e548c6fbca7b1ecfa8a1613ed3094e3f --- M be/src/service/client-request-state.cc M be/src/service/client-request-state.h M tests/query_test/test_fetch.py 3 files changed, 34 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/85/16585/1 -- To view, visit http://gerrit.cloudera.org:8080/16585 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Icf54e265e548c6fbca7b1ecfa8a1613ed3094e3f Gerrit-Change-Number: 16585 Gerrit-PatchSet: 1 Gerrit-Owner: Sahil Takiar <[email protected]>
