Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-16459

[C++] Update GetFileInfo in FromProto to use async filesystem APIs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • C++

    Description

      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.

      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));
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            ArianaVillegas Ariana Villegas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: