8bcb103a0e3bcc5f85a03cbed3c6c0cea254ec4e
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 52
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method public test() : void renamed to public testFunctionTemplates() : void in class org.apache.drill.common.scanner.TestClassPathScanner | From | To | |
| Rename Variable | 2 | ||
| Rename Variable table : SqlIdentifier to columnQualifier : SqlNode in method public rewrite(sqlNode SqlNode) : SqlNode in class org.apache.drill.exec.planner.sql.handlers.DescribeTableHandler | From | To | |
| Rename Variable schema : SchemaPlus to schemaPlus : SchemaPlus in method public rewrite(sqlNode SqlNode) : SqlNode in class org.apache.drill.exec.planner.sql.handlers.ShowTablesHandler | From | To | |
| Push Down Attribute | 2 | ||
| Push Down Attribute public logger : org.slf4j.Logger from class org.apache.drill.exec.store.SchemaFactory to private logger : org.slf4j.Logger from class org.apache.drill.exec.store.dfs.FileSystemPlugin | From | To | |
| Push Down Attribute public logger : org.slf4j.Logger from class org.apache.drill.exec.store.SchemaFactory to private logger : Logger from class org.apache.drill.exec.store.openTSDB.schema.OpenTSDBSchemaFactory | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass org.apache.drill.exec.store.AbstractSchemaFactory from classes [org.apache.drill.exec.store.hbase.HBaseSchemaFactory, org.apache.drill.exec.store.hive.schema.HiveSchemaFactory, org.apache.drill.exec.store.kafka.schema.KafkaSchemaFactory, org.apache.drill.exec.store.kudu.KuduSchemaFactory, org.apache.drill.exec.store.mongo.schema.MongoSchemaFactory, org.apache.drill.exec.store.openTSDB.schema.OpenTSDBSchemaFactory, org.apache.drill.exec.store.StoragePluginRegistryImpl.DrillSchemaFactory, org.apache.drill.exec.store.dfs.FileSystemSchemaFactory] | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute MINIDFS_STORAGE_PLUGIN_NAME : String to MINI_DFS_STORAGE_PLUGIN_NAME : String in class org.apache.drill.exec.impersonation.BaseTestImpersonation | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type table : SqlIdentifier to columnQualifier : SqlNode in method public rewrite(sqlNode SqlNode) : SqlNode in class org.apache.drill.exec.planner.sql.handlers.DescribeTableHandler | From | To | |
| Extract Variable | 4 | ||
| Extract Variable column : SqlNode in method public rewrite(sqlNode SqlNode) : SqlNode from class org.apache.drill.exec.planner.sql.handlers.DescribeTableHandler | From | To | |
| Extract Variable column : SqlNode in method public rewrite(sqlNode SqlNode) : SqlNode from class org.apache.drill.exec.planner.sql.handlers.ShowSchemasHandler | From | To | |
| Extract Variable column : SqlNode in method public rewrite(sqlNode SqlNode) : SqlNode from class org.apache.drill.exec.planner.sql.handlers.ShowTablesHandler | From | To | |
| Extract Variable drillSchema : AbstractSchema in method public rewrite(sqlNode SqlNode) : SqlNode from class org.apache.drill.exec.planner.sql.handlers.DescribeTableHandler | From | To | |
| Extract Method | 1 | ||
| Extract Method private initPluginsSystemTable(context DrillbitContext, lpPersistence LogicalPlanPersistence) : PersistentStore<StoragePluginConfig> extracted from public StoragePluginRegistryImpl(context DrillbitContext) in class org.apache.drill.exec.store.StoragePluginRegistryImpl | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type nameMap : ConcurrentMap<String,StoragePlugin> to nameMap : Map<String,StoragePlugin> in class org.apache.drill.exec.store.StoragePluginMap | From | To | |
| Inline Variable | 2 | ||
| Inline Variable charset : String in method public rewrite(sqlNode SqlNode) : SqlNode from class org.apache.drill.exec.planner.sql.handlers.ShowTablesHandler | From | To | |
| Inline Variable db : SqlIdentifier in method public rewrite(sqlNode SqlNode) : SqlNode from class org.apache.drill.exec.planner.sql.handlers.ShowTablesHandler | From | To |