Description
Consider you have a bucket as
s3a://some-bucket
and under it you have files:
s3a://some-bucket/file1.parquet s3a://some-bucket/file2.parquet
Getting the parent path of
s3a://some-bucket/file1.parquet
yields
s3a://some-bucket/
and the ListingFileCatalog uses this as the key in the hash map.
When catalog.allFiles is called, we use
s3a://some-bucket
(no slash at the end) to get the list of files, and we're left with an empty list!