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

[Data] Remove unnecessary filesystem wrapping #38299

Merged
merged 4 commits into from
Aug 10, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Format files
Signed-off-by: Balaji Veeramani <[email protected]>
  • Loading branch information
bveeramani committed Aug 10, 2023
commit dfdfe0554325519f6e14debc6cb7f1d24b32c2cb
4 changes: 3 additions & 1 deletion python/ray/data/datasource/file_based_datasource.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,9 @@ def write(
)
write_path = os.path.join(path, filename)
logger.get_logger().debug(f"Writing {write_path} file.")
with filesystem.open_output_stream(write_path, **open_stream_args) as f:
with filesystem.open_output_stream(
write_path, **open_stream_args
) as f:
_write_row_to_file(
f,
row,
Expand Down
Loading