https://lakefs.io/ logo
#help
Title
# help
r

Robin Moffatt

07/12/2023, 7:45 AM
Any idea why I've got a null object appearing here?
it only appears after deleting the
.R
file.
o

Oz Katz

07/12/2023, 7:47 AM
Could this be a directory marker? some tools would write a file that technically has an empty "base name" i.e.
PutObject <lakefs://using-r-with-lakefs/dev2/nyc/>
that has no content, to mark a directory..
r

Robin Moffatt

07/12/2023, 7:53 AM
poking around the code I saw this comment
Parent may be implicitly deleted if it became empty, recreate it
However, it won't be empty because there's the
.parquet
file that I've added at the same time
a

Ariel Shaqed (Scolnicov)

07/12/2023, 8:10 AM
I agree with @Oz Katz: directory markers on S3 are a mess. They may well be behind this as well, empty directory or not. I think you might be running into this issue.
r

Robin Moffatt

07/12/2023, 2:23 PM
Thanks both. Tested this and confirmed that it's the
DeleteFile
that's creating the empty file. I've added a note to the issue that @Ariel Shaqed (Scolnicov) found.
heart lakefs 1
4 Views