Skip to content

Conversation

@mrkn
Copy link
Member

@mrkn mrkn commented Dec 4, 2019

I guess this should be in #5866

@mrkn mrkn requested a review from pitrou December 4, 2019 04:10
@mrkn mrkn changed the title Add Result-returning version of FileSystemFromUri ARROW-7306: [C++] Add Result-returning version of FileSystemFromUri Dec 4, 2019
@github-actions
Copy link

github-actions bot commented Dec 4, 2019

Copy link
Member

@pitrou pitrou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one nit.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can simply write return FileSystemFromUri(uri, out_path).Value(out_fs);

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, I missed that feature!

Copy link
Member

@pitrou pitrou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1. Thank you @mrkn !

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.

2 participants