RussellSpitzer commented on code in PR #13976:
URL: https://github.com/apache/iceberg/pull/13976#discussion_r2341860457
##########
spark/v4.0/spark/src/test/java/org/apache/iceberg/spark/data/vectorized/parquet/TestParquetVectorizedReads.java:
##########
@@ -320,6 +329,40 @@ public void testMostlyNullsForOptionalFields() throws
IOException {
true);
}
+ @Test
+ public void testMetadataColumnsNoMemoryLeak() throws Exception {
+ Schema schema =
+ new Schema(
+ MetadataColumns.ROW_POSITION,
+ MetadataColumns.ROW_ID,
+ MetadataColumns.LAST_UPDATED_SEQUENCE_NUMBER);
+
+ GenericRecord record = GenericRecord.create(schema);
+
+ // batchSize is set to 1 to verify that vector reuse doesn't leak memory
+ writeAndValidate(
Review Comment:
+1
--
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]