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

Vikram Dixit K commented on HIVE-3338:
--------------------------------------

There is one issue that is not resolved. For the archive.q test, the golden 
results with 0.20 hadoop seem incorrect.

The last queries are:
SELECT SUM(hash(col)) FROM (SELECT transform(*) using 'tr "\t" "_"' AS col
FROM (SELECT * FROM old_name WHERE ds='1') subq1) subq2;
ALTER TABLE old_name RENAME TO new_name;
SELECT SUM(hash(col)) FROM (SELECT transform(*) using 'tr "\t" "_"' AS col
FROM (SELECT * FROM new_name WHERE ds='1') subq1) subq2;

The select queries seem to produce different results in 20. The first one 
produces 48656137. But, after rename of the table, it produces NULL. This 
doesn't make sense to me. With my changes for 1.0, I see the proper results of 
48656137 in both cases. It would be great if someone can explain to me why we 
expect NULL in the case of 20.

Thanks,
Vikram
                
> Archives broken for hadoop 1.0
> ------------------------------
>
>                 Key: HIVE-3338
>                 URL: https://issues.apache.org/jira/browse/HIVE-3338
>             Project: Hive
>          Issue Type: Bug
>          Components: Shims
>    Affects Versions: 0.9.0
>            Reporter: Vikram Dixit K
>         Attachments: HIVE-3338.patch
>
>
> Hadoop archiving through hive is broken for 1.0. The hadoop archive command 
> line and paths have changed for 1.0 and were not addressed in the shim layer.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to