12c52fd27fbe3270361473e6dc292f5380b11767
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute data : MaterializedResult to CREATE_TABLE_DATA : MaterializedResult in method protected doCreateTable(tableName SchemaTableName, storageFormat HiveStorageFormat) : void in class com.facebook.presto.hive.AbstractTestHiveClient | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable columns : List<ColumnMetadata> to createTableColumns : List<ColumnMetadata> in method protected doCreateEmptyTable(tableName SchemaTableName, storageFormat HiveStorageFormat, createTableColumns List<ColumnMetadata>) : void in class com.facebook.presto.hive.AbstractTestHiveClient | From | To | |
Extract Variable | 2 | ||
Extract Variable layoutHandle : ConnectorTableLayoutHandle in method private getAllSplits(tableHandle ConnectorTableHandle, tupleDomain TupleDomain<ColumnHandle>) : List<ConnectorSplit> from class com.facebook.presto.hive.AbstractTestHiveClient | From | To | |
Extract Variable layoutHandle : ConnectorTableLayoutHandle in method private readTable(tableHandle ConnectorTableHandle, columnHandles List<ColumnHandle>, session ConnectorSession, tupleDomain TupleDomain<ColumnHandle>, expectedSplitCount OptionalInt, expectedStorageFormat Optional<HiveStorageFormat>) : MaterializedResult from class com.facebook.presto.hive.AbstractTestHiveClient | From | To | |
Extract Method | 10 | ||
Extract Method private getAllSplits(tableHandle ConnectorTableHandle, tupleDomain TupleDomain<ColumnHandle>) : List<ConnectorSplit> extracted from public testGetPartialRecords() : void in class com.facebook.presto.hive.AbstractTestHiveClient | From | To | |
Extract Method private readTable(tableHandle ConnectorTableHandle, columnHandles List<ColumnHandle>, session ConnectorSession, tupleDomain TupleDomain<ColumnHandle>, expectedSplitCount OptionalInt, expectedStorageFormat Optional<HiveStorageFormat>) : MaterializedResult extracted from public testBucketedTableBigintBoolean() : void in class com.facebook.presto.hive.AbstractTestHiveClient | From | To | |
Extract Method private getAllSplits(tableHandle ConnectorTableHandle, tupleDomain TupleDomain<ColumnHandle>) : List<ConnectorSplit> extracted from private assertTableIsBucketed(tableHandle ConnectorTableHandle) : void in class com.facebook.presto.hive.AbstractTestHiveClient | From | To | |
Extract Method private readTable(tableHandle ConnectorTableHandle, columnHandles List<ColumnHandle>, session ConnectorSession, tupleDomain TupleDomain<ColumnHandle>, expectedSplitCount OptionalInt, expectedStorageFormat Optional<HiveStorageFormat>) : MaterializedResult extracted from protected doCreateTable(tableName SchemaTableName, storageFormat HiveStorageFormat) : void in class com.facebook.presto.hive.AbstractTestHiveClient | From | To | |
Extract Method private readTable(tableHandle ConnectorTableHandle, columnHandles List<ColumnHandle>, session ConnectorSession, tupleDomain TupleDomain<ColumnHandle>, expectedSplitCount OptionalInt, expectedStorageFormat Optional<HiveStorageFormat>) : MaterializedResult extracted from public testBucketedTableStringInt() : void in class com.facebook.presto.hive.AbstractTestHiveClient | From | To | |
Extract Method private getAllSplits(tableHandle ConnectorTableHandle, tupleDomain TupleDomain<ColumnHandle>) : List<ConnectorSplit> extracted from protected getHiveSplit(tableHandle ConnectorTableHandle) : HiveSplit in class com.facebook.presto.hive.AbstractTestHiveClient | From | To | |
Extract Method private getAllSplits(tableHandle ConnectorTableHandle, tupleDomain TupleDomain<ColumnHandle>) : List<ConnectorSplit> extracted from public testGetRecords() : void in class com.facebook.presto.hive.AbstractTestHiveClient | From | To | |
Extract Method private readTable(tableHandle ConnectorTableHandle, columnHandles List<ColumnHandle>, session ConnectorSession, tupleDomain TupleDomain<ColumnHandle>, expectedSplitCount OptionalInt, expectedStorageFormat Optional<HiveStorageFormat>) : MaterializedResult extracted from protected doCreateEmptyTable(tableName SchemaTableName, storageFormat HiveStorageFormat) : void in class com.facebook.presto.hive.AbstractTestHiveClient | From | To | |
Extract Method private readTable(tableHandle ConnectorTableHandle, columnHandles List<ColumnHandle>, session ConnectorSession, tupleDomain TupleDomain<ColumnHandle>, expectedSplitCount OptionalInt, expectedStorageFormat Optional<HiveStorageFormat>) : MaterializedResult extracted from public testBucketedTableDoubleFloat() : void in class com.facebook.presto.hive.AbstractTestHiveClient | From | To | |
Extract Method private getAllSplits(tableHandle ConnectorTableHandle, tupleDomain TupleDomain<ColumnHandle>) : List<ConnectorSplit> extracted from public testGetRecordsUnpartitioned() : void in class com.facebook.presto.hive.AbstractTestHiveClient | From | To |