[
https://issues.apache.org/jira/browse/BEAM-3342?focusedWorklogId=199472&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-199472
]
ASF GitHub Bot logged work on BEAM-3342:
----------------------------------------
Author: ASF GitHub Bot
Created on: 15/Feb/19 22:16
Start Date: 15/Feb/19 22:16
Worklog Time Spent: 10m
Work Description: chamikaramj commented on pull request #7737:
[BEAM-3342] Create a Cloud Bigtable Python connector Read
URL: https://github.com/apache/beam/pull/7737#discussion_r257064958
##########
File path: sdks/python/apache_beam/examples/cookbook/bigtableio_it_test.py
##########
@@ -188,6 +191,25 @@ def test_bigtable_write(self):
logging.info('Number of Rows: %d', read_counter.committed)
assert read_counter.committed == number
+ def test_bigtable_read(self):
+ pipeline_args = self.test_pipeline.options_list
+ pipeline_options = PipelineOptions(pipeline_args)
+
+ with beam.Pipeline(options=pipeline_options) as pipeline:
+ count = (pipeline
+ | 'Read Direct Rows' >> ReadFromBigTable(self.project,
+ self.instance_id,
Review comment:
I think we need much more test coverage for a sources. Please see test
coverage for current sources. You can use source_test_utils library for
building some of the tests (for example, tests for dynamic work rebalancing).
https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/textio_test.py
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 199472)
Time Spent: 16h 10m (was: 16h)
> Create a Cloud Bigtable Python connector
> ----------------------------------------
>
> Key: BEAM-3342
> URL: https://issues.apache.org/jira/browse/BEAM-3342
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Solomon Duskis
> Assignee: Solomon Duskis
> Priority: Major
> Labels: triaged
> Time Spent: 16h 10m
> Remaining Estimate: 0h
>
> I would like to create a Cloud Bigtable python connector.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)