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

fix: remove time/date component when casting timestamp to date/time #7724

Merged
merged 2 commits into from
Jun 26, 2021

Conversation

jzaralim
Copy link
Contributor

Description

There was a bug where casting TIMESTAMP to DATE/TIME did not remove the TIME/DATE from the actual timestamp value stored in java.sql.Date/java.sql.Time.

Testing done

QTT and unit tests. When #7718 is merged I can add QTT tests for DATE.

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

@jzaralim jzaralim requested a review from spena June 24, 2021 00:58
@jzaralim jzaralim requested a review from a team as a code owner June 24, 2021 00:58
@jzaralim jzaralim merged commit 87cd3c7 into confluentinc:master Jun 26, 2021
@jzaralim jzaralim deleted the cast-fix branch June 26, 2021 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants