You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ewen Cheslack-Postava (JIRA)" <ji...@apache.org> on 2018/06/17 06:29:00 UTC
[jira] [Assigned] (KAFKA-7058) ConnectSchema#equals() broken for
array-typed default values
[ https://issues.apache.org/jira/browse/KAFKA-7058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ewen Cheslack-Postava reassigned KAFKA-7058:
--------------------------------------------
Resolution: Fixed
Assignee: Ewen Cheslack-Postava
Reviewer: Ewen Cheslack-Postava
Fix Version/s: 2.1.0
1.1.1
1.0.2
0.11.0.3
2.0.0
0.10.2.2
0.10.1.2
0.10.0.2
0.9.0.2
> ConnectSchema#equals() broken for array-typed default values
> ------------------------------------------------------------
>
> Key: KAFKA-7058
> URL: https://issues.apache.org/jira/browse/KAFKA-7058
> Project: Kafka
> Issue Type: Bug
> Components: KafkaConnect
> Affects Versions: 1.0.0, 1.1.0
> Reporter: Gunnar Morling
> Assignee: Ewen Cheslack-Postava
> Priority: Major
> Fix For: 0.9.0.2, 0.10.0.2, 0.10.1.2, 0.10.2.2, 2.0.0, 0.11.0.3, 1.0.2, 1.1.1, 2.1.0
>
>
> {{ConnectSchema#equals()}} calls {{Objects#equals()}} for the schemas' default values, but this doesn't work correctly if the default values in fact are arrays. In this case, always {{false}} will be returned, also if the default value arrays actually are the same.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)