hsiang-c commented on PR #102:
URL: https://github.com/apache/parquet-testing/pull/102#issuecomment-3978987362

   @adamreeve
   
   I generated the test data again using a modified Parquet Java's schema (see 
below) and 
[`generateLinearData`](https://github.com/apache/parquet-java/blob/apache-parquet-1.17.0/parquet-hadoop/src/test/java/org/apache/parquet/crypto/SingleRow.java#L114)
 and I can pass `encryption_util::verify_encryption_test_data` now.
   
   ```java
     private static final MessageType SCHEMA = new MessageType(
         "schema",
         new PrimitiveType(REQUIRED, BOOLEAN, BOOLEAN_FIELD_NAME),
         Types.required(INT32).as(LogicalTypeAnnotation.timeType(true, 
MILLIS)).named(INT32_FIELD_NAME),
         new PrimitiveType(REPEATED, INT64, INT64_LIST_FIELD_NAME),
         Types.required(INT64).as(timestampType(true, 
NANOS)).named(INT64_FIELD_NAME),
         new PrimitiveType(REQUIRED, FLOAT, FLOAT_FIELD_NAME),
         new PrimitiveType(REQUIRED, DOUBLE, DOUBLE_FIELD_NAME),
         new PrimitiveType(OPTIONAL, BINARY, BINARY_FIELD_NAME),
         
Types.required(FIXED_LEN_BYTE_ARRAY).length(FIXED_LENGTH).named(FIXED_LENGTH_BINARY_FIELD_NAME));
   ```
   
   Please give it a try, thanks.


-- 
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]

Reply via email to