Skip to content

Arnav Arora BigTablePR #35435

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

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open

Conversation

arnavarora2004
Copy link

@arnavarora2004 arnavarora2004 commented Jun 25, 2025

@damccorm @derrickaw @fozzie15 @ahmedabu98

I added the BigTable Connector for BeamYaml

added a "buffer" class for bigtable yaml where you can simplify the user input and make it more readable than the old logic,

all mutations work correctly but waiting for this issue to be solved

added tests to integration_test.py (I commented out some bugs in integration_test.py from new commits on the main branch, will remove if no more errors)

all logic works, please let me know if anything looks off/funny and if anything can be improved


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.

@@ -420,32 +512,32 @@ def temp_oracle_database():
yield f"jdbc:oracle:thin:system/oracle@localhost:{port}/XEPDB1"


@contextlib.contextmanager
Copy link
Collaborator

Choose a reason for hiding this comment

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

What kind of error are you seeing here? Thanks

Comment on lines 47 to 49
* <p><b>Internal only:</b> This class is actively being worked on, and it will likely change. We
* provide no backwards compatibility guarantees, and it should not be implemented outside the Beam
* repository.
Copy link
Collaborator

Choose a reason for hiding this comment

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

is this needed anymore?

Copy link
Author

Choose a reason for hiding this comment

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

not needed, will remove

…am/sdk/io/gcp/bigtable/BigtableSimpleWriteSchemaTransformProvider.java

Co-authored-by: Derrick Williams <myutat@gmail.com>
arnavarora2004 and others added 2 commits June 25, 2025 17:09
…am/sdk/io/gcp/bigtable/BigtableSimpleWriteSchemaTransformProvider.java

Co-authored-by: Derrick Williams <myutat@gmail.com>
…am/sdk/io/gcp/bigtable/BigtableSimpleWriteSchemaTransformProvider.java

Co-authored-by: Derrick Williams <myutat@gmail.com>
// we created two rows then deleted one, so should end up with the row we didn't touch
assertEquals(1, rows.size());
assertEquals("key-2", rows.get(0).getKey().toStringUtf8());
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we add one more test where it does all the mutation flavors?


_LOGGER = logging.getLogger(__name__)

# Protect against environments where bigtable library is not available.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Have you seen this in your environment?

@derrickaw
Copy link
Collaborator

Seems like many of those precommit checks have valid errors to clean up.

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

arnavarora2004 and others added 7 commits June 26, 2025 09:58
…am/sdk/io/gcp/bigtable/BigtableSimpleWriteSchemaTransformProvider.java

Co-authored-by: Derrick Williams <myutat@gmail.com>
…am/sdk/io/gcp/bigtable/BigtableSimpleWriteSchemaTransformProviderIT.java

Co-authored-by: Derrick Williams <myutat@gmail.com>
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