-
Notifications
You must be signed in to change notification settings - Fork 123
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
upgraded to Avro 1.7.5. #147
Conversation
…eric codecs to accommodate class hierarchy change in 1.7.5
import com.twitter.bijection.Inversion.attempt | ||
import com.twitter.bijection.Attempt | ||
import org.apache.avro.generic.{GenericDatumReader, GenericDatumWriter, GenericRecord} | ||
import org.apache.avro.Schema | ||
import org.apache.avro.io.{DecoderFactory, DatumReader, EncoderFactory, DatumWriter} | ||
import Injection.utf8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might want to add the comment that you are ensuring you have the String, Array[Byte] via utf8 (which is the default, BTW, but this does make it safer in case someone accidentally changes the default (why!?!?!) in Injection).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will add the comment
Looks good to me. Just some minor comments. Nice work as always. |
@johnynek take a look and see if it make sense now |
@johnynek Is there anything else you need me to do for this PR? |
sorry I lost track. |
Created separate objects for Specific and Generic codecs to accommodate class hierarchy change in 1.7.5