c9a5af37dc329a336a22b316a5a18c01dc8f5009
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Merge Variable | 1 | ||
Merge Variable [dbName : String, tblName : String] to tablePath : ObjectPath in method private createHiveTableOutputFormat(tablePath ObjectPath, hiveTable Table, rowTypeInfo RowTypeInfo, overwrite boolean) : HiveTableOutputFormat in class org.apache.flink.batch.connectors.hive.HiveTableOutputFormatTest | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable toWrite : List<Row> to expected : List<Row> in method private verifyWrittenData(outputFile Path, expected List<Row>) : void in class org.apache.flink.batch.connectors.hive.HiveTableOutputFormatTest | From | To | |
Extract Method | 4 | ||
Extract Method private createDestTable(dbName String, tblName String) : RowTypeInfo extracted from public testInsertIntoNonPartitionTable() : void in class org.apache.flink.batch.connectors.hive.HiveTableOutputFormatTest | From | To | |
Extract Method private writeRecords(toWrite List<Row>, outputFormat HiveTableOutputFormat) : void extracted from public testInsertIntoNonPartitionTable() : void in class org.apache.flink.batch.connectors.hive.HiveTableOutputFormatTest | From | To | |
Extract Method private createHiveTableOutputFormat(tablePath ObjectPath, hiveTable Table, rowTypeInfo RowTypeInfo, overwrite boolean) : HiveTableOutputFormat extracted from public testInsertIntoNonPartitionTable() : void in class org.apache.flink.batch.connectors.hive.HiveTableOutputFormatTest | From | To | |
Extract Method private verifyWrittenData(outputFile Path, expected List<Row>) : void extracted from public testInsertIntoNonPartitionTable() : void in class org.apache.flink.batch.connectors.hive.HiveTableOutputFormatTest | From | To |