Skip to content

Comments

GH-49364: [Ruby] Simplify reader tests#49365

Merged
kou merged 1 commit intoapache:mainfrom
kou:ruby-test-reader
Feb 22, 2026
Merged

GH-49364: [Ruby] Simplify reader tests#49365
kou merged 1 commit intoapache:mainfrom
kou:ruby-test-reader

Conversation

@kou
Copy link
Member

@kou kou commented Feb 22, 2026

Rationale for this change

The current reader tests use a sub test case per type but we can use a test per type like the current writer tests.

What changes are included in this PR?

  • Create test data in a test not a setup to use a test no a sub test case per type
  • Add ArrowFormat::Type#to_s
  • Add ArrowFormat::FileReader#schema

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

@github-actions
Copy link

⚠️ GitHub issue #49364 has been automatically assigned in GitHub to PR creator.

@kou kou force-pushed the ruby-test-reader branch from fa8aaa2 to c2a4b3f Compare February 22, 2026 13:49
@kou
Copy link
Member Author

kou commented Feb 22, 2026

+1

@kou kou merged commit 84a5701 into apache:main Feb 22, 2026
12 of 13 checks passed
@kou kou removed the awaiting committer review Awaiting committer review label Feb 22, 2026
@kou kou deleted the ruby-test-reader branch February 22, 2026 14:25
@conbench-apache-arrow
Copy link

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 84a5701.

There were no benchmark performance regressions. 🎉

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

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.

1 participant