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

Sahil Takiar commented on HIVE-15280:
-------------------------------------

+1

Just to clarify the {{Mockito.spy}} usage, the code is basically creating a 
LocalFileSystem object and then forcing the {{FileSystem.getURI()}} method 
basically returns {{hdfs://}} in which case {{needToCopy}} will return true?

> Hive.mvFile() misses the "." char when joining the filename + extension
> -----------------------------------------------------------------------
>
>                 Key: HIVE-15280
>                 URL: https://issues.apache.org/jira/browse/HIVE-15280
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>            Reporter: Sergio Peña
>            Assignee: Sergio Peña
>            Priority: Critical
>         Attachments: HIVE-15280.1.patch, HIVE-15280.2.patch, 
> HIVE-15280.3.patch
>
>
> Hive.mvFile() misses the "." char when joining the filename + extension. This 
> may cause incorrect results when compressed files are copied to a table 
> location.



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

Reply via email to