You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Rui Li (Jira)" <ji...@apache.org> on 2021/06/25 09:54:00 UTC

[jira] [Resolved] (FLINK-23010) HivePartitionFetcherContextBase::getComparablePartitionValueList can return partitions that don't exist

     [ https://issues.apache.org/jira/browse/FLINK-23010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rui Li resolved FLINK-23010.
----------------------------
    Fix Version/s: 1.13.2
                   1.12.5
                   1.14.0
       Resolution: Fixed

Fixed in:
* master: 53034eacc498d79f08ae17d8c941b4931e619351
* release-1.13: 86581e90fb59289c4ad4be24495a9895d1099176
* release-1.12: 3a7552a3db8d4437a39f128b0a89470e9e2e7750

> HivePartitionFetcherContextBase::getComparablePartitionValueList can return partitions that don't exist
> -------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-23010
>                 URL: https://issues.apache.org/jira/browse/FLINK-23010
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Hive
>            Reporter: Rui Li
>            Assignee: Rui Li
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.14.0, 1.12.5, 1.13.2
>
>
> When consume order is {{CREATE_TIME}}, HivePartitionFetcherContextBase lists folders under table location to find partitions. This is wrong because HMS is the single source of truth to decide whether a partition exists for a hive table. Returning a non-existing partition will lead to unnecessary job FO when {{HiveContinuousPartitionFetcher}} fails to get the partition from HMS.



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