You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/12/20 12:23:48 UTC

[GitHub] [arrow] jgehrcke commented on pull request #15049: GH-14968: [Python] Fix segfault for dataset ORC write

jgehrcke commented on PR #15049:
URL: https://github.com/apache/arrow/pull/15049#issuecomment-1359282222

   The Windows build failed with
   ```
   ================================== FAILURES ===================================
   _________________ test_orc_writer_not_implemented_for_dataset _________________
       def test_orc_writer_not_implemented_for_dataset():
           with pytest.raises(
                   NotImplementedError,
                   match="Writing datasets not yet implemented for this file format"
               ):
   >               ds.write_dataset(
                       pa.table({"a": range(10)}), format='orc', base_dir='/tmp'
                   )
   pyarrow\tests\test_dataset.py:3082: 
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
   pyarrow\dataset.py:946: in write_dataset
       format = _ensure_format(format)
   _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
   obj = 'orc'
       def _ensure_format(obj):
           if isinstance(obj, FileFormat):
               return obj
           elif obj == "parquet":
               if not _parquet_available:
                   raise ValueError(_parquet_msg)
               return ParquetFileFormat()
           elif obj in {"ipc", "arrow"}:
               return IpcFileFormat()
           elif obj == "feather":
               return FeatherFileFormat()
           elif obj == "csv":
               return CsvFileFormat()
           elif obj == "orc":
               if not _orc_available:
   >               raise ValueError(_orc_msg)
   E               ValueError: The pyarrow installation is not built with support for the ORC file format.
   pyarrow\dataset.py:296: ValueError
   ```
   
   Adding a commit.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org