You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/14 03:44:41 UTC
[jira] [Commented] (DRILL-5352) Extend test framework profile
parser printer for multi-fragment queries
[ https://issues.apache.org/jira/browse/DRILL-5352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15923501#comment-15923501 ]
ASF GitHub Bot commented on DRILL-5352:
---------------------------------------
GitHub user paul-rogers opened a pull request:
https://github.com/apache/drill/pull/782
DRILL-5352: Profile parser printing for multi fragments
Enhances the recently added ProfileParser to display run times for
queries that contain multiple fragments. (The original version handled
just a single fragment.)
Prints the query in “classic” mode if it is linear, or in the new
semi-indented mode if the query forms a tree.
Also cleans up formatting - removing spaces between parens.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/paul-rogers/drill DRILL-5352
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/782.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #782
----
commit 6f07584ac0bf0778d1164ab0b169dfba27957a1d
Author: Paul Rogers <pr...@maprtech.com>
Date: 2017-03-14T03:43:25Z
DRILL-5352: Profile parser printing for multi fragments
Enhances the recently added ProfileParser to display run times for
queries that contain multiple fragments. (The original version handled
just a single fragment.)
Prints the query in “classic” mode if it is linear, or in the new
semi-indented mode if the query forms a tree.
Also cleans up formatting - removing spaces between parens.
----
> Extend test framework profile parser printer for multi-fragment queries
> -----------------------------------------------------------------------
>
> Key: DRILL-5352
> URL: https://issues.apache.org/jira/browse/DRILL-5352
> Project: Apache Drill
> Issue Type: Improvement
> Affects Versions: 1.10.0
> Reporter: Paul Rogers
> Assignee: Paul Rogers
> Priority: Minor
> Fix For: 1.11.0
>
>
> The recently added test framework has a tool called the {{ProfileParser}} which started as a tool for analyzing run times of single-fragment queries. Over time, it evolved to compare planned and actual cost for multi-fragment queries.
> This ticket requests that multi-fagment support be added to the printing of run times.
> If a query is single-thread, print the query as in the prior version:
> {code}
> Op: 0 Screen
> Setup: 0 - 0%, 0%
> Process: 35 - 0%, 0%
> Wait: 16
> Memory: 10
> Op: 1 Project
> Setup: 22 - 1%, 0%
> Process: 41 - 0%, 0%
> Memory: 5
> ...
> {code}
> If the query is multi-fragment and forms a tree, use the format used to display planning vs. actual info:
> {code}
> 03-09 . . Project
> Setup: 0 ms - 0%, 0%
> Process: 0 ms - 0%, 0%
> 03-10 . . HashJoin (HASH JOIN)
> Setup: 0 ms - 0%, 0%
> Process: 5,097,619 ms - 326770%, 73%
> 03-12 . . . . Project
> Setup: 36 ms - 2%, 0%
> Process: 180 ms - 11%, 0%
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)