Skip to content

chore(csv): use shared aggr_test_schema in CSV scan tests - #26681

Open
ninglinLiu wants to merge 2 commits into
apache:mainfrom
ninglinLiu:chore/csv-use-shared-aggr-test-schema-26306
Open

ninglinLiu wants to merge 2 commits into
apache:mainfrom
ninglinLiu:chore/csv-use-shared-aggr-test-schema-26306

Conversation

@ninglinLiu

Copy link
Copy Markdown

Summary

The CSV physical-plan test module defined a private aggr_test_schema() that duplicated datafusion::test_util::aggr_test_schema(). Use the shared helper instead and drop the unused HashMap import.

Test plan

  • Diff-only cleanup (schemas are identical including c1 metadata)
  • CI cargo test -p datafusion --lib csv

Fixes #26306

Drop the private copy in physical_plan/csv.rs tests and call
crate::test_util::aggr_test_schema instead.

Fixes apache#26306
@github-actions github-actions Bot added the core Core DataFusion crate label Oct 23, 2026

@alamb alamb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great-- thank you

@alamb
alamb enabled auto-merge October 23, 2026 21:17
auto-merge was automatically disabled October 23, 2026 21:37

Head branch was pushed to by a user without write access

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.

Use the shared aggr_test_schema in CSV scan tests instead of a local copy

2 participants