pitrou commented on code in PR #34616:
URL: https://github.com/apache/arrow/pull/34616#discussion_r1329698095
##########
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:
Do you mean to remove these lines? They look like temporary debug code.
--
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]