diff --git a/cpp/src/arrow/record_batch.h b/cpp/src/arrow/record_batch.h index 92ffa8b87fb..3173eee1000 100644 --- a/cpp/src/arrow/record_batch.h +++ b/cpp/src/arrow/record_batch.h @@ -130,6 +130,10 @@ class ARROW_EXPORT RecordBatch { int i, std::string field_name, const std::shared_ptr& column) const; /// \brief Replace a column in the record batch, producing a new RecordBatch + /// + /// \param[in] i field index, does boundscheck + /// \param[in] field field to be replaced + /// \param[in] column column to be replaced virtual Result> SetColumn( int i, const std::shared_ptr& field, const std::shared_ptr& column) const = 0;