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

Structuring nested object causes org.apache.kafka.connect.errors.DataException #555

Open
ogawa-takeshi opened this issue Feb 19, 2023 · 0 comments

Comments

@ogawa-takeshi
Copy link
Contributor

ogawa-takeshi commented Feb 19, 2023

Expected Behavior (Mandatory)

Can be structured without exception.

Actual Behavior (Mandatory)

org.apache.kafka.connect.errors.ConnectException: org.apache.kafka.connect.errors.DataException: Invalid Java object for schema type MAP: class org.apache.kafka.connect.data.Struct ...

How to Reproduce the Problem

Specify a neo4j.source.query similar to the following:

MATCH (n: Test)
RETURN
     ... (skip) ...
    {
        key1: {
            subKey1: "value",
            subKey2: "value"
        },
        key2: {
            subKey1: "value",
            subKey2: true
        }
    } AS nested

Specifications (Mandatory)

Currently used versions

Versions

  • Neo4j Streams: 5.0.2
ogawa-takeshi added a commit to ogawa-takeshi/neo4j-streams that referenced this issue Feb 19, 2023
ogawa-takeshi added a commit to ogawa-takeshi/neo4j-streams that referenced this issue Feb 19, 2023
@ogawa-takeshi ogawa-takeshi changed the title Structuring nested object causes DataException Structuring nested object causes org.apache.kafka.connect.errors.DataException Feb 20, 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 a pull request may close this issue.

1 participant