Skip to content

Conversation

@emkornfield
Copy link
Collaborator

@emkornfield emkornfield commented Mar 14, 2023

  • Make ArrowSchemaConverter Generic
  • Changes all accessors to now extend ArrowSchemaConverter
  • Instantiates new classes via static factory method instead of direct constructor.
  • Moves null checks to each concrete implementation. While I believe JVM should be able to optimize based on the parent method, I'm not 100% sure and this way JVM should be able to avoid megamorphic dispatch for sure (also eliminate old work around from a bug in Arrow 0.9 for checks.
  • Move child fields to StructAccessor (hopefully keeps more common classes smaller).
- Changes all accessors to now extend ArrowSchemaConverter - Instatiates new classes via static factory method. - Moves common null checks to the individual accessors that require int - Move child fields to StructAccessor
@emkornfield
Copy link
Collaborator Author

Closed #920

@emkornfield
Copy link
Collaborator Author

/gcbrun

@emkornfield
Copy link
Collaborator Author

/gcbrun

@davidrabinowitz
Copy link
Member

/gcbrun

@emkornfield
Copy link
Collaborator Author

/gcbrun

@emkornfield
Copy link
Collaborator Author

/gcbrun

@emkornfield
Copy link
Collaborator Author

@davidrabinowitz I thought I replied here, but I think changes are probably ready for review (I'm not sure what to do about codecov)

@emkornfield
Copy link
Collaborator Author

/gcbrun

@emkornfield emkornfield merged commit a8f1cd9 into GoogleCloudDataproc:master Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants