nastra commented on code in PR #3626:
URL: https://github.com/apache/parquet-java/pull/3626#discussion_r3452671752
##########
parquet-variant/src/test/java/org/apache/parquet/variant/TestVariantObjectBuilder.java:
##########
@@ -277,6 +277,72 @@ public void testDuplicateKeys() {
Assert.assertEquals(1, v.getFieldByKey("duplicate").getLong());
}
+ @Test
+ public void testDuplicateKeysKeptValueLarger() {
Review Comment:
without the fix this test would fail with
`java.lang.IllegalArgumentException: Invalid byte-array offset (10). length: 10`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]