You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Pengcheng Xiong (JIRA)" <ji...@apache.org> on 2015/09/11 01:15:45 UTC

[jira] [Commented] (HIVE-11792) User explain in tez does not preserve ordering

    [ https://issues.apache.org/jira/browse/HIVE-11792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14739830#comment-14739830 ] 

Pengcheng Xiong commented on HIVE-11792:
----------------------------------------

I just checked the output change of explain_user1,2,3, all of them looked good to me. +1 pending QA tests.

> 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-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)