Skip to content

Commit

Permalink
Gcsio migration (apache#29360)
Browse files Browse the repository at this point in the history
* Cherry pick two previous commits on migrating gcs client

The two commits are merged into one:
* Reapply "Replace StorageV1 client with GCS client (apache#28079)" (apache#28721)
* added project parameter to apiclient

* Initialze storage client with project from pipeline option.

---------

Co-authored-by: Bjorn Pedersen <[email protected]>
  • Loading branch information
2 people authored and jto committed Nov 17, 2023
1 parent 5e9ea74 commit d0522c4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ public InputStatus pollNext(ReaderOutput<WindowedValue<ValueWithRecordId<T>>> ou
if (reader != null) {
emitRecord(reader, output);
return InputStatus.MORE_AVAILABLE;
} else if (noMoreSplits()) {
LOG.trace("No more splits.");
return InputStatus.END_OF_INPUT;
} else {
LOG.trace("No data available for now.");
return InputStatus.NOTHING_AVAILABLE;
Expand Down

0 comments on commit d0522c4

Please sign in to comment.