Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate batch_byte_size #7245

Merged
merged 1 commit into from
Aug 9, 2023
Merged

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Aug 9, 2023

Which issue does this PR close?

Related to #5885

Rationale for this change

Suggested by @yjshen in #7130 (comment)

batch_byte_size has been ported upstream and is now available as RecordBatch::get_array_memory_size

What changes are included in this PR?

Changes

  1. deprecate batch_byte_size
  2. Update to use RecordBatch::get_array_memory_size instead

Are these changes tested?

Yes, by clippy CI check

Are there any user-facing changes?

A deprecated function telling them what to change

@github-actions github-actions bot added the core Core DataFusion crate label Aug 9, 2023
@alamb alamb changed the title Minor: deprecate batch_byte_size Deprecate batch_byte_size Aug 9, 2023
@yjshen yjshen merged commit 37b6516 into apache:main Aug 9, 2023
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants