drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kunal Khatua (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-6142) Operator Id and Types are not correctly marked in Minor fragments
Date Thu, 08 Mar 2018 19:06:00 GMT

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

Kunal Khatua updated DRILL-6142:
--------------------------------
    Description: 
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}

  was:
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": 13,
                            "setupNanos": 2026811,
                            "processNanos": 32199443,
                            "peakLocalMemoryAllocated": 21639235,
                            "waitNanos": 0
                        }
{code}


> 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
>             Fix For: 1.14.0
>
>         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)

Mime
View raw message