{"push_id":2810798849,"size":1,"distinct_size":1,"ref":"refs/heads/DRILL-6492","head":"1b131d0676a752e064ddd716a1521cda1c667139","before":"33cdc2c73fb0553b040b3a87f1349a695946fc2b","commits":[{"sha":"1b131d0676a752e064ddd716a1521cda1c667139","author":{"name":"Arina Ielchiieva","email":"02464c430bde1fd7bdcb98dea4e1e0974f48b380@gmail.com"},"message":"DRILL-6492: Ensure schema / workspace case insensitivity in Drill\n\n1. StoragePluginsRegistryImpl was updated:\na. for backward compatibility at start up to convert all existing storage plugins names to lower case, in case of duplicates, to log warning and skip the duplicate.\nb. to wrap persistent plugins registry into case insensitive store wrapper (CaseInsensitivePersistentStore) to ensure all given keys are converted into lower case when performing insert, update, delete, search operations.\nc. to load system storage plugins dynamically by @SystemStorage annotation.\n2. StoragePlugins class was updated to stored storage plugins configs by name in case insensitive map.\n3. SchemaUtilities.searchSchemaTree method was updated to convert all schema names into lower case to ensure that are they are matched case insensitively (all schemas are stored in Drill in lower case).\n4. FileSystemConfig was updated to store workspaces by name in case insensitive hash map.\n5. All plugins schema factories are now extend AbstractSchemaFactory to ensure that given schema name is converted to lower case.\n6. New method areTableNamesAreCaseInsensitive was added to AbstractSchema to indicate if schema tables names are case insensitive. By default, false. Schema implementation is responsible for table names case insensitive search in case it supports one. Currently, information_schema, sys and hive do so.\n7. System storage plugins (information_schema, sys) were refactored to ensure their schema, table names are case insensitive, also the annotation @SystemPlugin and additional constructor were added to allow dynamically load system plugins at storage plugin registry during init phase.\n8. MetadataProvider was updated to concert all schema filter conditions into lower case to ensure schema would be matched case insensitively.\n9. ShowSchemasHandler, ShowTablesHandler, DescribeTableHandler were updated to ensure schema / tables names (this depends if schema supports case insensitive table names) would be found case insensitively.","distinct":true,"url":"https://api.github.com/repos/arina-ielchiieva/drill/commits/1b131d0676a752e064ddd716a1521cda1c667139"}]}
{"actor":{"display_login":"arina-ielchiieva"}}