cloudstorage icon indicating copy to clipboard operation
cloudstorage copied to clipboard

LocalFS Prefix Query Does Not Match Filename Prefixes

Open RobertPearson opened this issue 4 years ago • 0 comments

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 /tests will 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.

RobertPearson avatar Oct 11 '21 18:10 RobertPearson