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

[BEAM-2640, BEAM-2641] Introduces TextIO/AvroIO.read().withHintMatchesManyFiles() #3639

Closed
wants to merge 3 commits into from

Conversation

jkff
Copy link
Contributor

@jkff jkff commented Jul 25, 2017

Reincarnation of #3598 which got closed by accident

In that case it expands to TextIO.readAll(). Implementing this when the filepattern is a ValueProvider nudged me to also implement BEAM-2640 - Create.ofProvider(ValueProvider).

Links:
https://issues.apache.org/jira/browse/BEAM-2640
https://issues.apache.org/jira/browse/BEAM-2641

R: @reuvenlax CC: @sammcveety

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling a3a4e86 on jkff:textio-readall into ** on apache:master**.

@jkff
Copy link
Contributor Author

jkff commented Jul 26, 2017

Since #3615 was submitted, the current PR should be updated to include AvroIO.read().withHintMatchesManyFiles().

@jkff jkff changed the title [BEAM-2640, BEAM-2641] Introduces TextIO.read().withHintMatchesManyFiles() [BEAM-2640, BEAM-2641] Introduces TextIO/AvroIO.read().withHintMatchesManyFiles() Jul 26, 2017
@jkff
Copy link
Contributor Author

jkff commented Jul 26, 2017

OK, now this also includes AvroIO.read().withHintMatchesManyFiles(), PTAL.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling ff3adf3 on jkff:textio-readall into ** on apache:master**.

jkff added 2 commits July 25, 2017 23:25
I also converted DatastoreV1 to use this overload, and, as an
exercise, added a withQuery(ValueProvider) overload to JdbcIO.
In that case it expands to TextIO.readAll().
@jkff
Copy link
Contributor Author

jkff commented Jul 26, 2017

retest this please

1 similar comment
@jkff
Copy link
Contributor Author

jkff commented Jul 26, 2017

retest this please

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.06%) to 70.339% when pulling b25cacf on jkff:textio-readall into 69a51c9 on apache:master.

@jkff
Copy link
Contributor Author

jkff commented Jul 27, 2017

Alternatively R: @lukecwik

@asfgit asfgit closed this in 68bb7c0 Jul 27, 2017
@jkff jkff deleted the textio-readall branch July 27, 2017 22:24
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.

None yet

3 participants