[ 
https://issues.apache.org/jira/browse/KAFKA-7058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16512270#comment-16512270
 ] 

ASF GitHub Bot commented on KAFKA-7058:
---------------------------------------

gunnarmorling opened a new pull request #5225: KAFKA-7058 Comparing schema 
default values using Objects#deepEquals()
URL: https://github.com/apache/kafka/pull/5225
 
 
   https://issues.apache.org/jira/browse/KAFKA-7058
   * Summary of testing strategy: Added new unit test
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> 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)

Reply via email to