Skip to content

Conversation

@Mandukhai-Alimaa
Copy link
Contributor

Rationale for this change

Rename the Record interface to RecordBatch for clarity, since Record commonly means a single row but this type represents a batch of rows.

In addition, some method names such as NewRecord have been changed to NewRecordBatch, but the old methods still exist as wrappers around the newly named methods to maintain backward compatibility.

What changes are included in this PR?

The following packages now use RecordBatch instead of Record:

arrow/ipc
arrow/flight
arrow/flight/flightsql
arrow/internal/flight_integration
arrow/array

In addition:

  • Fixed interface compatibility issues in dependent packages (arrow/avro, arrow/csv, arrow/cdata, parquet/pqarrow)
  • Updated all Record() methods to call RecordBatch() for consistency

Are these changes tested?

All affected packages build successfully and core tests pass. Some tests requiring external dependencies were skipped.

This is the fourth increment of the Record → RecordBatch migration.

@zeroshade zeroshade merged commit 0606cfb into apache:main Aug 28, 2025
40 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants