Details
Description
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.
Attachments
Issue Links
- duplicates
-
ARROW-14321 [R] segfault converting dictionary ChunkedArray with 0 chunks
- Resolved