handle missing date column in list_adls_files

This commit is contained in:
Hong Ooi 2021-02-26 01:18:54 +11:00
Родитель f64b2c7920
Коммит e4d3c407b1
2 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -2,6 +2,7 @@
- Fix blob lease code that has been broken since launch (#77, #78).
- Set the default starting time for a generated SAS to the recommended 15 minutes before the current time, to allow for clock skew.
- Fix `list_adls_files` to allow for a missing last-modified-date column (#82).
# AzureStor 3.4.0

Просмотреть файл

@ -330,6 +330,8 @@ list_adls_files <- function(filesystem, dir="/", info=c("all", "name"),
if(is.null(dfchunk$permissions))
dfchunk$permissions <- ""
else dfchunk$permissions[is.na(dfchunk$permissions)] <- ""
if(is.null(dfchunk$lastModified))
dfchunk$lastModified <- ""
dfchunk <- dfchunk[c("name", "contentLength", "isDirectory", "lastModified", "permissions", "etag")]
if(!is.null(dfchunk$contentLength))