Skip to content

[DRAFT][SPARK-52892][SPARK-52893][SPARK-52894][PYTHON] Implement the hour, minute, and second functions in PySpark #51586

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

uros-db
Copy link
Contributor

@uros-db uros-db commented Jul 20, 2025

What changes were proposed in this pull request?

Implement the hour, minute, and second functions in PySpark & PySpark Connect API.

Why are the changes needed?

Expand API support for the hour, minute, and second functions.

Does this PR introduce any user-facing change?

Yes, the new function is now available in Python API.

How was this patch tested?

Added appropriate Python function tests.

  • pyspark.sql.tests.test_functions
  • pyspark.sql.tests.connect.test_parity_functions
  • pyspark.sql.tests.connect.test_connect_function

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

No.

@uros-db uros-db marked this pull request as draft July 20, 2025 23:08
@uros-db uros-db changed the title [DRAFT][SPARK-52892][PYTHON] Implement the hour, minute, and second functions in PySpark [DRAFT][SPARK-52892][SPARK-52893][SPARK-52894][PYTHON] Implement the hour, minute, and second functions in PySpark Jul 20, 2025
Copy link
Contributor Author

@uros-db uros-db left a comment

Choose a reason for hiding this comment

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

This PR is waiting for the corresponding Scala functions PR: #51576.

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