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

upgraded to Avro 1.7.5. #147

Merged
merged 3 commits into from
Oct 24, 2013
Merged

Conversation

MansurAshraf
Copy link
Contributor

Created separate objects for Specific and Generic codecs to accommodate class hierarchy change in 1.7.5

…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
Copy link
Collaborator

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).

Copy link
Contributor Author

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

@johnynek
Copy link
Collaborator

johnynek commented Oct 6, 2013

Looks good to me. Just some minor comments. Nice work as always.

@MansurAshraf
Copy link
Contributor Author

@johnynek take a look and see if it make sense now

@MansurAshraf
Copy link
Contributor Author

@johnynek Is there anything else you need me to do for this PR?

@johnynek
Copy link
Collaborator

sorry I lost track.

johnynek added a commit that referenced this pull request Oct 24, 2013
@johnynek johnynek merged commit 245f5d4 into twitter:develop Oct 24, 2013
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 this pull request may close these issues.

2 participants