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

John Sichi commented on HIVE-976:
---------------------------------

Regarding input40.q:  yes, I get a diff because the results from this query 
come out in a different order:

select * from tmp_insert_test_p where ds = '2009-08-01';

A big chunk of rows moves in the output.  Diff-based testing doesn't really 
work if it's not possible to add order by uniformly, does it?


> test outputs should compare the file/directory for sampling 
> ------------------------------------------------------------
>
>                 Key: HIVE-976
>                 URL: https://issues.apache.org/jira/browse/HIVE-976
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>            Reporter: Namit Jain
>            Assignee: John Sichi
>             Fix For: 0.5.0
>
>         Attachments: HIVE-976.patch
>
>
> Currently, all lines starting with file: are ignored.
> It means that
> file:/Users/heyongqiang/Documents/workspace/Hive-Test/build/ql/test/data/warehouse/srcbucket/srcbucket0.txt
>  [s]
> and
> file:/Users/heyongqiang/Documents/workspace/Hive-Test/build/ql/test/data/warehouse/srcbucket
>  [s]
> are same - that is not good because it will hide some of the optimizations of 
> sampling.
> This should be changed to compare the last token.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to