Skip to content

[SPARK-55407][PYSPARK] Replace logger.warn with logger.warning#54190

Open
gaogaotiantian wants to merge 1 commit intoapache:masterfrom
gaogaotiantian:fix-warn
Open

[SPARK-55407][PYSPARK] Replace logger.warn with logger.warning#54190
gaogaotiantian wants to merge 1 commit intoapache:masterfrom
gaogaotiantian:fix-warn

Conversation

@gaogaotiantian
Copy link
Contributor

What changes were proposed in this pull request?

Replace all logger.warn usage with logger.warning

Why are the changes needed?

logger.warn is obsolete and should not be used anymore - https://docs.python.org/3/library/logging.html#logging.Logger.warning

Does this PR introduce any user-facing change?

No.

How was this patch tested?

No behavioral change.

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

No.

@github-actions
Copy link

github-actions bot commented Feb 6, 2026

JIRA Issue Information

=== Improvement SPARK-55407 ===
Summary: Replace all logger.warn usage with logger.warning
Assignee: None
Status: Open
Affected: ["4.2.0"]


This comment was automatically generated by GitHub Actions

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.

3 participants