-
Notifications
You must be signed in to change notification settings - Fork 3k
Core: Add length arg to FileIO.newInputFile #5207
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -67,6 +67,6 @@ public PositionOutputStream createOrOverwrite() { | |
|
|
||
| @Override | ||
| public InputFile toInputFile() { | ||
| return new GCSInputFile(storage(), blobId(), gcpProperties(), metrics()); | ||
| return new GCSInputFile(storage(), blobId(), null, gcpProperties(), metrics()); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could we just use
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I just didn't want to change very much here. We probably could. |
||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to GCS, could we just call
S3InputFile.fromLocation(...)to avoid calling the constructor with null?