pawelz188 opened a new issue, #38011:
URL: https://github.com/apache/arrow/issues/38011

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   The exception is repeated every time and
   can be triggered by e.g. modifying the example by modification of 
[CreateExampleParquetHivePartitionedDataset()](https://github.com/apache/arrow/blob/532ab464db39da0e6b03e4b046355e7bf499730a/cpp/examples/arrow/dataset_documentation_example.cc#L116C43-L116C43)
 example in `arrow/cpp/examples/arrow/dataset_documentation_example.cc` 
   by setting the recording parameters:
   ```
     write_options.base_dir = base_path;
     write_options.partitioning = partitioning;
     write_options.basename_template = "part{i}.parquet";
   +   write_options.max_open_files = 2;
   +   write_options.max_rows_per_file = 2;
   +   write_options.max_rows_per_group = 2;
     ARROW_RETURN_NOT_OK(ds::FileSystemDataset::Write(write_options, scanner));
     return base_path;
   ```
   Output error message:
   
`vcpkg\buildtrees\arrow\src\e-arrow-13-0a65b46298.clean\cpp\src\arrow\dataset\dataset_writer.cc:587:
  Check failed: (largest) != (nullptr)`
   
   Exception is triggered by DCHECK_NE(largest, nullptr) in CloseLargestFile() 
procedure in dataset_writter.cc.
   
   The exception call indicates a synchronization problem when arrow is closing 
files and a limit on the number of open files is reached.
   
   
   
   ### Component(s)
   
   C++


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to