daniel-adam-tfs commented on code in PR #596:
URL: https://github.com/apache/arrow-go/pull/596#discussion_r2713839012


##########
parquet/encryption_write_config_test.go:
##########
@@ -135,20 +136,18 @@ func (en *EncryptionConfigTestSuite) encryptFile(configs 
*parquet.FileEncryption
 
                // write the int64 column, each row repeats twice
                int64Writer := nextColumn().(*file.Int64ColumnChunkWriter)
-               for i := 0; i < 2*en.rowsPerRG; i++ {
+               for i := 0; i < en.rowsPerRG; i++ {

Review Comment:
   The issue is only with files with V2 pages. Originally, encryption was 
tested only for V1 pages, but I've added files with V2 pages, so the issue 
started occurring (see modifications to TestUniformEncryption and other test 
cases in the EncryptionConfigTestSuite)



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

Reply via email to