Skip to content

[BEAM-12569] Expose ReadAllFromTFRecord as public in tfrecordio#15114

Merged
aaltay merged 1 commit intoapache:masterfrom
ajothomas:ExposeReadAllFromTFRecord
Jul 2, 2021
Merged

[BEAM-12569] Expose ReadAllFromTFRecord as public in tfrecordio#15114
aaltay merged 1 commit intoapache:masterfrom
ajothomas:ExposeReadAllFromTFRecord

Conversation

@ajothomas
Copy link
Copy Markdown
Contributor

tfrecordio module provides ReadAllFromTFRecord class but doesn't publicly expose it. Using it causes the following error-

AttributeError: module 'apache_beam.io' has no attribute 'ReadAllFromTFRecord'

ValidatesRunner compliance status (on master branch)

Lang ULR Dataflow Flink Samza Spark Twister2
Go --- Build Status Build Status --- Build Status ---
Java Build Status Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Python --- Build Status
Build Status
Build Status
Build Status
Build Status
--- Build Status ---
XLang Build Status Build Status Build Status --- Build Status ---

Examples testing status on various runners

Lang ULR Dataflow Flink Samza Spark Twister2
Go --- --- --- --- --- --- ---
Java --- Build Status
Build Status
Build Status
--- --- --- --- ---
Python --- --- --- --- --- --- ---
XLang --- --- --- --- --- --- ---

Post-Commit SDK/Transform Integration Tests Status (on master branch)

Go Java Python
Build Status Build Status Build Status
Build Status
Build Status

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website Whitespace Typescript
Non-portable Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status Build Status Build Status
Portable --- Build Status Build Status --- --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests

See CI.md for more information about GitHub Actions CI.

@ajothomas
Copy link
Copy Markdown
Contributor Author

Hey @aaltay and @charlesccychen , please review this.

cc: @xinyuiscool

@aaltay
Copy link
Copy Markdown
Member

aaltay commented Jul 1, 2021

Run Python PreCommit

@codecov
Copy link
Copy Markdown

codecov bot commented Jul 1, 2021

Codecov Report

Merging #15114 (6770621) into master (22ec4e6) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #15114      +/-   ##
==========================================
- Coverage   83.79%   83.78%   -0.02%     
==========================================
  Files         441      441              
  Lines       59530    59559      +29     
==========================================
+ Hits        49886    49901      +15     
- Misses       9644     9658      +14     
Impacted Files Coverage Δ
sdks/python/apache_beam/io/tfrecordio.py 93.39% <100.00%> (ø)
sdks/python/apache_beam/io/kafka.py 74.28% <0.00%> (-4.89%) ⬇️
...ython/apache_beam/examples/kafkataxi/kafka_taxi.py 0.00% <0.00%> (ø)
...ks/python/apache_beam/runners/worker/sdk_worker.py 89.00% <0.00%> (+0.15%) ⬆️
...eam/runners/interactive/interactive_environment.py 90.70% <0.00%> (+0.37%) ⬆️
sdks/python/apache_beam/io/localfilesystem.py 92.24% <0.00%> (+0.77%) ⬆️
sdks/python/apache_beam/io/source_test_utils.py 89.86% <0.00%> (+1.38%) ⬆️
sdks/python/apache_beam/utils/interactive_utils.py 92.68% <0.00%> (+4.87%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 22ec4e6...6770621. Read the comment docs.

@xinyuiscool
Copy link
Copy Markdown
Contributor

Run Python PreCommit

1 similar comment
@xinyuiscool
Copy link
Copy Markdown
Contributor

Run Python PreCommit

@aaltay aaltay merged commit fc254b1 into apache:master Jul 2, 2021
dxichen pushed a commit to linkedin/beam that referenced this pull request Aug 9, 2021
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.

3 participants