You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Mickael Maison (Jira)" <ji...@apache.org> on 2021/02/18 15:04:00 UTC

[jira] [Resolved] (KAFKA-12303) Flatten SMT drops some fields when null values are present

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

Mickael Maison resolved KAFKA-12303.
------------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

> Flatten SMT drops some fields when null values are present
> ----------------------------------------------------------
>
>                 Key: KAFKA-12303
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12303
>             Project: Kafka
>          Issue Type: Bug
>          Components: KafkaConnect
>    Affects Versions: 2.0.1, 2.1.1, 2.2.2, 2.3.1, 2.4.1, 2.5.1, 2.7.0, 2.6.1, 2.8.0
>            Reporter: Chris Egerton
>            Assignee: Chris Egerton
>            Priority: Major
>             Fix For: 3.0.0
>
>
> [This line|https://github.com/apache/kafka/blob/0bc394cc1d19f1e41dd6646e9ac0e09b91fb1398/connect/transforms/src/main/java/org/apache/kafka/connect/transforms/Flatten.java#L109] should be {{continue}} instead of {{return}}; otherwise, the rest of the entries in the currently-being-iterated map are skipped unnecessarily.



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