[jira] [Created] (ARROW-16459) [C++] Update GetFileInfo in FromProto to use async filesystem APIs
Ariana Villegas created ARROW-16459: --- Summary: [C++] Update GetFileInfo in FromProto to use async filesystem APIs Key: ARROW-16459 URL: https://issues.apache.org/jira/browse/ARROW-16459 Project: Apache Arrow Issue Type: Improvement Components: C++ Reporter: Ariana Villegas GetGlobFiles function in {{arrrow/engine/substrait/relation_internal.cc}} discovery directories with sync APIs. However, it would be more efficient to use async APIs to avoid blocking calls. {code:c++} for (auto res : results) { if (res.type() != fs::FileType::Directory) continue; selector.base_dir = res.path() + cur; ARROW_ASSIGN_OR_RAISE(auto entries, filesystem->GetFileInfo(selector)); } {code} -- This message was sent by Atlassian Jira (v8.20.7#820007)
[jira] [Created] (ARROW-16424) [C++] Add support for all options specified by substrait::ReadRel::LocalFiles::FileOrFiles
Ariana Villegas created ARROW-16424: --- Summary: [C++] Add support for all options specified by substrait::ReadRel::LocalFiles::FileOrFiles Key: ARROW-16424 URL: https://issues.apache.org/jira/browse/ARROW-16424 Project: Apache Arrow Issue Type: Improvement Components: C++ Reporter: Ariana Villegas FromProto function in {{arrow/engine/substrait/relation_internal.cc}} parse {{uri_path}} with {{string_view}} utilities. However this should be done with {{Uri}} class from {{arrow/util/uri.h.}} {code:c++} else if (util::string_view{path}.ends_with(".arrow")) { format = std::make_shared(); } else if (util::string_view{path}.ends_with(".feather")) { format = std::make_shared(); {code} -- This message was sent by Atlassian Jira (v8.20.7#820007)