Schema Parse Exception
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1.1k
- Forks
- 232
- PR merge metrics
- No merged PRs in 30d
Description
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}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported Schema.Parser().parse(s1) call and the Avro SchemaParseException showing the serialized Routing object. The report names no repository file, test, or expected schema, so first determine how this Java example relates to goavro and identify the intended Avro schema before defining what a fix would mean.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100