HeartSaVioR commented on a change in pull request #27687: [SPARK-30943][SS]
Show "batch ID" in tool tip string for Structured Streaming UI graphs
URL: https://github.com/apache/spark/pull/27687#discussion_r383562219
##########
File path: core/src/main/resources/org/apache/spark/ui/static/streaming-page.js
##########
@@ -171,7 +171,7 @@ function drawTimeline(id, data, minX, maxX, minY, maxY,
unitY, batchInterval) {
.attr("cy", function(d) { return y(d.y); })
.attr("r", function(d) { return isFailedBatch(d.x) ? "2" : "3";})
.on('mouseover', function(d) {
- var tip = formatYValue(d.y) + " " + unitY + " at " +
timeFormat[d.x];
+ var tip = formatYValue(d.y) + " " + unitY + " at " +
timeTipStrings[d.x];
Review comment:
So we explicitly use different variable for showing tip as extension point -
input from DStream and input and Structured Streaming will be different.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]