Skip to content

Commit

Permalink
ARROW-13455 [C++][Docs] Typo in RecordBatch::SetColumn
Browse files Browse the repository at this point in the history
Fix typo in SetColumn docs

Closes #10810 from rvernica/patch-3

Authored-by: rvernica <rvernica@gmail.com>
Signed-off-by: Antoine Pitrou <antoine@python.org>
  • Loading branch information
rvernica authored and pitrou committed Jul 27, 2021
1 parent 9e8b1cb commit 31b60f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/record_batch.h
Expand Up @@ -129,7 +129,7 @@ class ARROW_EXPORT RecordBatch {
virtual Result<std::shared_ptr<RecordBatch>> AddColumn(
int i, std::string field_name, const std::shared_ptr<Array>& column) const;

/// \brief Replace a column in the table, producing a new Table
/// \brief Replace a column in the record batch, producing a new RecordBatch
virtual Result<std::shared_ptr<RecordBatch>> SetColumn(
int i, const std::shared_ptr<Field>& field,
const std::shared_ptr<Array>& column) const = 0;
Expand Down

0 comments on commit 31b60f3

Please sign in to comment.