cloudstorage
cloudstorage copied to clipboard
LocalFS Prefix Query Does Not Match Filename Prefixes
The LocalFS store will not match a filename prefix, it only matches folder prefixes:
if a file like /tests/users-2021-10-12.csv exists in the base of a LocalFS store.
- a query for
/testswill return the file - a query for
/tests/users-will not return the file
This is different behavior from other store types that would return the file in both cases. This can cause issues when using creating an application that can operate with multiple different cloudstorage types.
SFTP (which has operates on a similar file system) has been built to behave the same as other store providers.