Skip to content

Conversation

@Yicong-Huang
Copy link
Contributor

What changes were proposed in this pull request?

Use positional arguments for date and time fields in make_timestamp_ntz and try_make_timestamp_ntz.

Why are the changes needed?

To fix the unnecessary requirement of them being keyword arguments.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Unit tests in place.

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

No.

@zhengruifeng
Copy link
Contributor

thanks @Yicong-Huang
merged to master

huangxiaopingRD pushed a commit to huangxiaopingRD/spark that referenced this pull request Nov 25, 2025
…o be positional arguments

### What changes were proposed in this pull request?

Use positional arguments for `date` and `time` fields in `make_timestamp_ntz` and `try_make_timestamp_ntz`.

### Why are the changes needed?

To fix the unnecessary requirement of them being keyword arguments.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Unit tests in place.

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

No.

Closes apache#52461 from Yicong-Huang/SPARK-53112/fix/use-positional-arguments.

Authored-by: Yicong-Huang <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
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.

2 participants