You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ayush Saxena (Jira)" <ji...@apache.org> on 2023/09/11 13:40:00 UTC
[jira] [Updated] (HIVE-23586) load data overwrite into bucket table failed
[ https://issues.apache.org/jira/browse/HIVE-23586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ayush Saxena updated HIVE-23586:
--------------------------------
Labels: pull-request-available (was: hive-4.0.0-must pull-request-available)
> 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, 3.1.2, 4.0.0
> 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: 40m
> 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.20.10#820010)