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

Schema Parse Exception #203

Open
sowmya291098 opened this issue Feb 29, 2020 · 0 comments
Open

Schema Parse Exception #203

sowmya291098 opened this issue Feb 29, 2020 · 0 comments

Comments

@sowmya291098
Copy link

I want to create a parquet file from payload in CentOS. Previously I was using spark which is creating a directory instead of file and returns error saying unable to write to a directory. Now I am trying to figure out how to write using Parquetavrowriter where

Routing route=new Routing(); (route.setters are null)
String s1 = objectMapper.writeValueAsString(route);
Schema schema2 = new Schema.Parser().parse(s1);

Following is the error:

org.apache.avro.SchemaParseException: No type: {"id":null,"item":null}

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

No branches or pull requests

1 participant