hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <>
Subject [jira] [Updated] (HIVE-17361) Support LOAD DATA for transactional tables
Date Wed, 15 Nov 2017 05:29:00 GMT


Eugene Koifman updated HIVE-17361:
    Attachment: HIVE-17361.11.patch

> Support LOAD DATA for transactional tables
> ------------------------------------------
>                 Key: HIVE-17361
>                 URL:
>             Project: Hive
>          Issue Type: New Feature
>          Components: Transactions
>            Reporter: Wei Zheng
>            Assignee: Eugene Koifman
>            Priority: Critical
>         Attachments: HIVE-17361.07.patch, HIVE-17361.08.patch, HIVE-17361.09.patch, HIVE-17361.1.patch,
HIVE-17361.10.patch, HIVE-17361.11.patch, HIVE-17361.2.patch, HIVE-17361.3.patch, HIVE-17361.4.patch
> LOAD DATA was not supported since ACID was introduced. Need to fill this gap between
ACID table and regular hive table.
> Current Documentation is under [DML Operations|]
and [Loading files into tables|]:
> \\
> * Load Data performs very limited validations of the data, in particular it uses the
input file name which may not be in 00000_0 which can break some read logic.  (Certainly will
for Acid).
> * It does not check the schema of the file.  This may be a non issue for Acid which requires
ORC which is self describing so Schema Evolution may handle this seamlessly.  (Assuming Schema
is not too different).
> * It does check that _InputFormat_S are compatible. 
> * Bucketed (and thus sorted) tables don't support Load Data (but only if hive.strict.checks.bucketing=true
(default)).  Will keep this restriction for Acid.
> * Load Data supports OVERWRITE clause
> * What happens to file permissions/ownership: rename vs copy differences
> \\
> The implementation will follow the same idea as in HIVE-14988 and use a base_N/ dir for
> \\
> How is minor compaction going to handle delta/base with original files?

This message was sent by Atlassian JIRA

View raw message