pitrou commented on code in PR #34616:
URL: https://github.com/apache/arrow/pull/34616#discussion_r1329699037
##########
cpp/src/arrow/dataset/file_parquet_test.cc:
##########
@@ -395,6 +396,36 @@ TEST_F(TestParquetFileSystemDataset,
WriteWithEmptyPartitioningSchema) {
TestWriteWithEmptyPartitioningSchema();
}
+TEST_F(TestParquetFileSystemDataset, WriteWithEncryptionConfigNotSupported) {
+#ifndef PARQUET_REQUIRE_ENCRYPTION
+ // Create a dummy ParquetEncryptionConfig
+ std::shared_ptr<ParquetEncryptionConfig> encryption_config =
+ std::make_shared<ParquetEncryptionConfig>();
+
+ auto options =
+
checked_pointer_cast<ParquetFileWriteOptions>(format_->DefaultWriteOptions());
+ std::cout << "A" << std::endl;
+ ASSERT_NE(options, nullptr) << "Failed to cast to ParquetFileWriteOptions";
Review Comment:
Same for other accesses to `std::cout` below.
--
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]