You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Weston Pace (Jira)" <ji...@apache.org> on 2021/10/20 22:40:00 UTC

[jira] [Closed] (ARROW-14344) [R][Python] Crash when reading empty .feather file

     [ https://issues.apache.org/jira/browse/ARROW-14344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Weston Pace closed ARROW-14344.
-------------------------------
    Resolution: Duplicate

> [R][Python] Crash when reading empty .feather file
> --------------------------------------------------
>
>                 Key: ARROW-14344
>                 URL: https://issues.apache.org/jira/browse/ARROW-14344
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python, R
>         Environment: Ubuntu Server 20.04.3, arrow (R) 5.0.02, pyarrow 3.0.0 (Python), RStudio 1.4.1717, R 4.1.0
>            Reporter: Reinier van Linschoten
>            Priority: Major
>              Labels: R, arrow, bug, error, pandas, python
>
> I get an R Session Error in RStudio Server when I try to read an empty .feather file.
> Error: The previous R session was abnormally terminated due to an unexpected crash. You may have lost workspace data as a result of this crash. 
> Reproduce:
>  * Create empty pandas dataframe in Python
>  * Write to .feather file with .reset_index(drop=True) and compression="uncompressed"
>  * Try to read data in RStudio with arrow::read_feather(path)
>  * Error
> I can read dataframes with one or more rows in RStudio.
> I can read the empty dataframe with pandas.read_feather(). This returns an empty pandas dataframe.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)