You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2023/04/12 17:03:14 UTC

[doris] 30/33: [fix](profile) fix show load query profile (#18487)

This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch doris-for-zhongjin
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 51cedac802fc4f49f669233cdd0e7f0fb22698b3
Author: Mingyu Chen <mo...@163.com>
AuthorDate: Sun Apr 9 08:41:18 2023 +0800

    [fix](profile) fix show load query profile (#18487)
    
    Sometimes, `show load profile` will only show part of the insert opertion's profile.
    This is because we assume that for all load operation(including insert), there is only one fragment in the plan.
    But actually, there will be more than 1 fragment in plan. eg:
    
    `insert into tbl1 select * from tbl1 limit 1` will have 2 fragments.
    
    This PR mainly changes:
    
    1. modify the `show load profile`
       Before:  `show load profile "/queryid/taskid/instanceid";`
       After: `show load profile "/queryid/taskid/fragmentid/instanceid";`
    
    2. Modify the display of `ReadColumns` in OlapScanNode
        Because for wide table, the line of `ReadColumns` may be too long for show in profile.
        So I wrap it and each line contains at most 10 columns names.
    
    3. Fix tvf not working with pipeline engine, follow up #18376


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org