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

[Python] Add an option to retain timestamp returned from the BigTable row #30088

Merged
merged 4 commits into from
Jan 24, 2024

Conversation

riteshghorse
Copy link
Contributor

@riteshghorse riteshghorse commented Jan 23, 2024

Add an option to return timestamp associated with the fetched value from the BigTable read_row instead of just the value. This could be useful for users when they want to get a series of historical data stored for that key.

By default, though, only the latest value without timestamp is fetched.

Part of #29787


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Copy link
Contributor

Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers

@riteshghorse
Copy link
Contributor Author

Checks failed because of #30095

@riteshghorse
Copy link
Contributor Author

R: @damccorm

Copy link
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control

@riteshghorse riteshghorse changed the title [Python] Retain timestamp returned from the BigTable row [Python] Add an option to retain timestamp returned from the BigTable row Jan 24, 2024
Copy link
Contributor

@damccorm damccorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this LGTM (once linting is fixed + checks pass)

@riteshghorse
Copy link
Contributor Author

Thanks for the quick review! Once the postcommit finishes, I'll remove the trigger file and fix the lint (one import order)

@damccorm
Copy link
Contributor

SGTM

@damccorm
Copy link
Contributor

SGTM, thanks

@riteshghorse riteshghorse added this to the 2.54.0 Release milestone Jan 24, 2024
@riteshghorse
Copy link
Contributor Author

riteshghorse commented Jan 24, 2024

BigTable tests are passing - https://github.com/apache/beam/actions/runs/7642966098/job/20823850722?pr=30088.

Failure are because of BigQueryIO tests(#30095) -

image

@github-actions github-actions bot removed the build label Jan 24, 2024
@riteshghorse riteshghorse merged commit 674fe77 into apache:master Jan 24, 2024
71 checks passed
@riteshghorse riteshghorse deleted the bigtable-handler branch January 24, 2024 20:28
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