Skip to content

Commit

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

Closes #10811 from rvernica/patch-4

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 af02cdc commit 9e8b1cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cpp/src/arrow/record_batch.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ class ARROW_EXPORT RecordBatch {
/// \brief Determine if two record batches are approximately equal
bool ApproxEquals(const RecordBatch& other) const;

// \return the table's schema
/// \return true if batches are equal
/// \return the record batch's schema
const std::shared_ptr<Schema>& schema() const { return schema_; }

/// \brief Retrieve all columns at once
Expand Down

0 comments on commit 9e8b1cb

Please sign in to comment.