You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Yu-Wen Lai (Jira)" <ji...@apache.org> on 2022/04/09 00:51:00 UTC
[jira] [Assigned] (HIVE-26127) Insert overwrite throws FileNotFound when destination partition is deleted
[ https://issues.apache.org/jira/browse/HIVE-26127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yu-Wen Lai reassigned HIVE-26127:
---------------------------------
> Insert overwrite throws FileNotFound when destination partition is deleted
> ---------------------------------------------------------------------------
>
> Key: HIVE-26127
> URL: https://issues.apache.org/jira/browse/HIVE-26127
> Project: Hive
> Issue Type: Bug
> Components: Query Processor
> Reporter: Yu-Wen Lai
> Assignee: Yu-Wen Lai
> Priority: Major
>
> Steps to reproduce:
> # create external table src (col int) partitioned by (year int);
> # create external table dest (col int) partitioned by (year int);
> # insert into src partition (year=2022) values (1);
> # insert into dest partition (year=2022) values (2);
> # hdfs dfs -rm -r ${hive.metastore.warehouse.external.dir}/dest/year=2022
> # insert overwrite table dest select * from src;
> We will get FileNotFoundException when it tries to callĀ
> {code:java}
> fs.listStatus(path, pathFilter){code}
> We should not fail insert overwrite because there is nothing to be clean up.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)