dbf4b15eda14f55462ff0872266bf61c13bdb1bc
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 5 | ||
Change Parameter Type newFiles : List<String> to newPartitionLocations : List<PartitionLocation> in method private createNewGroupScan(newPartitionLocations List<PartitionLocation>) : GroupScan in class org.apache.drill.exec.planner.sql.HivePartitionDescriptor | From | To | |
Change Parameter Type newPartitions : List<String> to newPartitions : List<PartitionLocation> in method public createTableScan(newPartitions List<PartitionLocation>) : TableScan in class org.apache.drill.exec.planner.sql.HivePartitionDescriptor | From | To | |
Change Parameter Type newFiles : List<String> to newPartitionLocation : List<PartitionLocation> in method public createTableScan(newPartitionLocation List<PartitionLocation>) : TableScan in class org.apache.drill.exec.planner.FileSystemPartitionDescriptor | From | To | |
Change Parameter Type newPartitions : List<String> to newPartitions : List<PartitionLocation> in method public createTableScan(newPartitions List<PartitionLocation>) : TableScan in class org.apache.drill.exec.planner.PartitionDescriptor | From | To | |
Change Parameter Type newFiles : List<String> to newPartitionLocation : List<PartitionLocation> in method public createTableScan(newPartitionLocation List<PartitionLocation>) : TableScan in class org.apache.drill.exec.planner.ParquetPartitionDescriptor | From | To | |
Rename Variable | 1 | ||
Rename Variable newFiles : List<String> to newPartitions : List<PartitionLocation> in method protected doOnMatch(call RelOptRuleCall, filterRel Filter, projectRel Project, scanRel TableScan) : void in class org.apache.drill.exec.planner.logical.partition.PruneScanRule | From | To | |
Rename Class | 1 | ||
Rename Class org.apache.drill.exec.planner.DFSPartitionLocation renamed to org.apache.drill.exec.planner.DFSFilePartitionLocation | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.apache.drill.exec.planner.SimplePartitionLocation from classes [org.apache.drill.exec.planner.sql.HivePartitionLocation, org.apache.drill.exec.planner.DFSFilePartitionLocation, org.apache.drill.exec.planner.ParquetPartitionLocation] | From | To | |
Change Variable Type | 3 | ||
Change Variable Type firstLocation : String to firstLocation : PartitionLocation in method protected doOnMatch(call RelOptRuleCall, filterRel Filter, projectRel Project, scanRel TableScan) : void in class org.apache.drill.exec.planner.logical.partition.PruneScanRule | From | To | |
Change Variable Type newPartitionLocation : String to newPartitionLocation : PartitionLocation in method private createNewGroupScan(newPartitionLocations List<PartitionLocation>) : GroupScan in class org.apache.drill.exec.planner.sql.HivePartitionDescriptor | From | To | |
Change Variable Type newFiles : List<String> to newPartitions : List<PartitionLocation> in method protected doOnMatch(call RelOptRuleCall, filterRel Filter, projectRel Project, scanRel TableScan) : void in class org.apache.drill.exec.planner.logical.partition.PruneScanRule | From | To | |
Extract Method | 1 | ||
Extract Method protected getFileLocations() : Collection<String> extracted from protected createPartitionSublists() : void in class org.apache.drill.exec.planner.FileSystemPartitionDescriptor | From | To | |
Rename Parameter | 3 | ||
Rename Parameter newFiles : List<String> to newPartitionLocations : List<PartitionLocation> in method private createNewGroupScan(newPartitionLocations List<PartitionLocation>) : GroupScan in class org.apache.drill.exec.planner.sql.HivePartitionDescriptor | From | To | |
Rename Parameter newFiles : List<String> to newPartitionLocation : List<PartitionLocation> in method public createTableScan(newPartitionLocation List<PartitionLocation>) : TableScan in class org.apache.drill.exec.planner.FileSystemPartitionDescriptor | From | To | |
Rename Parameter newFiles : List<String> to newPartitionLocation : List<PartitionLocation> in method public createTableScan(newPartitionLocation List<PartitionLocation>) : TableScan in class org.apache.drill.exec.planner.ParquetPartitionDescriptor | From | To |