Skip to content

Conversation

@LuciferYang
Copy link
Contributor

@LuciferYang LuciferYang commented Feb 2, 2026

What changes were proposed in this pull request?

This pr change to use ParquetFooterReader.readFooter uniformly in Spark test code to read the footer.

Why are the changes needed?

Use the methods encapsulated by Spark and avoid using deprecated APIs in ParquetFileReader (specifically, ParquetFileReader#readFooter(Configuration, Path) has been deprecated).

Does this PR introduce any user-facing change?

No

How was this patch tested?

Pass Github Actions

Was this patch authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added the SQL label Feb 2, 2026
@github-actions
Copy link

github-actions bot commented Feb 2, 2026

JIRA Issue Information

=== Improvement SPARK-55305 ===
Summary: Use ParquetFooterReader.readFooter uniformly in test code to read the footer.
Assignee: None
Status: Open
Affected: ["4.2.0"]


This comment was automatically generated by GitHub Actions

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM.

@LuciferYang LuciferYang changed the title [SPARK-55305][SQL][TESTS] Use ParquetFooterReader.readFooter uniformly in test code to read the footer. [SPARK-55305][SQL][TESTS] Use ParquetFooterReader.readFooter uniformly in test code to read the footer Feb 2, 2026
@LuciferYang
Copy link
Contributor Author

Merged into master. Thanks @dongjoon-hyun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants