Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #555 Structuring nested object causes DataException #556

Closed
wants to merge 2 commits into from

Conversation

ogawa-takeshi
Copy link
Contributor

Fixes #555

@conker84 conker84 closed this Mar 10, 2023
Copy link
Contributor

@conker84 conker84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ogawa-takeshi thanks for the contribution, please see my comment

Comment on lines +286 to +295
| {
| key1: {
| subKey1: "value",
| subKey2: "value"
| },
| key2: {
| subKey1: "value",
| subKey2: true
| }
| } AS nested,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there is a misunderstanding a Map can have only values of the same simple type, like for instanceMap<String, Integer> or Map<String, String>.
The structure that you are expressing here is not a Map, but a Struct.

@conker84 conker84 reopened this Mar 10, 2023
@conker84
Copy link
Contributor

conker84 commented Apr 6, 2023

I'm closing this for lack of feedback. Feel free to re-open

@conker84 conker84 closed this Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Structuring nested object causes org.apache.kafka.connect.errors.DataException
2 participants