You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Gunnar Morling (JIRA)" <ji...@apache.org> on 2018/06/14 10:14:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16512261#comment-16512261 ] 

Gunnar Morling commented on KAFKA-7058:
---------------------------------------

I'll send a pull request for this in a bit.

> 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
>            Reporter: Gunnar Morling
>            Priority: Major
>
> {{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)