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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17430097#comment-17430097 ] 

Neal Richardson commented on ARROW-14344:
-----------------------------------------

Can you provide code that reproduces this, just so we're following the exact same steps?

> [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)