diff --git a/cpp/src/parquet/file_writer.cc b/cpp/src/parquet/file_writer.cc index 5502e1f94a9d0..6f5610b934d81 100644 --- a/cpp/src/parquet/file_writer.cc +++ b/cpp/src/parquet/file_writer.cc @@ -642,10 +642,6 @@ RowGroupWriter* ParquetFileWriter::AppendBufferedRowGroup() { return contents_->AppendBufferedRowGroup(); } -RowGroupWriter* ParquetFileWriter::AppendRowGroup(int64_t num_rows) { - return AppendRowGroup(); -} - void ParquetFileWriter::AddKeyValueMetadata( const std::shared_ptr& key_value_metadata) { if (contents_) { diff --git a/cpp/src/parquet/file_writer.h b/cpp/src/parquet/file_writer.h index 3bda1e535cfa6..31706af86dbde 100644 --- a/cpp/src/parquet/file_writer.h +++ b/cpp/src/parquet/file_writer.h @@ -147,9 +147,6 @@ class PARQUET_EXPORT ParquetFileWriter { // Perform any cleanup associated with the file contents virtual void Close() = 0; - /// \note Deprecated since 1.3.0 - RowGroupWriter* AppendRowGroup(int64_t num_rows); - virtual RowGroupWriter* AppendRowGroup() = 0; virtual RowGroupWriter* AppendBufferedRowGroup() = 0; @@ -190,15 +187,6 @@ class PARQUET_EXPORT ParquetFileWriter { void Open(std::unique_ptr contents); void Close(); - // Construct a RowGroupWriter for the indicated number of rows. - // - // Ownership is solely within the ParquetFileWriter. The RowGroupWriter is only valid - // until the next call to AppendRowGroup or AppendBufferedRowGroup or Close. - // @param num_rows The number of rows that are stored in the new RowGroup - // - // \deprecated Since 1.3.0 - RowGroupWriter* AppendRowGroup(int64_t num_rows); - /// Construct a RowGroupWriter with an arbitrary number of rows. /// /// Ownership is solely within the ParquetFileWriter. The RowGroupWriter is only valid