dec7153ca46acefab0e31f8c6c0bec2e3b862670
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public setMaxSortFilesPerBucket(maxSortFilesPerBucket int) : HiveClientConfig renamed to public setMaxOpenSortFiles(maxOpenSortFiles int) : HiveClientConfig in class com.facebook.presto.hive.HiveClientConfig | From | To | |
Rename Method public getMaxSortFilesPerBucket() : int renamed to public getMaxOpenSortFiles() : int in class com.facebook.presto.hive.HiveClientConfig | From | To | |
Rename Attribute | 3 | ||
Rename Attribute maxTempFiles : int to maxOpenTempFiles : int in class com.facebook.presto.hive.SortingFileWriter | From | To | |
Rename Attribute maxSortFilesPerBucket : int to maxOpenSortFiles : int in class com.facebook.presto.hive.HiveClientConfig | From | To | |
Rename Attribute maxSortFilesPerBucket : int to maxOpenSortFiles : int in class com.facebook.presto.hive.HiveWriterFactory | From | To | |
Change Variable Type | 1 | ||
Change Variable Type file : Path to file : TempFile in method public rollback() : void in class com.facebook.presto.hive.SortingFileWriter | From | To | |
Extract Method | 2 | ||
Extract Method private cleanupFile(file Path) : void extracted from public rollback() : void in class com.facebook.presto.hive.SortingFileWriter | From | To | |
Extract Method private mergeFiles(files Iterable<TempFile>, consumer Consumer<Page>) : void extracted from private writeSorted() : void in class com.facebook.presto.hive.SortingFileWriter | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type tempFiles : List<Path> to tempFiles : NavigableSet<TempFile> in class com.facebook.presto.hive.SortingFileWriter | From | To | |
Split Attribute | 1 | ||
Split Attribute maxSortFilesPerBucket : int to [writerSortBufferSize : DataSize, maxOpenSortFiles : int] in class com.facebook.presto.hive.HivePageSinkProvider | From | To | |
Rename Parameter | 3 | ||
Rename Parameter maxSortFilesPerBucket : int to maxOpenSortFiles : int in method public HiveWriterFactory(fileWriterFactories Set<HiveFileWriterFactory>, schemaName String, tableName String, isCreateTable boolean, inputColumns List<HiveColumnHandle>, tableStorageFormat HiveStorageFormat, partitionStorageFormat HiveStorageFormat, bucketCount OptionalInt, sortedBy List<SortingColumn>, locationHandle LocationHandle, locationService LocationService, filePrefix String, pageSinkMetadataProvider HivePageSinkMetadataProvider, typeManager TypeManager, hdfsEnvironment HdfsEnvironment, pageSorter PageSorter, sortBufferSize DataSize, maxOpenSortFiles int, immutablePartitions boolean, session ConnectorSession, nodeManager NodeManager, eventClient EventClient, hiveSessionProperties HiveSessionProperties, hiveWriterStats HiveWriterStats) in class com.facebook.presto.hive.HiveWriterFactory | From | To | |
Rename Parameter maxTempFiles : int to maxOpenTempFiles : int in method public SortingFileWriter(fileSystem FileSystem, tempFilePrefix Path, outputWriter HiveFileWriter, maxMemory DataSize, maxOpenTempFiles int, types List<Type>, sortFields List<Integer>, sortOrders List<SortOrder>, pageSorter PageSorter) in class com.facebook.presto.hive.SortingFileWriter | From | To | |
Rename Parameter maxSortFilesPerBucket : int to maxOpenSortFiles : int in method public setMaxOpenSortFiles(maxOpenSortFiles int) : HiveClientConfig in class com.facebook.presto.hive.HiveClientConfig | From | To |