Skip to content

Commit

Permalink
Merge pull request #110 from dabaitu/addCpuTime
Browse files Browse the repository at this point in the history
Add query cpu time for BigQuery comparison
  • Loading branch information
Yaliang authored Oct 17, 2017
2 parents 8b0e19e + b7a4ed1 commit 16b8aa6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion twitter-eventlistener-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<dependency>
<groupId>com.twitter</groupId>
<artifactId>presto-thrift-java</artifactId>
<version>0.0.4</version>
<version>0.0.5</version>
<exclusions>
<exclusion>
<groupId>com.twitter</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ private static QueryCompletionEvent toThriftQueryCompletionEvent(QueryCompletedE
thriftEvent.query_wall_time_ms = eventStat.getWallTime().toMillis();
thriftEvent.cumulative_memory_bytesecond = eventStat.getCumulativeMemory();
thriftEvent.peak_memory_bytes = eventStat.getPeakMemoryBytes();
thriftEvent.cpu_time_ms = eventStat.getCpuTime().toMillis();
if (eventStat.getAnalysisTime().isPresent()) {
thriftEvent.analysis_time_ms = eventStat.getAnalysisTime().get().toMillis();
}
Expand Down

0 comments on commit 16b8aa6

Please sign in to comment.