Skip to content
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

[MINOR][PYTHON] Fix type hint for from_utc_timestamp and to_utc_timestamp #47429

Closed
wants to merge 1 commit into from

Conversation

zhengruifeng
Copy link
Contributor

What changes were proposed in this pull request?

Fix type hint for from_utc_timestamp and to_utc_timestamp

Why are the changes needed?

the str type input should be treated as literal string, instead of column name

Does this PR introduce any user-facing change?

doc change

How was this patch tested?

CI

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

No

@HyukjinKwon
Copy link
Member

Merged to master.

@zhengruifeng zhengruifeng deleted the py_fix_hint_202407 branch July 22, 2024 00:41
jingz-db pushed a commit to jingz-db/spark that referenced this pull request Jul 22, 2024
…mestamp`

### What changes were proposed in this pull request?
Fix type hint for `from_utc_timestamp` and `to_utc_timestamp`

### Why are the changes needed?
the str type input should be treated as literal string, instead of column name

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

### How was this patch tested?
CI

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

Closes apache#47429 from zhengruifeng/py_fix_hint_202407.

Authored-by: Ruifeng Zheng <ruifengz@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
attilapiros pushed a commit to attilapiros/spark that referenced this pull request Oct 4, 2024
…mestamp`

### What changes were proposed in this pull request?
Fix type hint for `from_utc_timestamp` and `to_utc_timestamp`

### Why are the changes needed?
the str type input should be treated as literal string, instead of column name

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

### How was this patch tested?
CI

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

Closes apache#47429 from zhengruifeng/py_fix_hint_202407.

Authored-by: Ruifeng Zheng <ruifengz@apache.org>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
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