-
Notifications
You must be signed in to change notification settings - Fork 1.7k
AVRO-3871: Support nested lists/maps in BlockingDirectBinaryEncoder #2732
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
Conversation
12d44d1 to
c1be917
Compare
c1be917 to
1b08260
Compare
| SpecificData.Array<java.lang.String> ga0 = (a0 instanceof SpecificData.Array | ||
| ? (SpecificData.Array<java.lang.String>) a0 | ||
| : null); | ||
| SpecificData.Array<String> ga0 = (a0 instanceof SpecificData.Array ? (SpecificData.Array<String>) a0 : null); |
Check warning
Code scanning / CodeQL
Cast from abstract to concrete collection
| } else | ||
| a2.clear(); | ||
| SpecificData.Array<java.util.List<String>> ga2 = (a2 instanceof SpecificData.Array | ||
| ? (SpecificData.Array<java.util.List<String>>) a2 |
Check warning
Code scanning / CodeQL
Cast from abstract to concrete collection
| e2 = a3; | ||
| } else | ||
| a3.clear(); | ||
| SpecificData.Array<String> ga3 = (a3 instanceof SpecificData.Array ? (SpecificData.Array<String>) a3 : null); |
Check warning
Code scanning / CodeQL
Cast from abstract to concrete collection
| SpecificData.Array<java.lang.String> ga0 = (a0 instanceof SpecificData.Array | ||
| ? (SpecificData.Array<java.lang.String>) a0 | ||
| : null); | ||
| SpecificData.Array<String> ga0 = (a0 instanceof SpecificData.Array ? (SpecificData.Array<String>) a0 : null); |
Check warning
Code scanning / CodeQL
Cast from abstract to concrete collection
| } else | ||
| a2.clear(); | ||
| SpecificData.Array<java.util.List<String>> ga2 = (a2 instanceof SpecificData.Array | ||
| ? (SpecificData.Array<java.util.List<String>>) a2 |
Check warning
Code scanning / CodeQL
Cast from abstract to concrete collection
| e2 = a3; | ||
| } else | ||
| a3.clear(); | ||
| SpecificData.Array<String> ga3 = (a3 instanceof SpecificData.Array ? (SpecificData.Array<String>) a3 |
Check warning
Code scanning / CodeQL
Cast from abstract to concrete collection
|
Thanks @jbonofre 🙌 |
…pache#2732) * Support nested lists/maps * Add some tests
…pache#2732) * Support nested lists/maps * Add some tests
…pache#2732) * Support nested lists/maps * Add some tests
* AVRO-3983: Allow setting a custom encoder in DataFileWriter (#2874) * AVRO-3871: Add blocking direct binary encoder (#2521) * Java: Add blocking direct binary encoder * Optimize * Comments and more tests * Comments and more tests * Fix rat check * AVRO-3871: Support nested lists/maps in BlockingDirectBinaryEncoder (#2732) * Support nested lists/maps * Add some tests
What is the purpose of the change
(For example: This pull request improves file read performance by buffering data, fixing AVRO-XXXX.)
Verifying this change
(Please pick one of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Documentation