Skip to content

GH-45892: [Ruby] Unify test for list array in raw_records and each_raw_record#45940

Merged
kou merged 1 commit intoapache:mainfrom
otegami:unify-records-test-cases-about-list-array
Mar 27, 2025
Merged

GH-45892: [Ruby] Unify test for list array in raw_records and each_raw_record#45940
kou merged 1 commit intoapache:mainfrom
otegami:unify-records-test-cases-about-list-array

Conversation

@otegami
Copy link
Copy Markdown
Contributor

@otegami otegami commented Mar 26, 2025

Rationale for this change

The PR reduces duplicated test cases and ensures that both raw_records and each_raw_record behave consistently by extracting their common test cases.

  • Arrow::RecordBatch#each_raw_record
  • Arrow::Table#each_raw_record
  • Arrow::RecordBatch#raw_records
  • Arrow::Table#raw_records

What changes are included in this PR?

We extracted shared test cases about list array used by both raw_records and each_raw_record.

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

…ach_raw_record

### Rationale for this change

The PR reduces duplicated test cases and ensures that both `raw_records` and `each_raw_record` behave consistently by extracting their common test cases.
- `Arrow::RecordBatch#each_raw_record`
- `Arrow::Table#each_raw_record`
- `Arrow::RecordBatch#raw_records`
- `Arrow::Table#raw_records`

### What changes are included in this PR?

We extracted shared test cases about list array used by both raw_records and each_raw_record.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.

* GitHub Issue: close apacheGH-45892
@otegami otegami requested a review from kou as a code owner March 26, 2025 09:20
Copy link
Copy Markdown
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@kou kou merged commit 0355ad6 into apache:main Mar 27, 2025
10 checks passed
@kou kou removed the awaiting review Awaiting review label Mar 27, 2025
@github-actions github-actions Bot added the awaiting merge Awaiting merge label Mar 27, 2025
@conbench-apache-arrow
Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 0355ad6.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 42 possible false positives for unstable benchmarks that are known to sometimes produce them.

@otegami otegami deleted the unify-records-test-cases-about-list-array branch March 27, 2025 07:32
zanmato1984 pushed a commit to zanmato1984/arrow that referenced this pull request Apr 15, 2025
…ach_raw_record (apache#45940)

### Rationale for this change

The PR reduces duplicated test cases and ensures that both `raw_records` and `each_raw_record` behave consistently by extracting their common test cases.
- `Arrow::RecordBatch#each_raw_record`
- `Arrow::Table#each_raw_record`
- `Arrow::RecordBatch#raw_records`
- `Arrow::Table#raw_records`

### What changes are included in this PR?

We extracted shared test cases about list array used by both `raw_records` and `each_raw_record`.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.

* GitHub Issue: close apacheGH-45892
* GitHub Issue: apache#45892

Authored-by: otegami <a.s.takuya1026@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Ruby] Unify test for list array in raw_records and each_raw_record

2 participants