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.

What changes are included in this PR?

The following packages now use RecordBatch instead of Record:

  • arrow/csv - CSV reader/writer interfaces
  • arrow/avro - Avro OCF reader
  • arrow/arrio - I/O abstraction interfaces
  • arrow/cdata - C Data Interface
  • arrow/extensions - Extension type tests

Are these changes tested?

  • arrow/arrio, arrow/avro, arrow/cdata, arrow/extensions - All tests passing
  • arrow/csv - Core tests pass; some integration tests require external test data files

Migration Strategy

This is the second increment of the Record → RecordBatch migration, focusing on leaf packages with minimal dependencies. This approach minimizes risk and allows for incremental validation before migrating core packages.

…nsions) to use

  RecordBatch instead of Record
@Mandukhai-Alimaa
Copy link
Contributor Author

@zeroshade, should I include more packages in this increment, or is 5 packages a good size for
review/integration?

@zeroshade
Copy link
Member

This is a good size, that's fine.

@Mandukhai-Alimaa Mandukhai-Alimaa marked this pull request as ready for review August 15, 2025 15:16
@zeroshade zeroshade merged commit 08c3037 into apache:main Aug 15, 2025
42 of 45 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