Prasanth Jayachandran created HIVE-11792:
--------------------------------------------

             Summary: 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
            Reporter: Prasanth Jayachandran
            Assignee: Prasanth Jayachandran
             Fix For: 2.0.0


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