Prathmesh Sapate has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/24539


Change subject: IMPALA-12391: Include event sequence names in runtime profile 
JSON
......................................................................

IMPALA-12391: Include event sequence names in runtime profile JSON

When retrieving profiles in JSON format, event_sequences was
represented as an array of sequences instead of a map. The
EventSequence names (e.g. "Query Compilation", "Query Timeline")
were missing.

Change event_sequences_json to use kObjectType and add the
EventSequence names as object keys in RuntimeProfile and
AggregatedRuntimeProfile ToJson.

Testing:
- Updated ToJson.RuntimeProfileToJsonTest for object-keyed sequences.
- Updated AggregatedEventSequenceToJsonTest.

Change-Id: I72d3f4bef00fd5a809878724e30d1275e5989903
---
M be/src/util/runtime-profile-test.cc
M be/src/util/runtime-profile.cc
2 files changed, 59 insertions(+), 33 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/39/24539/1
--
To view, visit http://gerrit.cloudera.org:8080/24539
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I72d3f4bef00fd5a809878724e30d1275e5989903
Gerrit-Change-Number: 24539
Gerrit-PatchSet: 1
Gerrit-Owner: Prathmesh Sapate <[email protected]>

Reply via email to