Azure / Azure/AzureStor

Writing CSV files With Column Widths Greater Than 255 Characters to Blob Storage

Open
#128 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
68
Forks
27
Avg merge
2d 7h
Merged PRs (30d)
1

Description

Trying to write a .csv file to blob with the `storage_write_csv()` function, when one or more columns had >255 characters causes RStudio to crash.

In digging through the internal code of `storage_write_csv()` I discovered that there are two versions of it -- `storage_write_csv_base()` and `storage_write_csv_readr()`. The first function causes the write to fail and RStudio to crash. However, if the `readr` package in installed and loaded, it will use the second function, which doesn't have an issue with the wide columns.

Might be worth documenting that somewhere. Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.