hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chinna Rao Lalam (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-23586) load data overwrite into bucket table failed
Date Mon, 08 Jun 2020 10:24:00 GMT

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

Chinna Rao Lalam commented on HIVE-23586:
-----------------------------------------

Hi [~fsilent], Please add a testcase for this scenario and submit patch, then it will generate
testreport.

> load data overwrite into bucket table failed
> --------------------------------------------
>
>                 Key: HIVE-23586
>                 URL: https://issues.apache.org/jira/browse/HIVE-23586
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 3.1.0, 4.0.0, 3.1.2
>            Reporter: zhaolong
>            Assignee: zhaolong
>            Priority: Critical
>              Labels: pull-request-available
>         Attachments: HIVE-23586.01.patch, image-2020-06-01-21-40-21-726.png, image-2020-06-01-21-41-28-732.png
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> load data overwrite into bucket table is failed if filename is not like 000000_0, but
insert new data in the table.
>  
> for example:
> CREATE EXTERNAL TABLE IF NOT EXISTS test_hive2 (name string,account string) PARTITIONED
BY (logdate string) CLUSTERED BY (account) INTO 4 BUCKETS row format delimited fields terminated
by '|' STORED AS textfile;
>  load data inpath 'hdfs://hacluster/tmp/zltest' overwrite into table default.test_hive2
partition (logdate='20200508');
>  !image-2020-06-01-21-40-21-726.png!
>  load data inpath 'hdfs://hacluster/tmp/zltest' overwrite into table default.test_hive2
partition (logdate='20200508');// should overwrite but insert new data
>  !image-2020-06-01-21-41-28-732.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message