kszucs commented on code in PR #51692:
URL: https://github.com/apache/arrow/pull/51692#discussion_r4247079937
##########
cpp/src/parquet/column_writer.cc:
##########
@@ -775,11 +778,11 @@ class ColumnWriterImpl {
compressor_temp_buffer_ =
std::static_pointer_cast<ResizableBuffer>(AllocateBuffer(allocator_,
0));
}
- if (properties_->content_defined_chunking_enabled()) {
- auto cdc_options = properties_->content_defined_chunking_options();
- content_defined_chunker_.emplace(level_info_, cdc_options.min_chunk_size,
- cdc_options.max_chunk_size,
- cdc_options.norm_level);
+ if (properties_->content_defined_chunking_enabled() &&
+ content_defined_chunker_ == nullptr) {
+ throw ParquetException(
+ "Content-defined chunking is not supported in ColumnWriter::Make(),
use "
+ "ParquetFileWriter instead.");
Review Comment:
Not relevant anymore.
--
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]