Surya Hebbar has uploaded a new patch set (#13). ( 
http://gerrit.cloudera.org:8080/19763 )

Change subject: IMPALA-11915: Support graphical plan and timeline exports in 
the WebUI
......................................................................

IMPALA-11915: Support graphical plan and timeline exports in the WebUI

This adds support for exporting the query plan and timeline
in SVG format for better scaling and text selection.

The plan and timeline export buttons embed the CSS styling for
foreign objects and the rendered SVG viewport into a blob,
enclosed within HTML tags.

Timeline overflow's are associated with each SVG component,
instead of the entire diagram.

To preserve appropriate styling such as SVG component's borders,
for each SVG component, DOM elements are deep cloned as wrappers
during the export.

Memory resources consumed from the ObjectURLs are cleared
after each export, once previous references are out of scope.

SVG viewer implementations for XML namespaces to render
foreign objects with CSS styling differs, and are not always
supported. To avoid such problems, the plan export SVGs
have been enclosed within a HTML wrapper.

Replacement of foreign objects in the graphical plan with
SVG elements such as <text> would allow SVG exports within
the same namespace.

Both the query plan and timeline exports contain 'query_id'
as a header.

Text styling has been preserved in query plan's node text and
edge text. Also with timeline's SVG components such as
'fragment_diagram', 'phases_header' and 'timeticks_footer'.

Testing: Manual testing with with TPC-H and TPS-DS queries

Change-Id: I1bd549318e220419ba3ee40be05f3671a9f1d8d9
---
M www/query_plan.tmpl
M www/query_timeline.tmpl
2 files changed, 143 insertions(+), 21 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/63/19763/13
--
To view, visit http://gerrit.cloudera.org:8080/19763
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1bd549318e220419ba3ee40be05f3671a9f1d8d9
Gerrit-Change-Number: 19763
Gerrit-PatchSet: 13
Gerrit-Owner: Surya Hebbar <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Kurt Deschler <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Surya Hebbar <[email protected]>
Gerrit-Reviewer: Wenzhe Zhou <[email protected]>

Reply via email to