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

Several bugs in AvroWrapper.createStdData(Object avroData, Schema avroSchema) #48

Open
khaitranq opened this issue Jul 15, 2020 · 0 comments

Comments

@khaitranq
Copy link
Contributor

  1. The method does not correctly handle null value of the input argument avroData
  2. When avroSchema is STRING, avroData can be either a Java String or Utf8. If it's a Java String, ClassCastException will occur.
@khaitranq khaitranq changed the title Several bugs AvroWrapper.createStdData(Object avroData, Schema avroSchema) Several bugs in AvroWrapper.createStdData(Object avroData, Schema avroSchema) Jul 15, 2020
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