[
https://issues.apache.org/jira/browse/IMPALA-11915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17726399#comment-17726399
]
ASF subversion and git services commented on IMPALA-11915:
----------------------------------------------------------
Commit 58a94268ba2b719d0ca289f9635992a3ca700976 in impala's branch
refs/heads/master from Surya Hebbar
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=58a94268b ]
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
Reviewed-on: http://gerrit.cloudera.org:8080/19763
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Kurt Deschler <[email protected]>
Reviewed-by: Wenzhe Zhou <[email protected]>
> Support timeline and graphical plan exports in the webUI
> --------------------------------------------------------
>
> Key: IMPALA-11915
> URL: https://issues.apache.org/jira/browse/IMPALA-11915
> Project: IMPALA
> Issue Type: New Feature
> Reporter: Quanlong Huang
> Assignee: Surya Hebbar
> Priority: Major
> Labels: supportability
> Attachments: export_button.png, export_modal.png,
> export_plan_example_70b4ecc5f6aec963e_85221a3b00000000_plan.html,
> export_timeline_example_0b4ecc5f6aec963e_85221a3b00000000_timeline.svg,
> exported_plan.png, exported_timeline.png, plan_download_button.png,
> plan_export_modal.png, svg_wrapped_export.html, text_selection.png,
> timeline_download_button.png, timeline_export_modal.png
>
>
> The graphical plan in the web UI is useful. It'd be nice to provide a button
> to download the svg picture.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]