Reinier van Linschoten created ARROW-14344:
----------------------------------------------

             Summary: 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
    Affects Versions: 5.0.0
         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


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)

Reply via email to