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

[SPARK-47324][SQL] Add missing timestamp conversion for JDBC nested types #45435

Closed
wants to merge 1 commit into from

Conversation

yaooqinn
Copy link
Member

@yaooqinn yaooqinn commented Mar 8, 2024

What changes were proposed in this pull request?

SPARK-44280 added a new API convertJavaTimestampToTimestamp which is called only for plain timestamps.

This PR makes it work for timestamps in arrays

Why are the changes needed?

data consistency/correctness

Does this PR introduce any user-facing change?

no

How was this patch tested?

new tests

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

no

@github-actions github-actions bot added the SQL label Mar 8, 2024
@HyukjinKwon
Copy link
Member

Merged to master.

@yaooqinn yaooqinn deleted the SPARK-47324 branch March 11, 2024 03:56
sweisdb pushed a commit to sweisdb/spark that referenced this pull request Apr 1, 2024
…ypes

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

[SPARK-44280](https://issues.apache.org/jira/browse/SPARK-44280) added a new API convertJavaTimestampToTimestamp which is called only for plain timestamps.

This PR makes it work for timestamps in arrays

### Why are the changes needed?

data consistency/correctness

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

### How was this patch tested?

new tests

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

no

Closes apache#45435 from yaooqinn/SPARK-47324.

Authored-by: Kent Yao <yao@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
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants