964a947315c31571954c1f4f56ac3336ac7bbcda
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move Method | 3 | ||
| Move Method private replaceWorkingPathInString(orig String) : String from class org.apache.drill.exec.physical.impl.writer.TestCorruptParquetDateCorrection to private replaceWorkingPathInString(orig String) : String from class org.apache.drill.BaseTestQuery | From | To | |
| Move Method private copyDirectoryIntoTempSpace(resourcesDir String) : void from class org.apache.drill.exec.physical.impl.writer.TestCorruptParquetDateCorrection to protected copyDirectoryIntoTempSpace(resourcesDir String) : void from class org.apache.drill.BaseTestQuery | From | To | |
| Move Method private copyMetaDataCacheToTempReplacingInternalPaths(srcFileOnClassPath String, destFolderInTmp String) : void from class org.apache.drill.exec.physical.impl.writer.TestCorruptParquetDateCorrection to protected copyMetaDataCacheToTempReplacingInternalPaths(srcFileOnClassPath String, destFolderInTmp String, metaFileName String) : void from class org.apache.drill.BaseTestQuery | From | To | |
| Rename Variable | 1 | ||
| Rename Variable oldname : String to oldName : String in method private createMetaFilesRecursively(path String) : Pair<ParquetTableMetadata_v3,ParquetTableMetadataDirs> in class org.apache.drill.exec.store.parquet.Metadata | From | To | |
| Move Attribute | 1 | ||
| Move Attribute private fs : FileSystem from class org.apache.drill.exec.physical.impl.writer.TestCorruptParquetDateCorrection to private fs : FileSystem from class org.apache.drill.BaseTestQuery | From | To | |
| Extract Variable | 2 | ||
| Extract Variable cacheFileRoot : Path in method private initFromMetadataCache(selection FileSelection, metaFilePath Path) : FileSelection from class org.apache.drill.exec.store.parquet.ParquetGroupScan | From | To | |
| Extract Variable parentDirString : String in method private readBlockMeta(path String, dirsOnly boolean, metaContext MetadataContext) : void from class org.apache.drill.exec.store.parquet.Metadata | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method public updateRelativePaths(baseDir String) : void extracted from private readBlockMeta(path String, dirsOnly boolean, metaContext MetadataContext) : void in class org.apache.drill.exec.store.parquet.Metadata & moved to class org.apache.drill.exec.store.parquet.Metadata.ParquetTableMetadataDirs | From | To |