The key of String on CaseInsensitiveMap can not handle identifier with quote and different of database dialects.
It is better to create a new class to replace all CaseInsensitiveMap in metadata module.
The tasks are:
- Create
ShardingSphereIdentifier to instead of all String key of CaseInsensitiveMap/HashMap in metadata module;
- Create
DatabaseDialectIdentifierHandler to process different database dialects.
- Use
ShardingSphereIdentifier on ShardingSphereTable/ShardingSphereSchema/ShardingSphereDatabase etc.
- Use
ShardingSphereIdentifier on rules.
- Add more implementations for
DatabaseDialectIdentifierHandler.