You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2018/03/01 02:06:00 UTC

[jira] [Comment Edited] (HIVE-18683) support ACID/MM subdirectories in LOAD

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

Sergey Shelukhin edited comment on HIVE-18683 at 3/1/18 2:05 AM:
-----------------------------------------------------------------

Actually, upon considering the code and the scenarios for tests, I don't think we should do it.
For MM table exports it would be safe but for ACID tables the result of a load would not be valid.
When ACID ExIM works, it should handle this case (i.e. to load an exported ACID table, import should be used).
Import being available, Export+Load doesn't make sense, we are going to say it's not a supported scenario. For flat tables, it's often possible to treat them as a directory, so it works by coincidence, as an unsupported case


was (Author: sershe):
Actually, upon considering the code and the tests, I don't think we should do it.
For MM table exports it would be safe but for ACID tables the result of a load would not be valid.
When ACID ExIM works, it should handle this case.
For Export+Load, we are going to say it's not a supported scenario. For flat tables, it's often possible to treat them as a directory, so it works by coincidence, as an unsupported case

> support ACID/MM subdirectories in LOAD
> --------------------------------------
>
>                 Key: HIVE-18683
>                 URL: https://issues.apache.org/jira/browse/HIVE-18683
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>            Priority: Major
>
> Currently, load does not support subdirectories.
> It should be possible to flatten the directory structure when loading.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)