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

Prasanth Jayachandran updated HIVE-11792:
-----------------------------------------
    Attachment: HIVE-11792.4.patch

> User explain in tez does not preserve ordering
> ----------------------------------------------
>
>                 Key: HIVE-11792
>                 URL: https://issues.apache.org/jira/browse/HIVE-11792
>             Project: Hive
>          Issue Type: Bug
>          Components: Diagnosability
>    Affects Versions: 2.0.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>         Attachments: HIVE-11792.1.patch, HIVE-11792.2.patch, 
> HIVE-11792.3.patch, HIVE-11792.4.patch
>
>
> HIVE-11037 introduced user level explain. The output of operator attributes 
> are JSONObject which does not preserve ordering. This is causing diffs in 
> test output when run under tez vs llap like below
> {code}
> -            partition:{"ts":"2012-01-03+14:46:31","ds":"2012-01-03"}
> -            
> table:{"serde:":"org.apache.hadoop.hive.ql.io.orc.OrcSerde","name:":"default.src_orc_merge_test_part","input
>  format:":"org.apache.hadoop.hive.ql.io.orc.OrcInputFormat","output 
> format:":"org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat"}
> +            partition:{"ds":"2012-01-03","ts":"2012-01-03+14:46:31"}
> +            table:{"name:":"default.src_orc_merge_test_part","input 
> format:":"org.apache.hadoop.hive.ql.io.orc.OrcInputFormat","output 
> format:":"org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat","serde:":"org.apache.hadoop.hive.ql.io.orc.OrcSerde"}
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to