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

Insert 'USING TTL' and 'TIMESTAMP' into the UPDATE sql #16

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

ashetkar
Copy link

@ashetkar ashetkar commented Jan 10, 2025

(This PR includes the same changes as in #15 but for Connector version 3.1)

  • Insert USING TTL and TIMESTAMP into the UPDATE sql
    • This resets the row-level ttl of the record to the given value
    • The same clause gets suffixed to the INSERT statement generated by the connector but was missing for the UPDATE case.
  • Fixes the issue observed in https://yugabyte.atlassian.net/browse/CE-812
  • Tested with this test application

@ashetkar ashetkar merged commit beb85ef into 3.1-yb Jan 13, 2025
@ashetkar ashetkar deleted the ttl-update3.1 branch January 13, 2025 08:23
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