You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Zhu Zhu (Jira)" <ji...@apache.org> on 2022/06/15 03:06:00 UTC
[jira] [Closed] (FLINK-28018) the start index to create empty splits in BinaryInputFormat#createInputSplits is inappropriate
[ https://issues.apache.org/jira/browse/FLINK-28018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhu Zhu closed FLINK-28018.
---------------------------
Fix Version/s: 1.15.1
(was: 1.15.2)
Resolution: Fixed
Fixed via:
master: 0cf8208ede55097987abb243874d670ed5f504ae
1.15: c9a706b8388b324a37da43298e37074d0a452a34
> the start index to create empty splits in BinaryInputFormat#createInputSplits is inappropriate
> ----------------------------------------------------------------------------------------------
>
> Key: FLINK-28018
> URL: https://issues.apache.org/jira/browse/FLINK-28018
> Project: Flink
> Issue Type: Bug
> Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
> Affects Versions: 1.15.0, 1.14.4, 1.16.0
> Reporter: zl
> Assignee: zl
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.16.0, 1.15.1
>
>
> when the number of created split is smaller than the minimum desired number of file splits, [BinaryInputFormat.java#L150|https://github.com/apache/flink/blob/master/flink-core/src/main/java/org/apache/flink/api/common/io/BinaryInputFormat.java#L150] use `{_}*files.size()*{_}` as the start index to create empty splits. That is inappropriate, the start index should be `{_}*inputSplits.size()*{_}`.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)