You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Gergely Fürnstáhl (Jira)" <ji...@apache.org> on 2022/08/03 09:43:00 UTC
[jira] [Resolved] (IMPALA-10946) RECOVER PARTITIONS might create non-existing partitions
[ https://issues.apache.org/jira/browse/IMPALA-10946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gergely Fürnstáhl resolved IMPALA-10946.
----------------------------------------
Fix Version/s: Impala 4.1.0
Resolution: Fixed
> RECOVER PARTITIONS might create non-existing partitions
> -------------------------------------------------------
>
> Key: IMPALA-10946
> URL: https://issues.apache.org/jira/browse/IMPALA-10946
> Project: IMPALA
> Issue Type: Bug
> Components: Catalog, Frontend
> Reporter: Zoltán Borók-Nagy
> Assignee: Gergely Fürnstáhl
> Priority: Major
> Labels: ramp-up
> Fix For: Impala 4.1.0
>
>
> The following commands reproduce the bug:
> {noformat}
> create table test_table (id int)
> partitioned by (part_field string)
> stored as parquet
> LOCATION ‘/test-warehouse/abc/test’;
> insert into test_table (id, part_field) select 1, ‘abc+’;
> show partitions test_table; ----> it will show one partition “abc+”
> alter table test_table recover partitions;
> show partitions test_table; ----> result is showing two partitions, “abc” and “abc+”
> {noformat}
> The + character can occur anywhere in the string, RECOVER PARTITIONS will create a partition where the + is replaced by a space.
> Seems like other characters don't cause this bug.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)