You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Pritesh Maker (JIRA)" <ji...@apache.org> on 2018/05/22 18:28:00 UTC

[jira] [Updated] (DRILL-6142) Operator Id and Types are not correctly marked in Minor fragments

     [ https://issues.apache.org/jira/browse/DRILL-6142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pritesh Maker updated DRILL-6142:
---------------------------------
    Fix Version/s:     (was: 1.14.0)

> Operator Id and Types are not correctly marked in Minor fragments
> -----------------------------------------------------------------
>
>                 Key: DRILL-6142
>                 URL: https://issues.apache.org/jira/browse/DRILL-6142
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Web Server
>    Affects Versions: 1.12.0
>            Reporter: Kunal Khatua
>            Priority: Minor
>         Attachments: 258f4b68-62ec-78b8-5bac-9331cccfa5fa[1].json
>
>
> The minor fragments in the attached profile ( [^258f4b68-62ec-78b8-5bac-9331cccfa5fa[1].json] ) does not correctly mark the operator Id as 1 . It is defaulting to 0 (which, I suspect, means that the value was never set and is the default primitive value), making the WebUI count it as part of the Screen operator.
> Also, the operatorType is incorrectly set as 10 ( {{PROJECT}} ) instead of 31 ( {{COMPLEX_TO_JSON}} )
> *Original: *
> {code:json}
>                         {
>                             "inputProfile": [
>                                 {
>                                     "records": 1703936,
>                                     "batches": 52,
>                                     "schemas": 1
>                                 }
>                             ],
>                             "operatorId": 0,
>                             "operatorType": 10,
>                             "setupNanos": 2026811,
>                             "processNanos": 32199443,
>                             "peakLocalMemoryAllocated": 21639235,
>                             "waitNanos": 0
>                         }
> {code}
> *Correct:*
> {code:json}
>                         {
>                             "inputProfile": [
>                                 {
>                                     "records": 1703936,
>                                     "batches": 52,
>                                     "schemas": 1
>                                 }
>                             ],
>                             "operatorId": 1,
>                             "operatorType": 31,
>                             "setupNanos": 2026811,
>                             "processNanos": 32199443,
>                             "peakLocalMemoryAllocated": 21639235,
>                             "waitNanos": 0
>                         }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)