hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sahil Takiar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-15280) Hive.mvFile() misses the "." char when joining the filename + extension
Date Mon, 28 Nov 2016 21:36:59 GMT

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

Mime
View raw message