b92f5996eeb9bc41c23c0faddb65b248c7cc8c4f
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 16
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 4 | ||
Change Parameter Type storagePlugin : FileSystemPlugin to storagePlugin : AbstractStoragePlugin in method public JsonTableGroupScan(userName String, storagePlugin AbstractStoragePlugin, formatPlugin MapRDBFormatPlugin, scanSpec JsonScanSpec, columns List<SchemaPath>) in class org.apache.drill.exec.store.mapr.db.json.JsonTableGroupScan | From | To | |
Change Parameter Type storagePlugin : FileSystemPlugin to storagePlugin : AbstractStoragePlugin in method public MapRDBGroupScan(storagePlugin AbstractStoragePlugin, formatPlugin MapRDBFormatPlugin, columns List<SchemaPath>, userName String) in class org.apache.drill.exec.store.mapr.db.MapRDBGroupScan | From | To | |
Change Parameter Type storagePlugin : FileSystemPlugin to storagePlugin : AbstractStoragePlugin in method public BinaryTableGroupScan(userName String, storagePlugin AbstractStoragePlugin, formatPlugin MapRDBFormatPlugin, scanSpec HBaseScanSpec, columns List<SchemaPath>, tableStats MapRDBTableStats) in class org.apache.drill.exec.store.mapr.db.binary.BinaryTableGroupScan | From | To | |
Change Parameter Type storagePlugin : FileSystemPlugin to storagePlugin : AbstractStoragePlugin in method public BinaryTableGroupScan(userName String, storagePlugin AbstractStoragePlugin, formatPlugin MapRDBFormatPlugin, scanSpec HBaseScanSpec, columns List<SchemaPath>) in class org.apache.drill.exec.store.mapr.db.binary.BinaryTableGroupScan | From | To | |
Move Method | 2 | ||
Move Method private containsUnsupportedDataTypes(hiveTable Table) : boolean from class org.apache.drill.exec.planner.sql.logical.ConvertHiveParquetScanToDrillParquetScan to public containsUnsupportedDataTypes(hiveTable Table) : boolean from class org.apache.drill.exec.store.hive.HiveUtilities | From | To | |
Move Method private getInputFormatFromSD(properties Properties, hiveReadEntry HiveReadEntry, sd StorageDescriptor, hiveConf HiveConf) : Class<? extends InputFormat<?,?>> from class org.apache.drill.exec.planner.sql.logical.ConvertHiveParquetScanToDrillParquetScan to private getInputFormatFromSD(properties Properties, hiveReadEntry HiveReadEntry, sd StorageDescriptor, hiveConf HiveConf) : Class<? extends InputFormat<?,?>> from class org.apache.drill.exec.store.hive.HiveUtilities | From | To | |
Change Return Type | 2 | ||
Change Return Type FileSystemPlugin to AbstractStoragePlugin in method public getStoragePlugin() : AbstractStoragePlugin in class org.apache.drill.exec.store.mapr.db.MapRDBGroupScan | From | To | |
Change Return Type FileSystemPlugin to AbstractStoragePlugin in method public getStoragePlugin() : AbstractStoragePlugin in class org.apache.drill.exec.store.mapr.TableFormatPlugin | From | To | |
Extract Variable | 1 | ||
Extract Variable mapRDBFormatPlugin : MapRDBFormatPlugin in method public isReadable(fs DrillFileSystem, selection FileSelection, fsPlugin FileSystemPlugin, storageEngineName String, schemaConfig SchemaConfig) : DrillTable from class org.apache.drill.exec.store.mapr.db.MapRDBFormatMatcher | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type storagePlugin : FileSystemPlugin to storagePlugin : AbstractStoragePlugin in class org.apache.drill.exec.store.mapr.db.MapRDBGroupScan | From | To | |
Change Attribute Type storageConfig : FileSystemConfig to storageConfig : StoragePluginConfig in class org.apache.drill.exec.store.mapr.TableFormatPlugin | From | To | |
Change Attribute Type storagePlugin : FileSystemPlugin to storagePlugin : AbstractStoragePlugin in class org.apache.drill.exec.store.mapr.TableFormatPlugin | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public nativeReadersRuleMatches(call RelOptRuleCall, tableInputFormatClass Class) : boolean extracted from public matches(call RelOptRuleCall) : boolean in class org.apache.drill.exec.planner.sql.logical.ConvertHiveParquetScanToDrillParquetScan & moved to class org.apache.drill.exec.store.hive.HiveUtilities | From | To |