419347cc100bae356f0c98a62a39441767223170
Files Diff
- Added: 0
 - Removed: 0
 - Renamed: 0
 - Modified: 5
 
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type partitions : List<HivePartition> to partitions : Iterable<HivePartition> in method public HivePartitionResult(partitionColumns List<HiveColumnHandle>, partitions Iterable<HivePartition>, compactEffectivePredicate TupleDomain<? extends ColumnHandle>, unenforcedConstraint TupleDomain<ColumnHandle>, enforcedConstraint TupleDomain<ColumnHandle>, bucketHandle Optional<HiveBucketHandle>) in class com.facebook.presto.hive.HivePartitionResult | From | To | |
| Rename Variable | 1 | ||
| Rename Variable partitionValues : List<String> to keys : List<String> in method private parseValuesAndFilterPartition(tableName SchemaTableName, partitionId String, partitionColumns List<HiveColumnHandle>, partitionColumnTypes List<Type>, constraint Constraint<ColumnHandle>, buckets List<HiveBucket>) : Optional<HivePartition> in class com.facebook.presto.hive.HivePartitionManager | From | To | |
| Change Return Type | 2 | ||
| Change Return Type Optional<Map<ColumnHandle,NullableValue>> to Optional<HivePartition> in method private parseValuesAndFilterPartition(tableName SchemaTableName, partitionId String, partitionColumns List<HiveColumnHandle>, partitionColumnTypes List<Type>, constraint Constraint<ColumnHandle>, buckets List<HiveBucket>) : Optional<HivePartition> in class com.facebook.presto.hive.HivePartitionManager | From | To | |
| Change Return Type List<HivePartition> to Iterator<HivePartition> in method public getPartitions() : Iterator<HivePartition> in class com.facebook.presto.hive.HivePartitionResult | From | To | |
| Move Attribute | 2 | ||
| Move Attribute private maxPartitions : int from class com.facebook.presto.hive.HivePartitionManager to private maxPartitions : int from class com.facebook.presto.hive.HiveMetadata | From | To | |
| Move Attribute private maxPartitions : int from class com.facebook.presto.hive.HivePartitionManager to private maxPartitions : int from class com.facebook.presto.hive.HiveMetadataFactory | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type partitions : List<HivePartition> to partitions : Iterable<HivePartition> in class com.facebook.presto.hive.HivePartitionResult | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter partitionName : String to partitionId : String in method private parseValuesAndFilterPartition(tableName SchemaTableName, partitionId String, partitionColumns List<HiveColumnHandle>, partitionColumnTypes List<Type>, constraint Constraint<ColumnHandle>, buckets List<HiveBucket>) : Optional<HivePartition> in class com.facebook.presto.hive.HivePartitionManager | From | To | |
| Rename Parameter partitionTypes : List<Type> to partitionColumnTypes : List<Type> in method private parseValuesAndFilterPartition(tableName SchemaTableName, partitionId String, partitionColumns List<HiveColumnHandle>, partitionColumnTypes List<Type>, constraint Constraint<ColumnHandle>, buckets List<HiveBucket>) : Optional<HivePartition> in class com.facebook.presto.hive.HivePartitionManager | From | To |