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

[C++] Failed to open local file: Bad file descriptor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: C++
    • Environment:
      Windows version 10.0.10586.1106 (th2_release.170904-1742)

      Description

      I open an output stream to write a parquet file. Here is the code:

      std::shared_ptr<arrow::io::OutputStream> outStream;
      arrow::Status err;
      
      err = arrow::io::FileOutputStream::Open(filePath.toStdString(), false, &outStream);
      if (err.code() != arrow::StatusCode::OK) {
          std::cout << err.message() << std::endl;
      }
      

      Here is the error message I got:

      Failed to open local file: <path_to_parquet_file> , error: Bad file descriptor"
      

      I've got this error only when running on Windows versionĀ 10.0.10586.1106 (th2_release.170904-1742).

      Any idea?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                thamha Tham
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m