- Issue created by @gawalin
- 🇮🇳India gawalin
I've generated a patch to address this issue. Could someone please test it and confirm it's right approach to resolve this.
- Status changed to Closed: works as designed
over 1 year ago 5:07pm 27 November 2023 - 🇺🇸United States cmlara
The utf8mb4_general_ci is case insensitive which does not work for as S3 storage is a case sensitive. The entries s3://test.txt and s3://Test.txt may both exist on S3 and we need to be able to store them without primary key conflict.
This is our reason for using utf8_bin in 8.x-3.x. In 4.x we (IIRC) use utf8mb4_bin which does not exist on all the versions of MySQL/MariaDB that we need to support with 8.x-3.x.
While it is traditionally encouraged to maintain the same collation in a database the reasons for doing so (multi-table queries) generally do not apply to the s3fs_table as it is only queried independently (never as part of a join).
This can likely be considered a false-positive on part of your scanning software which does not know our design reason for the collation choice.
Closing as WAD per above.